Rev | Line | |
---|
[14926] | 1 | {{ partial "header.html" . }} |
---|
| 2 | |
---|
| 3 | <!-- Wrapper --> |
---|
| 4 | <div id="wrapper"> |
---|
| 5 | |
---|
| 6 | <!-- Header --> |
---|
| 7 | <header id="header"> |
---|
| 8 | <div class="logo"> |
---|
| 9 | {{ with .Site.Params.logoimage }} |
---|
| 10 | <img src="{{ . }}" width="100%" style="padding: 10px 10px 10px 10px;"> |
---|
| 11 | {{ end }} |
---|
| 12 | {{ with .Site.Params.logo }} |
---|
| 13 | <span class="icon {{ . }}"></span> |
---|
| 14 | {{ end }} |
---|
| 15 | </div> |
---|
| 16 | <div class="content"> |
---|
| 17 | <div class="inner"> |
---|
| 18 | <h1>{{ .Site.Title | safeHTML }}</h1> |
---|
| 19 | <p>{{ .Site.Params.description | safeHTML }}</p> |
---|
| 20 | </div> |
---|
| 21 | </div> |
---|
| 22 | <nav> |
---|
| 23 | <ul> |
---|
| 24 | {{ range .Data.Pages.ByWeight }} |
---|
| 25 | <li>{{ if isset .Params "link" }}<a href="{{ index .Params "link" }}"{{else}}<a href="#{{ .File.TranslationBaseName }}"{{end}}>{{ if .GetParam "menuname" }}{{ .GetParam "menuname" }}{{ else }}{{ .Title }}{{ end }}</a></li> |
---|
| 26 | {{ end }} |
---|
| 27 | </ul> |
---|
| 28 | </nav> |
---|
| 29 | </header> |
---|
| 30 | |
---|
| 31 | <!-- Main --> |
---|
| 32 | <div id="main"> |
---|
| 33 | {{ range .Data.Pages }} |
---|
| 34 | {{ .Render "onepagestyle" }} |
---|
| 35 | {{ end }} |
---|
| 36 | </div> |
---|
| 37 | |
---|
| 38 | <!-- Multilanguage --> |
---|
| 39 | <div id="languages"> |
---|
| 40 | {{ if .IsTranslated }} |
---|
| 41 | {{ range $i, $e := .Translations }} |
---|
| 42 | {{ if $i }}, {{ end }}<a href="{{ .Permalink }}">{{ $e.Language.LanguageName }}</a> |
---|
| 43 | {{ end}} |
---|
| 44 | {{ end }} |
---|
| 45 | </div> |
---|
| 46 | {{ partial "footer.html" . }} |
---|
Note: See
TracBrowser for help on using the repository browser.