Revision 1498deb73b762d977ea547ee3bf6d28141e16abf authored by Christoph Lehmann on 19 October 2021, 10:11:14 UTC, committed by Christoph Lehmann on 19 October 2021, 10:11:14 UTC
Fix linking nlohmann_json See merge request ogs/ogs!3851
footer-nav.html
{{ if .PrevInSection | or .NextInSection }}
{{ $segments := split .RelPermalink "/" }}
{{ $subsection := index $segments 2 }}
<div class="flex text-sm mb-4">
<div class="w-1/2">
{{ if .NextInSection }}
{{ $nextSubsection := index (split .NextInSection.RelPermalink "/") 2 }}
{{ if eq $nextSubsection $subsection }}
<a href="{{ .NextInSection.Permalink }}" title="{{ .NextInSection.Permalink }}">
<div class="mb-1"><i class="far fa-arrow-left"></i> Previous</div>
<div class="italic">
{{ .NextInSection.Title }}
</div>
</a>
{{ end }}
{{ end }}
</div>
<div class="w-1/2 text-right">
{{ if .PrevInSection }}
{{ $prevSubsection := index (split .PrevInSection.RelPermalink "/") 2 }}
{{ if eq $prevSubsection $subsection }}
<div class="tr">
<a href="{{ .PrevInSection.Permalink }}" title="{{ .PrevInSection.Permalink }}">
<div class="mb-1">Next <i class="far fa-arrow-right"></i></div>
<div class="italic">
{{ .PrevInSection.Title }}
</div>
</a>
</div>
{{ end }}
{{ end }}
</div>
</div>
{{ end }}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...