Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahat Zaman <rahatzamancse@gmail.com>2020-06-29 19:58:16 +0300
committerRahat Zaman <rahatzamancse@gmail.com>2020-06-29 19:58:16 +0300
commitae319efe74ac79adbab5447cdfe4f9a32b5ce22d (patch)
tree2e0826b694c2ba8ffd357038ca69c1261151881d /layouts
parent2175f012974f8ade6afe47cc2d641bb742937b28 (diff)
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.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/publication/pub-links.html2
1 files changed, 1 insertions, 1 deletions
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) }}
</div>
<main class="modal__cite">
- {{ $filePath := (print .Permalink "cite.bib" | relLangURL) }}
+ {{ $filePath := print "/content" (print .Permalink "cite.bib" | relURL) }}
{{ if fileExists $filePath }}
<div class="modal__cite--exist" id="citeContents">
{{ readFile $filePath | markdownify }}