From 7624fe7007c75a4074b7a257a44cb58f44e03752 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 15 Oct 2023 22:18:48 +0200 Subject: Publication with resource button metadata --- layouts/partials/metadata.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'layouts/partials/metadata.html') 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 @@ {{ . }} {{ end }} {{ end }} + + +
+ {{ 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 }} + + {{ $key }} + + {{ end }} + {{ end }} +

-- cgit v1.2.3