aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/metadata.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r--layouts/partials/metadata.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index 211e9d4..5ad92e3 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -38,4 +38,26 @@
<a class="link underline near-black" href="{{ $href }}">{{ . }}</a>
{{ end }}
{{ end }}
+
+
+ <br />
+ {{ range $key, $val := (dict "DOI" .Params.doi
+ "PDF" .Params.url_pdf
+ "Slides" .Params.url_slides
+ "Video" .Params.url_video
+ "Code" .Params.url_code
+ )
+ }}
+ {{ with $val }}
+ <a
+ class="f6 link br3 ba ma2 ph2 pv1 dib near-white bg-green"
+ href="{{ . }}"
+ target="_blank"
+ rel="noopener"
+ >
+ {{ $key }}
+ </a>
+ {{ end }}
+ {{ end }}
+
</p>