From d25516bc1de91cb27970ec3150fed2991c539137 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Mon, 13 May 2024 15:48:10 +1000 Subject: [PATCH] More experimenting with post list format --- configuration/configuration.txt | 34 ++++++++--------------------- weblog/B0. Template/styles.css.md | 4 ++++ weblog/B9. Pages/B9.02 post-list.md | 1 + 3 files changed, 14 insertions(+), 25 deletions(-) diff --git a/configuration/configuration.txt b/configuration/configuration.txt index 556eebb..9b16a55 100644 --- a/configuration/configuration.txt +++ b/configuration/configuration.txt @@ -63,7 +63,7 @@ tags: Blog, ]>> -Titleless title length: 15 words +Titleless title length: 10 words // Truncation appendix: […] // Title format:

$title

@@ -96,21 +96,9 @@ Recent posts format: <<[ ;; --------------------- Post list format: <<[ -[post:begin]
- - - $body - - -
[post:end]] ->> +
+[post:begin][post:end] +
]>> ;; Page list {page-list} @@ -147,19 +135,15 @@ Tags format: <<[ [tag:begin]$tag[tag:end] ]>> Tag page format: <<[ -

Posts tagged with “$tag”

- +

Posts tagged with $tag

+[tag:begin]
$title
[tag:end] ]>> Tag listing path: /tags // Tag listing template: Tag Listing Template // Note: tag listing order can be "alphabetical", "ascending", or "descending" where alphabetical sorts by the tag name and ascending/descending sorts by the count of entries with that tag -Tag listing order: alphabetical +Tag listing order: descending Tag listing format: <<[ -

Tags

- +

Tags

+[tag:begin]$tag ($count)[tag:end] ]>> \ No newline at end of file diff --git a/weblog/B0. Template/styles.css.md b/weblog/B0. Template/styles.css.md index 870b52e..f4c5dd8 100644 --- a/weblog/B0. Template/styles.css.md +++ b/weblog/B0. Template/styles.css.md @@ -79,6 +79,10 @@ main>nav, box-shadow: var(--shadow); } +main.page { + display: block; +} + .post-info { margin-top: -1rem; margin-right: -1rem; diff --git a/weblog/B9. Pages/B9.02 post-list.md b/weblog/B9. Pages/B9.02 post-list.md index bb348fe..d5d27dd 100644 --- a/weblog/B9. Pages/B9.02 post-list.md +++ b/weblog/B9. Pages/B9.02 post-list.md @@ -2,6 +2,7 @@ type: page location: /blog title: Post List +template: Home --- {post-list} \ No newline at end of file