From 8a4a5184877304282ad95ab09e4649a1b9bfc48a Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 23 May 2022 18:12:15 +0200 Subject: [PATCH] Add option to add changelog --- layouts/partials/content.html | 17 +++++++++++++++++ static/src/scss/_main.scss | 6 ++++++ 2 files changed, 23 insertions(+) diff --git a/layouts/partials/content.html b/layouts/partials/content.html index b9e5f21..9deefc9 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -42,5 +42,22 @@ {{ end }} +
+ {{ if .Params.Changelog }} +

Changelog

+ + {{ end }} +
{{ end }} diff --git a/static/src/scss/_main.scss b/static/src/scss/_main.scss index c06ddef..4589571 100644 --- a/static/src/scss/_main.scss +++ b/static/src/scss/_main.scss @@ -103,3 +103,9 @@ img { } } } + +#changelog { + font-family: $font-family-mono; + font-size: $font-size-base * 0.9; + font-weight: 400; +}