From 74f79344141a3ff7dc2e45e442b7570c7ec5e86a Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Wed, 7 Jul 2021 10:14:43 +0100 Subject: [PATCH] Tweaks to post styling. Dates on homepage list, better pagination (less confusing). --- config.toml | 3 ++- content/posts/part-2-acts-flamingo.md | 2 +- content/posts/the-tvdb-google-app-script.md | 2 ++ static/CNAME | 1 + themes/gs/layouts/index.html | 22 ++++++++++++++++++--- themes/gs/static/css/styles.css | 14 ++++++++++++- 6 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 static/CNAME diff --git a/config.toml b/config.toml index 7018d21..67155c2 100644 --- a/config.toml +++ b/config.toml @@ -2,4 +2,5 @@ baseURL = "https://blog.gabrielsimmer.com/" languageCode = "en-us" title = "Gabriel's Blog" theme = "gs" -ignorefiles = [ "content/posts/exported/.*", "content/posts/drafts/.*" ] \ No newline at end of file +ignorefiles = [ "content/posts/exported/.*", "content/posts/drafts/.*" ] +paginate = 5 \ No newline at end of file diff --git a/content/posts/part-2-acts-flamingo.md b/content/posts/part-2-acts-flamingo.md index bb76ee0..50d09b9 100644 --- a/content/posts/part-2-acts-flamingo.md +++ b/content/posts/part-2-acts-flamingo.md @@ -1,5 +1,5 @@ --- -title: (Part 2) ATCS --- Flamingo {#part-2-atcs-flamingo .p-name} +title: (Part 2) ATCS --- Flamingo date: 2016-12-08 --- diff --git a/content/posts/the-tvdb-google-app-script.md b/content/posts/the-tvdb-google-app-script.md index 918e371..8f8f205 100644 --- a/content/posts/the-tvdb-google-app-script.md +++ b/content/posts/the-tvdb-google-app-script.md @@ -48,6 +48,8 @@ seconds with a 14 item list), but I'll refine a bit in the future. ![How the spreadsheet looks](https://cdn-images-1.medium.com/max/600/1*a6NU2Lv_H2gHrffRT2pfEw.png) +[Gist source](https://gist.github.com/gmemstr/d0024ab38a9cd0aae3a8cce25202c9b0) + > "If everyone demanded peace instead of another television set, then > there'd be peace." -- [**John > Lennon**](https://www.goodreads.com/author/show/19968.John_Lennon) **(Probably)** diff --git a/static/CNAME b/static/CNAME new file mode 100644 index 0000000..db3cfa7 --- /dev/null +++ b/static/CNAME @@ -0,0 +1 @@ +blog.gabrielsimmer.com \ No newline at end of file diff --git a/themes/gs/layouts/index.html b/themes/gs/layouts/index.html index 7b83cf0..180424b 100644 --- a/themes/gs/layouts/index.html +++ b/themes/gs/layouts/index.html @@ -10,13 +10,29 @@
{{- .Content -}} {{ range .Paginator.Pages }} -

{{ .Title }}

-
diff --git a/themes/gs/static/css/styles.css b/themes/gs/static/css/styles.css index 1b1aee1..3c7d7b1 100644 --- a/themes/gs/static/css/styles.css +++ b/themes/gs/static/css/styles.css @@ -74,7 +74,6 @@ } .pagination { - width: 50%; margin: 0 auto; } @@ -84,6 +83,19 @@ justify-content: space-between; } +.post-summary { + margin-bottom: 50px; +} + +.post-header { + margin-bottom: 2rem; +} + +.post-header > h2 { + margin-bottom: 0; +} + + /* Base Styles –––––––––––––––––––––––––––––––––––––––––––––––––– */ /* NOTE