From 5ffe61f1e50a0357e00046460f6e6d302a7cf3b5 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Mon, 13 May 2024 13:52:37 +1000 Subject: [PATCH] Add a home template --- weblog/B0. Template/styles.css.md | 10 +++--- weblog/B0. Template/template-home.html.md | 43 +++++++++++++++++++++++ weblog/B9. Pages/B9.01 profile.md | 1 + weblog/B9. Pages/B9.02 post-list.md | 1 - 4 files changed, 49 insertions(+), 6 deletions(-) create mode 100644 weblog/B0. Template/template-home.html.md diff --git a/weblog/B0. Template/styles.css.md b/weblog/B0. Template/styles.css.md index 703255b..3d2f07d 100644 --- a/weblog/B0. Template/styles.css.md +++ b/weblog/B0. Template/styles.css.md @@ -401,8 +401,8 @@ fedi-social i::before { line-height: 48px; } -main.page:has(>#details)::before, -main.page:has(>#details)::after { +main.home::before, +main.home::after { content: ''; position: absolute; left: -2px; @@ -416,12 +416,12 @@ main.page:has(>#details)::after { border-radius: 1em; } -main.page:has(>#details)::after { +main.home::after { filter: blur(50px); } -main.page:has(>#details){ +main.home{ display: grid; grid-template-columns: 1fr 0.95fr; /* grid-template-rows: 1fr 1fr; */ @@ -445,7 +445,7 @@ main.page:has(>#details){ } @media (max-width:720px) { - main.page:has(>#details){ + main.home{ display:flex; } #details { diff --git a/weblog/B0. Template/template-home.html.md b/weblog/B0. Template/template-home.html.md new file mode 100644 index 0000000..67b86cf --- /dev/null +++ b/weblog/B0. Template/template-home.html.md @@ -0,0 +1,43 @@ +Type: Template +Title: Home + + + + +{weblog-title} + + + +{feeds} + + + +
+
+ My avatar — A pixelated self-portrait in the style of the 'bitizens' in the mobile game Tiny Tower +

{weblog-title}

+ {navigation} + +
+
+ +
+ {body} +
+ + + + + + + + + \ No newline at end of file diff --git a/weblog/B9. Pages/B9.01 profile.md b/weblog/B9. Pages/B9.01 profile.md index 5228c85..e7837c8 100644 --- a/weblog/B9. Pages/B9.01 profile.md +++ b/weblog/B9. Pages/B9.01 profile.md @@ -1,6 +1,7 @@ --- type: page location: /profile +template: Home --- {profile} \ No newline at end of file diff --git a/weblog/B9. Pages/B9.02 post-list.md b/weblog/B9. Pages/B9.02 post-list.md index b5fbeb6..1790c1c 100644 --- a/weblog/B9. Pages/B9.02 post-list.md +++ b/weblog/B9. Pages/B9.02 post-list.md @@ -1,7 +1,6 @@ --- type: page location: /blog -template: Landing Page Template --- {post-list} \ No newline at end of file