Simple feed tmeplate for now
still reqiures tons of styling
This commit is contained in:
parent
b51562c6b9
commit
3fec682c53
@ -1,5 +1,6 @@
|
|||||||
+++
|
---
|
||||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
date = {{ .Date }}
|
description: No description
|
||||||
draft = true
|
date: {{ .Date }}
|
||||||
+++
|
thumbnail: null
|
||||||
|
---
|
||||||
|
9
main-site/content/feed/learning.md
Normal file
9
main-site/content/feed/learning.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
title: 'Learning'
|
||||||
|
description: No description
|
||||||
|
date: 2023-09-23T01:18:52-07:00
|
||||||
|
thumbnail: null
|
||||||
|
---
|
||||||
|
|
||||||
|
This theme is finally
|
||||||
|
|
0
main-site/content/posts/index.md
Normal file
0
main-site/content/posts/index.md
Normal 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 }}
|
@ -72,6 +72,14 @@ html {
|
|||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postcard {
|
||||||
|
padding: 0.25rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.postcard-date {
|
||||||
|
font-size: smaller;
|
||||||
|
}
|
||||||
|
|
||||||
.socials {
|
.socials {
|
||||||
display:inline;
|
display:inline;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user