Skip to content
Snippets Groups Projects
Commit a71c8983 authored by alexisben's avatar alexisben
Browse files

clean

parent 622dd5c3
No related branches found
No related tags found
No related merge requests found
......@@ -9,32 +9,28 @@
<div class="block-content">
<nav class="siblings-navigation" aria-label="{{ i18n "commons.pagination.between.posts" }}">
<ul>
{{- if .PrevInSection -}}
{{ with .PrevInSection }}
<li class="previous">
{{ $title := partial "PrepareHTML" .Title -}}
<a href="{{.RelPermalink}}" title="{{ safeHTML (i18n "posts.previous_aria" (dict "Title" $title)) }}">
<span>
{{- $previous_label -}}
</span>
{{- $title -}}
</a>
</li>
{{end}}
{{- end -}}
{{- if .NextInSection -}}
{{with .NextInSection }}
<li class="next">
{{ $title := partial "PrepareHTML" .Title -}}
<a href="{{.RelPermalink}}" title="{{ safeHTML (i18n "posts.next_aria" (dict "Title" $title)) }}">
<span>
{{- $next_label -}}
</span>
{{- $title -}}
</a>
</li>
{{end}}
{{- end -}}
{{ with .PrevInSection }}
<li class="previous">
{{ $title := partial "PrepareHTML" .Title -}}
<a href="{{.RelPermalink}}" title="{{ safeHTML (i18n "posts.previous_aria" (dict "Title" $title)) }}">
<span>
{{- $previous_label -}}
</span>
{{- $title -}}
</a>
</li>
{{ end }}
{{ with .NextInSection }}
<li class="next">
{{ $title := partial "PrepareHTML" .Title -}}
<a href="{{.RelPermalink}}" title="{{ safeHTML (i18n "posts.next_aria" (dict "Title" $title)) }}">
<span>
{{- $next_label -}}
</span>
{{- $title -}}
</a>
</li>
{{ end }}
</ul>
</nav>
</div>
......
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