diff --git a/assets/scss/blog.scss b/assets/scss/blog.scss index 3c1a7ac..86e7d8f 100644 --- a/assets/scss/blog.scss +++ b/assets/scss/blog.scss @@ -36,6 +36,7 @@ font-size: 3.5rem; margin: 0 auto; max-width: 1000px; + @media (max-width: 1140px) { font-size: 2.5rem; } @@ -45,7 +46,11 @@ letter-spacing: 0.15rem; margin: 0 auto; max-width: 1000px; - + } + + span:not(:first-of-type)::before { + content: "·"; + margin: 0 1rem 0 0.6rem; } } diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 6888823..a2ebc12 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -4,6 +4,7 @@ title: "Vris Cute Corner" enableRobotsTXT: true defaultContentLanguage: de defaultContentLanguageInSubdir: true +enableGitInfo: true params: avatar: "2021_vrifox-avatar.png" diff --git a/i18n/de.yaml b/i18n/de.yaml index babfebb..fe8c4a1 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -34,4 +34,9 @@ latest-posts-heading: blog-heading: other: Artikel blog-sub: - other: aus meinem Blog \ No newline at end of file + other: aus meinem Blog + +blog-post-published: + other: Veröffentlicht am +blog-post-updated: + other: Aktualisiert am \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index eccb26d..54df862 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -34,4 +34,9 @@ latest-posts-heading: blog-heading: other: Articles blog-sub: - other: from my Blog \ No newline at end of file + other: from my Blog + +blog-post-published: + other: Published on +blog-post-updated: + other: Updated on \ No newline at end of file diff --git a/layouts/blog/single.html b/layouts/blog/single.html index f4d595c..863aec4 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -6,29 +6,15 @@ {{- define "header" }}

{{ .Title }}

-

{{ .Date | time.Format "2. January 2006" }}

+

+ {{ .Date | time.Format "2. January 2006" }} + {{ .Lastmod | time.Format "2. January 2006" }} +

{{ end }} {{- define "main" }}
{{ .Content -}} -
{{- end }}