Skip to content

Commit

Permalink
Wrap list in div element
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed May 18, 2024
1 parent 7e1d8da commit e04a01f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/backlinks.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- $debug := false }}
{{- $backlinks := site.Home.Store.Get "backlinks" | uniq }}
{{- with (where $backlinks "target" .RelPermalink) }}
<nav class="backlinks">
<div class="backlinks">
<div class="backlinks-title">
{{ or (T "backlinks_title") "Pages that link to this page:" }}
</div>
Expand All @@ -10,7 +10,7 @@
<li><a href="{{ .source.relPermalink }}">{{ .source.linkTitle }}</a></li>
{{- end }}
</ul>
</nav>
</div>
{{- end }}
{{- if $debug }}
<pre>{{ jsonify (dict "indent" " ") $backlinks }}</pre>
Expand Down

0 comments on commit e04a01f

Please sign in to comment.