diff --git a/layouts/partials/papers/abstract.html b/layouts/partials/papers/abstract.html index c0a1b2847f283758cf4d076bfb12a55902a081ba..a4b7bb1392fe06689b18f6d18c2fd43b43dd88be 100644 --- a/layouts/partials/papers/abstract.html +++ b/layouts/partials/papers/abstract.html @@ -3,11 +3,13 @@ <h2>{{ i18n "papers.abstract" }}</h2> <p itemprop="abstract">{{ partial "PrepareHTML" . }}</p> {{ end }} - <h2>{{ i18n "papers.download" }}</h2> - <div role="group"> - {{ partial "papers/actions.html" (dict - "paper" . - "only_file" true - ) }} - </div> + {{ if .Params.Pdf }} + <h2>{{ i18n "papers.download" }}</h2> + <div role="group"> + {{ partial "papers/actions.html" (dict + "paper" . + "only_file" true + ) }} + </div> + {{ end }} </section>