removes all space consuming symbols in templates
This commit is contained in:
parent
c5ab13bf48
commit
90a8c7d5af
26 changed files with 126 additions and 126 deletions
|
@ -4,15 +4,15 @@
|
|||
{{ "<!-- Enable responsiveness on mobile devices -->" | safeHTML }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
||||
{{ .Hugo.Generator }}
|
||||
{{- if .IsHome }}
|
||||
{{ $.Scratch.Set "theTitle" .Site.Title -}}
|
||||
{{ if .IsHome }}
|
||||
{{ $.Scratch.Set "theTitle" .Site.Title }}
|
||||
{{else}}
|
||||
{{ $.Scratch.Add "theTitle" .Title}}
|
||||
{{ $.Scratch.Add "theTitle" " • "}}
|
||||
{{ $.Scratch.Add "theTitle" .Site.Title}}
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
<title>{{ $.Scratch.Get "theTitle" }}</title>
|
||||
{{ with .Site.Params.meta.description -}}<meta name="description" content="{{ . }}">{{- end }}
|
||||
{{ with .Site.Params.meta.keywords -}}<meta name="keywords" content="{{.}}">{{- end }}
|
||||
{{ with .Site.Params.meta.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.meta.keywords }}<meta name="keywords" content="{{.}}">{{ end }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue