From b4f0724311c7686889d06309755499e2816d22c3 Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Tue, 25 Apr 2023 11:10:32 +0200 Subject: [PATCH] fixed body id --- layouts/partials/papers/body.html | 2 +- layouts/partials/papers/toc.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/papers/body.html b/layouts/partials/papers/body.html index f001cc8c..b1147c6d 100644 --- a/layouts/partials/papers/body.html +++ b/layouts/partials/papers/body.html @@ -1,5 +1,5 @@ {{ if (partial "GetTextFromHTML" .Content) }} - <section id="content" class="paper-body"> + <section id="full-text" class="paper-body"> <h2>{{ i18n "volumes.full_text" }}</h2> <div class="articleBody"> {{ partial "PrepareHTML" .Content }} diff --git a/layouts/partials/papers/toc.html b/layouts/partials/papers/toc.html index 6a0206ec..ccb05f40 100644 --- a/layouts/partials/papers/toc.html +++ b/layouts/partials/papers/toc.html @@ -12,7 +12,7 @@ <li><a href="#authors">{{ i18n "papers.toc.researchers" }}</a></li> {{- end -}} {{- if $content -}} - <li><a href="#content">{{ i18n "papers.toc.content" }}</a></li> + <li><a href="#full-text">{{ i18n "papers.toc.content" }}</a></li> {{- end -}} {{- if $references -}} <li><a href="#references">{{ i18n "papers.toc.references" }}</a></li> -- GitLab