Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bilz <mail@alexbilz.com>2022-03-21 22:36:26 +0300
committerGitHub <noreply@github.com>2022-03-21 22:36:26 +0300
commitb9e947f84892ed8ae455df214f1215ef5bf54264 (patch)
treef1b76c0fbb0372675ae013bae0a6b458a17c1bb6 /layouts
parent14af37f0df41a0abcd691bc3d2c759f74e5db42e (diff)
parentcaddf80a8d315759ca3cc63721f121190cfaf17c (diff)
Merge branch 'master' into feat/hide-sidebar-on-content-page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html6
-rw-r--r--layouts/partials/head.html11
2 files changed, 4 insertions, 13 deletions
diff --git a/layouts/index.html b/layouts/index.html
index ef29d79..486e59f 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -59,12 +59,10 @@
<div class="post__content">
<h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3>
{{ if .Site.Params.fullPostContent }}
- {{ .Content }}
-
+ <p>{{ .Content | markdownify }}</p>
{{ else }}
- {{ .Summary }}
-
+ <p>{{ .Summary | markdownify }}</p>
{{ end }}
<!-- add read more -->
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5fc89cb..3918162 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -24,6 +24,7 @@
<meta charset="utf-8" />
{{- hugo.Generator -}}
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover" />
+ <meta name="author" content="{{ .Site.Params.author }}" />
<meta
name="description"
content="{{ if .Params.description }}
@@ -231,15 +232,7 @@
<!-- Open Graph -->
- {{- if isset .Site.Taxonomies "series" }}
- {{- if not (eq (len .Site.Taxonomies.series) 0) -}}
- {{ template "_internal/opengraph.html" . }}
-
-
- {{- end -}}
-
-
- {{- end }}
+ {{ template "_internal/opengraph.html" . }}
<!-- Schema.org-->