123 lines
3.6 KiB
HTML
123 lines
3.6 KiB
HTML
<style>
|
|
|
|
.boek-row button {
|
|
border: 1px solid black;
|
|
padding: 0.7em;
|
|
border-radius: 5px;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.boek-row a {
|
|
line-height: 1.4 !important;
|
|
color: black;
|
|
}
|
|
|
|
.boek-row button:hover {
|
|
background: black;
|
|
color: white;
|
|
}
|
|
|
|
.boek-col-left {
|
|
float: left;
|
|
width: 45%;
|
|
vertical-align: center;
|
|
text-align: center;
|
|
padding-top: 30px;
|
|
}
|
|
|
|
.boek-col-right {
|
|
float: right;
|
|
width: 45%;
|
|
}
|
|
|
|
.boek-col-right img {
|
|
-webkit-box-shadow: 6px 6px 3px 0px rgba(0,0,0,.75);
|
|
-moz-box-shadow: 6px 6px 3px 0px rgba(0,0,0,.75);
|
|
box-shadow: 6px 6px 3px 0px rgba(0,0,0,.75);
|
|
}
|
|
|
|
#chapter, #body .padding {
|
|
padding-top: 0;
|
|
}
|
|
|
|
#body, #chapter p {
|
|
text-align: justify;
|
|
}
|
|
|
|
.wp-caption-text {
|
|
font-size: smaller;
|
|
color: grey;
|
|
}
|
|
|
|
.aligncenter {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
</style>
|
|
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}">
|
|
|
|
<!-- opengraph meta -->
|
|
<!-- see https://github.com/nozzle/hugo-snippets/blob/master/layouts/partials/head/seo/open_graph.html -->
|
|
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}" property="og:title">
|
|
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}" property="og:description">
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
|
<meta property="og:type" content="{{ if .Params.type }}{{ .Params.type }}{{ else }}website{{ end }}" />
|
|
{{ if .Params.featured_image }}
|
|
<meta property="og:image" content="{{.Site.BaseURL}}{{ .Params.featured_image }}" />
|
|
{{ end }}
|
|
<!-- zie sidebar.html, zelfde logica gebruikt -->
|
|
{{ $related := first 3 (where (where (where .Site.Pages.ByDate.Reverse ".Type" "==" "articles") ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }}
|
|
|
|
{{ if $related }}
|
|
{{ range $related }}
|
|
<meta property="og:see_also" content="{{ .Permalink }}" />
|
|
{{ end }}
|
|
{{ end }}
|
|
<meta property="article:published_time" content="{{ .PublishDate }}" />
|
|
<meta property="article:modified_time" content="{{ .Date }}" />
|
|
<meta property="article:section" content="{{ .Section }}" />
|
|
{{ with .Params.tags }}{{ range first 6 . }}
|
|
<meta property="article:tag" content="{{ . }}" />
|
|
{{ end }}{{ end }}
|
|
<!-- end og -->
|
|
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context" : "http://schema.org",
|
|
"@type" : "BlogPosting",
|
|
"mainEntityOfPage": {
|
|
"@type": "WebPage",
|
|
"@id": "{{ .Site.BaseURL }}"
|
|
},
|
|
"articleSection" : "{{ .Section }}",
|
|
"name" : "{{ .Title }}",
|
|
"headline" : "{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}",
|
|
"description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
|
|
"inLanguage" : "{{ .Site.LanguageCode }}",
|
|
{{ if .Params.featured_image }}
|
|
"image": "{{.Site.BaseURL}}{{ .Params.featured_image }}",
|
|
{{ end }}
|
|
"author" : {
|
|
"@type": "Person",
|
|
"name": "{{ .Site.Author.name }}"
|
|
},
|
|
"publisher": {
|
|
"@type": "Organization",
|
|
"name": "Brain Baking",
|
|
"logo": {
|
|
"@type": "ImageObject",
|
|
"url": "https://brainbaking.com/img/avatar-icon.png"
|
|
}
|
|
},
|
|
"accountablePerson" : "{{ .Site.Author.name }}",
|
|
"copyrightHolder" : "{{ .Site.Author.name }}",
|
|
"copyrightYear" : "{{ .Date.Format "2006" }}",
|
|
"datePublished": "{{ .Date }}",
|
|
"dateModified" : "{{ .Date }}",
|
|
"url" : "{{ .Permalink }}",
|
|
"wordCount" : "{{ .WordCount }}"
|
|
}
|
|
</script>
|
|
{{ partial "google-analytics-anonymous.html" . }}
|