From b0e438adcd74893e65a30971cdd0d1f193598871 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 19 Feb 2022 13:32:31 -0500 Subject: [PATCH] Changed how the blog post links are generated; modified the blog post template to show the post's title and date --- src/_config.yml | 1 - src/_layouts/post.html | 3 +++ src/_posts/2021-08-17-welcome-to-bitgoblin.markdown | 3 ++- src/assets/stylesheets/lumbridge.sass | 7 ++++--- src/blog.markdown | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/_config.yml b/src/_config.yml index 3d99669..e8f46e4 100644 --- a/src/_config.yml +++ b/src/_config.yml @@ -6,7 +6,6 @@ description: >- The Bit Goblin main website, a place for cool tech things. baseurl: '/' url: 'https://www.bitgoblin.tech' -permalink: '/:year/:month/:day/:title:output_ext' links: bitgoblin_channel: 'https://youtube.com/BitGoblin' ascendings_channel: 'https://www.youtube.com/channel/UCCWlMg8oP9pz4Zlu4iZjPFw' diff --git a/src/_layouts/post.html b/src/_layouts/post.html index 5e71126..0b70140 100644 --- a/src/_layouts/post.html +++ b/src/_layouts/post.html @@ -2,4 +2,7 @@ layout: default --- +

{{ page.title }}

+

{{ page.date | date: "%a %b %d, %Y" }}

+ {{ content }} diff --git a/src/_posts/2021-08-17-welcome-to-bitgoblin.markdown b/src/_posts/2021-08-17-welcome-to-bitgoblin.markdown index e603c71..2ff7318 100644 --- a/src/_posts/2021-08-17-welcome-to-bitgoblin.markdown +++ b/src/_posts/2021-08-17-welcome-to-bitgoblin.markdown @@ -1,8 +1,9 @@ --- layout: post title: "Welcome to Bit Goblin!" +description: "There's not much else to say... welcome to Bit Goblin!" date: 2021-08-17 13:11:02 -0400 -categories: housekeeping +tags: housekeeping --- There's not much else to say... welcome to Bit Goblin! diff --git a/src/assets/stylesheets/lumbridge.sass b/src/assets/stylesheets/lumbridge.sass index c22e8e2..a05bcb7 100644 --- a/src/assets/stylesheets/lumbridge.sass +++ b/src/assets/stylesheets/lumbridge.sass @@ -24,6 +24,10 @@ hr .u-text-center text-align: center +.post-info + color: #999 + font-style: italic + // this wrapper is only used to hide the footer #wrapper position: relative @@ -138,9 +142,6 @@ hr .post-title margin-bottom: 3px - .post-info - color: #999 - .post-body margin-bottom: 0 diff --git a/src/blog.markdown b/src/blog.markdown index 7425795..ff4f2ee 100644 --- a/src/blog.markdown +++ b/src/blog.markdown @@ -7,7 +7,7 @@ layout: page
  • {{ post.title }}
    - {{ post.content | truncate: 350 }} +

    {{ post.description }}

  • {% endfor %}