Eigengrau
This commit is contained in:
@ -8,9 +8,9 @@
|
||||
<div class="wrapper{{ if .Params.img }} with-image{{ end }}">
|
||||
<div class="page-content">
|
||||
<div class="header-page">
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
<h1 class="page-title">{{ .Title | safeHTML }}</h1>
|
||||
</div>
|
||||
{{ .Content }}
|
||||
{{ .Content | safeHTML }}
|
||||
<div class="page-footer">
|
||||
{{ partial "donate.html" }}
|
||||
</div>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
{{ if .IsHome }}
|
||||
{{ $title = .Site.Title }}
|
||||
{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
<title>{{ $title | plainify }}</title>
|
||||
{{ .Hugo.Generator }}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ if .IsHome }}
|
||||
@ -14,7 +14,7 @@
|
||||
{{ end }}
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
|
||||
{{- partial "seo.html" . -}}
|
||||
|
||||
<link rel="shortcut icon" href="/assets/img/favicon/favicon.ico" type="image/x-icon">
|
||||
@ -35,4 +35,7 @@
|
||||
<!-- Styles -->
|
||||
{{ $style := resources.Get "css/main.scss" | resources.ToCSS }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
{{ with .Params.extracss }}
|
||||
<link rel="stylesheet" href="{{.}}">
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<!-- OpenGraph metadata -->
|
||||
<meta property="og:title" content="{{ if .Params.title }}{{.Params.title }} | {{end}}The Writing of Madison Scott-Clary" />
|
||||
<meta property="og:title" content="{{ if .Params.title }}{{.Params.title | plainify }} | {{end}}The Writing of Madison Scott-Clary" />
|
||||
<meta property="og:site_name" content="The Writing of Madison Scott-Clary" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image" content="{{ if .Params.ogimg }}{{ .Params.ogimg | absURL }}{{ else }}{{ if .Params.img }}{{ .Params.img | absURL }}{{ else }}{{ "/assets/img/headshot.jpg" | absURL }}{{ end }}{{ end }}" />
|
||||
@ -9,7 +9,7 @@
|
||||
<!-- Twitter Card metadata -->
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:site" content="@makyo_writes" />
|
||||
<meta name="twitter:title" content="{{ if .Params.title }}{{.Params.title }} | {{end}}The Writing of Madison Scott-Clary" />
|
||||
<meta name="twitter:title" content="{{ if .Params.title }}{{.Params.title | plainify }} | {{end}}The Writing of Madison Scott-Clary" />
|
||||
<meta name="twitter:description" content="{{ if .Params.description }}{{ .Params.description }}{{ else }}The Writing of Madison Scott-Clary{{ end }}" />
|
||||
<meta name="twitter:image" content="{{ if .Params.ogimg }}{{ .Params.ogimg | absURL }}{{ else }}{{ if .Params.img }}{{ .Params.img | absURL }}{{ else }}{{ "/assets/img/headshot.jpg" | absURL }}{{ end }}{{ end }}" />
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "The Writing of Madison Scott-Clary",
|
||||
"headline": "{{ if .Params.title }}{{.Params.title }} | {{end}}The Writing of Madison Scott-Clary",
|
||||
"headline": "{{ if .Params.title }}{{.Params.title | plainify }} | {{end}}The Writing of Madison Scott-Clary",
|
||||
"description": "{{ if .Params.description }}{{ .Params.description }}{{ else }}The Writing of Madison Scott-Clary{{ end }}",
|
||||
"url": "{{ .Permalink }}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user