From 3fec682c5309833231754faa8a67c12353ef7531 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 23 Sep 2023 01:44:56 -0700 Subject: [PATCH] Simple feed tmeplate for now still reqiures tons of styling --- main-site/archetypes/default.md | 11 ++++++----- main-site/content/feed/learning.md | 9 +++++++++ main-site/content/posts/index.md | 0 .../themes/temper/layouts/_default/list.html | 15 +++++++++++++++ main-site/themes/temper/static/css/style.css | 8 ++++++++ 5 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 main-site/content/feed/learning.md create mode 100644 main-site/content/posts/index.md diff --git a/main-site/archetypes/default.md b/main-site/archetypes/default.md index c6f3fce..86d7719 100644 --- a/main-site/archetypes/default.md +++ b/main-site/archetypes/default.md @@ -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 +--- diff --git a/main-site/content/feed/learning.md b/main-site/content/feed/learning.md new file mode 100644 index 0000000..99d3c22 --- /dev/null +++ b/main-site/content/feed/learning.md @@ -0,0 +1,9 @@ +--- +title: 'Learning' +description: No description +date: 2023-09-23T01:18:52-07:00 +thumbnail: null +--- + +This theme is finally + diff --git a/main-site/content/posts/index.md b/main-site/content/posts/index.md new file mode 100644 index 0000000..e69de29 diff --git a/main-site/themes/temper/layouts/_default/list.html b/main-site/themes/temper/layouts/_default/list.html index e69de29..72aecfe 100644 --- a/main-site/themes/temper/layouts/_default/list.html +++ b/main-site/themes/temper/layouts/_default/list.html @@ -0,0 +1,15 @@ +{{ define "main" }} + {{ range .Pages.ByDate.Reverse }} +
+
+
{{ .Title }}
+
+
+

{{ .Description }}

+
+ +
+ {{ end }} +{{ end }} diff --git a/main-site/themes/temper/static/css/style.css b/main-site/themes/temper/static/css/style.css index 6abac65..52e0c07 100644 --- a/main-site/themes/temper/static/css/style.css +++ b/main-site/themes/temper/static/css/style.css @@ -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;