Skip to content

Commit

Permalink
comment out breadcrumbs (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbudakguy committed Jun 1, 2020
1 parent 2e6ca95 commit 672af9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion themes/startwords/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,22 @@
</li>
</ul>
</nav>
{{/*
{{ if not .IsHome }}
<nav aria-label="breadcrumbs">
<ol>
{{ template "breadcrumbnav" (dict "p1" .Parent "p2" .Parent) }}
</ol>
</nav>
{{ end }}
*/}}
</header>

{{/*
{{ define "breadcrumbnav" }}
{{ if .p1.Parent }}
{{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2) }}
{{ end }}
<li><a href="{{ .p1.Permalink }}">{{ .p1.Title }}</a></li>
{{ end }}
{{ end }}
*/}}

0 comments on commit 672af9b

Please sign in to comment.