Changed how the blog post links are generated; modified the blog post template to show the post's title and date

This commit is contained in:
Gregory Ballantine 2022-02-19 13:32:31 -05:00
parent 52192aedef
commit b0e438adcd
5 changed files with 10 additions and 6 deletions

View File

@ -6,7 +6,6 @@ description: >-
The Bit Goblin main website, a place for cool tech things. The Bit Goblin main website, a place for cool tech things.
baseurl: '/' baseurl: '/'
url: 'https://www.bitgoblin.tech' url: 'https://www.bitgoblin.tech'
permalink: '/:year/:month/:day/:title:output_ext'
links: links:
bitgoblin_channel: 'https://youtube.com/BitGoblin' bitgoblin_channel: 'https://youtube.com/BitGoblin'
ascendings_channel: 'https://www.youtube.com/channel/UCCWlMg8oP9pz4Zlu4iZjPFw' ascendings_channel: 'https://www.youtube.com/channel/UCCWlMg8oP9pz4Zlu4iZjPFw'

View File

@ -2,4 +2,7 @@
layout: default layout: default
--- ---
<h1>{{ page.title }}</h1>
<p class="post-info">{{ page.date | date: "%a %b %d, %Y" }}</p>
{{ content }} {{ content }}

View File

@ -1,8 +1,9 @@
--- ---
layout: post layout: post
title: "Welcome to Bit Goblin!" 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 date: 2021-08-17 13:11:02 -0400
categories: housekeeping tags: housekeeping
--- ---
There's not much else to say... welcome to Bit Goblin! There's not much else to say... welcome to Bit Goblin!

View File

@ -24,6 +24,10 @@ hr
.u-text-center .u-text-center
text-align: center text-align: center
.post-info
color: #999
font-style: italic
// this wrapper is only used to hide the footer // this wrapper is only used to hide the footer
#wrapper #wrapper
position: relative position: relative
@ -138,9 +142,6 @@ hr
.post-title .post-title
margin-bottom: 3px margin-bottom: 3px
.post-info
color: #999
.post-body .post-body
margin-bottom: 0 margin-bottom: 0

View File

@ -7,7 +7,7 @@ layout: page
<li> <li>
<h5 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h5> <h5 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h5>
<p class="post-info">{{ post.date | date: "%a %b %d, %Y" }}</p> <p class="post-info">{{ post.date | date: "%a %b %d, %Y" }}</p>
{{ post.content | truncate: 350 }} <p>{{ post.description }}</p>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>