Simplified setting the title tag, added author and date to posts, TODO make optional. Ordering of meta tags. Fixes for alternate outputs like RSS.
This commit is contained in:
parent
cf5d447b87
commit
90cb79d78a
1 changed files with 14 additions and 12 deletions
|
|
@ -2,9 +2,9 @@
|
|||
<html lang="{{ .Site.Language.Lang }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
|
||||
{{ block "meta" . }}{{ end }}
|
||||
{{ partialCached "meta.html" . -}}
|
||||
{{ block "meta" . }}{{ end -}}
|
||||
</head>
|
||||
|
||||
<body class="{{ if $.Param "sidebar" | default true }}one-sidebar sidebar-second{{ else }}no-sidebars{{ end }}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue