Skip to content

Commit

Permalink
Try adding a default Home link
Browse files Browse the repository at this point in the history
  • Loading branch information
davepinch committed Dec 3, 2024
1 parent fdbd962 commit d0937b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/_default/cc-footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<footer class="cc-footer">
{{ $key := "footer"}}
{{ $tags := index .Site.Data.props "tags" }}
{{ $value := index $tags $key }}
{{ $value := slice "[Home](/)" }}
{{ $value = $value | append (index $tags $key) }}
{{ partial "cc-section" (dict "key" $key "value" $value) }}
</footer>

0 comments on commit d0937b6

Please sign in to comment.