Testing phugo as theme

This commit is contained in:
2017-10-15 18:32:13 +02:00
parent 4a0f71961e
commit e9957f193d
219 changed files with 3198 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<header id="header">
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ $.Scratch.Add "path" .Site.BaseURL }}
<h1>
<a href="{{ .Site.BaseURL }}"><strong>{{ .Site.Title }}</strong></a>
{{ range $index, $element := split $url "/" }}
{{ $.Scratch.Add "path" $element }}
{{ if ne $element "" }}
/ {{ . | humanize }}
{{ $.Scratch.Add "path" "/" }}
{{ end }}
{{ end }}
</h1>
{{ partial "navigation.html" . }}
</header>