From b88bbc597fdb85b57b5d96cce39d52d925a37bb3 Mon Sep 17 00:00:00 2001 From: Geoff Pado Date: Fri, 28 Jun 2024 16:46:21 -0700 Subject: [PATCH] Update release notes list and single pages Adds a link to the App Store to individual release notes pages, and links to the individual pages from the list page. --- themes/highlighter/assets/_sass/_page.scss | 4 ++++ themes/highlighter/assets/_sass/_type.scss | 4 +++- themes/highlighter/layouts/releases/list.html | 4 +++- themes/highlighter/layouts/releases/single.html | 1 + 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/themes/highlighter/assets/_sass/_page.scss b/themes/highlighter/assets/_sass/_page.scss index 408111c..161fb7a 100644 --- a/themes/highlighter/assets/_sass/_page.scss +++ b/themes/highlighter/assets/_sass/_page.scss @@ -9,3 +9,7 @@ article { padding: 0px 12px; } } + +section { + margin-bottom: 3rem; +} diff --git a/themes/highlighter/assets/_sass/_type.scss b/themes/highlighter/assets/_sass/_type.scss index f943a55..18b41c9 100644 --- a/themes/highlighter/assets/_sass/_type.scss +++ b/themes/highlighter/assets/_sass/_type.scss @@ -42,8 +42,10 @@ h1 { } h2 { - font-size: 1.2em; + font-size: 1.2rem; font-weight: 700; + // margin-top: 2.2rem; + // margin-bottom: 0.7rem; } h3 { diff --git a/themes/highlighter/layouts/releases/list.html b/themes/highlighter/layouts/releases/list.html index d5c30ad..1c04dd6 100644 --- a/themes/highlighter/layouts/releases/list.html +++ b/themes/highlighter/layouts/releases/list.html @@ -5,8 +5,10 @@

{{ .Title }}

{{ range .Pages }} -

{{ .Title }} — {{ dateFormat "January 2, 2006" .Date }}

+
+

{{ .Title }} — {{ dateFormat "January 2, 2006" .Date }}

{{ .Content }} +
{{ end }}
diff --git a/themes/highlighter/layouts/releases/single.html b/themes/highlighter/layouts/releases/single.html index d4950fd..4931b12 100644 --- a/themes/highlighter/layouts/releases/single.html +++ b/themes/highlighter/layouts/releases/single.html @@ -5,6 +5,7 @@

{{ .Title }} — {{ dateFormat "January 2, 2006" .Dat
{{ .Content }} + Get Black Highlighter {{ .Title }} on the App Store.
{{ end }}