Simple feed tmeplate for now

still reqiures tons of styling
This commit is contained in:
shockrah 2023-09-23 01:44:56 -07:00
parent b51562c6b9
commit 3fec682c53
5 changed files with 38 additions and 5 deletions

View File

@ -1,5 +1,6 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
---
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
description: No description
date: {{ .Date }}
thumbnail: null
---

View File

@ -0,0 +1,9 @@
---
title: 'Learning'
description: No description
date: 2023-09-23T01:18:52-07:00
thumbnail: null
---
This theme is finally

View File

View File

@ -0,0 +1,15 @@
{{ define "main" }}
{{ range .Pages.ByDate.Reverse }}
<div class="card">
<div class="card-header postcard">
<h5 class="card-title">{{ .Title }}</h5>
</div>
<div class="card-body postcard">
<p class="card-text">{{ .Description }}</p>
</div>
<div class="card-footer text-muted postcard">
{{ .Date | time.Format ":date_short" }} {{ .Date | time.Format ":time_long"}}
</div>
</div>
{{ end }}
{{ end }}

View File

@ -72,6 +72,14 @@ html {
font-size: 2rem;
}
.postcard {
padding: 0.25rem 0;
}
.postcard-date {
font-size: smaller;
}
.socials {
display:inline;
font-size: 1.5rem;