Skip to content
Snippets Groups Projects
Commit a61744a8 authored by Olivia206's avatar Olivia206
Browse files

added blocks to posts toc

parent b4f07243
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
{{ $references := .context.Params.References }}
{{ $researchers := .context.Params.researchers }}
{{ $abstract := .context.Params.Abstract }}
{{ $blocks := .context.Params.blocks}}
<nav class="toc" id="nav-toc" aria-label="{{ i18n "commons.toc" }}">
<ol>
......@@ -17,6 +18,9 @@
{{- if $references -}}
<li><a href="#references">{{ i18n "papers.toc.references" }}</a></li>
{{- end -}}
{{- if $blocks -}}
{{- partial "blocks/toc.html" $blocks -}}
{{- end -}}
</ol>
</nav>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment