Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions layouts/partials/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{{ $url := replace .Permalink (printf "%s" .Site.BaseURL) "" }}
{{ $urlParts := split $url "/" }}

<div class="breadcrumbs">
<div>
<a href="{{ "/" | relURL }}">Home</a>
Expand All @@ -10,7 +7,10 @@
{{ end }}
{{ end }}
{{ if not .IsHome }}
/ <a href="{{ .Permalink }}">{{ if .IsPage }}{{ .File.BaseFileName | humanize }}{{ else }}{{ .Title }}{{ end }}</a>
{{/* LinkTitle, not the humanized filename. Humanizing turned
pi-terminal-kit into "Pi terminal kit" and threw away the title
the page actually declares. */}}
/ <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
{{ end }}
</div>

Expand Down
Loading