diff options
Diffstat (limited to 'themes/xmin/layouts/_default/baseof.html')
-rw-r--r-- | themes/xmin/layouts/_default/baseof.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/themes/xmin/layouts/_default/baseof.html b/themes/xmin/layouts/_default/baseof.html index 6757396..1705460 100644 --- a/themes/xmin/layouts/_default/baseof.html +++ b/themes/xmin/layouts/_default/baseof.html @@ -1,21 +1,21 @@ <!DOCTYPE html> -<html lang="{{ .Site.LanguageCode }}"> +<html lang="{{ .Site.LanguageCode }}" {{- if .Page.IsNode }} class="h-feed"{{ end }}> <head profile="//gmpg.org/xfn/11"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>{{ .Title }} | {{ .Site.Title }}</title> + <title {{- if .Page.IsNode }} class="p-name"{{ end }}>{{ .Title }} | {{ .Site.Title }}</title> <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> - {{ range .AlternativeOutputFormats -}} - {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} - {{ end -}} + {{- range .AlternativeOutputFormats }} + {{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} + {{- end }} </head> <body> <nav> <ul> - {{ range .Site.Menus.main }} + {{- range .Site.Menus.main }} <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> - {{ end }} + {{- end }} </ul> </nav> @@ -23,9 +23,9 @@ {{ end }} <footer> - {{ with .Site.Params.footer }} + {{- with .Site.Params.footer }} {{ . | markdownify }} - {{ end }} + {{- end }} </footer> </body> </html> |