From ae319efe74ac79adbab5447cdfe4f9a32b5ce22d Mon Sep 17 00:00:00 2001 From: Rahat Zaman Date: Mon, 29 Jun 2020 22:58:16 +0600 Subject: [PATCH] Fixed cite.bib not found A problem was that, even there is cite.bib, it tells that there is no cite.bib. The reason was, the reference was to /en/en/... So I fixed it. --- layouts/partials/publication/pub-links.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/publication/pub-links.html b/layouts/partials/publication/pub-links.html index 8435fec..f6bdd55 100644 --- a/layouts/partials/publication/pub-links.html +++ b/layouts/partials/publication/pub-links.html @@ -19,7 +19,7 @@ {{ partial "svgs/etc/close.svg" (dict "width" 25 "height" 25) }}
- {{ $filePath := (print .Permalink "cite.bib" | relLangURL) }} + {{ $filePath := print "/content" (print .Permalink "cite.bib" | relURL) }} {{ if fileExists $filePath }}