From a2b32effdf6e4cfc94769079a8c8aaff7f5fdcf4 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Mon, 6 May 2024 12:34:11 +1000 Subject: [PATCH] initial commit --- configuration/configuration.txt | 150 ++++++++++++++++ configuration/template.html | 190 ++++++++++++++++++++ weblog/2024-04-17_10_01_08_page-template.md | 181 +++++++++++++++++++ weblog/2024-05-06_02_24_your-new-post.md | 7 + 4 files changed, 528 insertions(+) create mode 100644 configuration/configuration.txt create mode 100644 configuration/template.html create mode 100644 weblog/2024-04-17_10_01_08_page-template.md create mode 100644 weblog/2024-05-06_02_24_your-new-post.md diff --git a/configuration/configuration.txt b/configuration/configuration.txt new file mode 100644 index 0000000..874985d --- /dev/null +++ b/configuration/configuration.txt @@ -0,0 +1,150 @@ +// Weblog Configuration + +;; About your weblog +;; ----------------- + +Weblog title: A Weblog +Weblog description: This is a weblog. +Author: Your Name +// Canonical domain: elsewhere.tld +// Landing page: / +Landing page template: Landing Page Template + + +;; General config stuff +;; -------------------- + +Separator: · +// Navigation: about, another-page, Example, [Example](https://example.com) +Files path: /files/ +Landing page post count: 1 +// Landing page post length: 45 words +Post template: Post Template + + +;; Pagination +;; ---------- + +Pagination path: /page/ +Previous page template: ← Previous Page +Next page template: Next Page → + + +;; Time stuff +;; ---------- + +; You can use a timezone value from the "TZ database name" column on this +; web page: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones + +Timezone: UTC +Date format: F j, Y g:i A + + +;; Feeds +;; ----- + +Feed post count: 25 +// Feed post appendix:

Published with weblog.lol!

+ + +;; Posts +;; ----- + +Post path format: /Y/m/ +Default post: <<[--- +Date: $date +--- + +# Your new post + +This is a new blog post. You can author it in _Markdown_, which is **awesome**. +]>> + +Titleless title length: 15 words +// Truncation appendix: […] +// Title format:

$title

+ +Multiple posts count: 10 +Multiple posts format: <<[ +[post:begin] +
+ {body} + + +
+[post:end] +]>> + +;; Recent posts {recent-posts} +;; --------------------------- + +Recent posts count: 5 +Recent posts format: <<[ +]>> + + +;; Post list {post-list} +;; --------------------- + +Post list format: <<[ +]>> + + +;; Page list {page-list} +;; --------------------- + +Page list format: <<[ +]>> + + +;; Search +;; ------ + +Search status: enabled +Search template: Page Template +Search results success message: There [is|are] $count [result|results] for your search: +Search results failure message: There were no results found for your search. +Search results format: <<[ +

Results for “$search”

+

$search_results_message

+[post:begin]

$title

+

$date

+

$snippet

[post:end] +]>> + + +;; Tags {tags} +;; ----------- + +Tag path: /tag/ +// Tag page template: Tag Template +Tags format: <<[ +[tag:begin]$tag[tag:end] +]>> +Tag page format: <<[ +

Posts tagged with “$tag”

+ +]>> + +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 format: <<[ +

Tags

+ +]>> \ No newline at end of file diff --git a/configuration/template.html b/configuration/template.html new file mode 100644 index 0000000..f200d0b --- /dev/null +++ b/configuration/template.html @@ -0,0 +1,190 @@ + + + +{weblog-title}{separator}{post-title} + + +{feeds} + + + + +
+

{weblog-title}

+ {navigation} +
+ +
+ +
+ {body} + + +
+ +
+ +

Recent posts

+ +{recent-posts} + +
+ + + + + diff --git a/weblog/2024-04-17_10_01_08_page-template.md b/weblog/2024-04-17_10_01_08_page-template.md new file mode 100644 index 0000000..44b187f --- /dev/null +++ b/weblog/2024-04-17_10_01_08_page-template.md @@ -0,0 +1,181 @@ +Type: Template +Title: Page Template + + + + +{weblog-title}{separator}{post-title} + + +{feeds} + + + + +
+

{weblog-title}

+ {navigation} +
+ +
+ +{body} + +
+ +
+ + + + + diff --git a/weblog/2024-05-06_02_24_your-new-post.md b/weblog/2024-05-06_02_24_your-new-post.md new file mode 100644 index 0000000..13f9ed2 --- /dev/null +++ b/weblog/2024-05-06_02_24_your-new-post.md @@ -0,0 +1,7 @@ +--- +Date: 2024-05-06 02:24 +--- + +# Your new post + +This is a new blog post. You can author it in _Markdown_, which is **awesome**.