149 lines
No EOL
3.5 KiB
Text
149 lines
No EOL
3.5 KiB
Text
// Weblog Configuration
|
|
|
|
;; About your weblog
|
|
;; -----------------
|
|
|
|
Weblog title: Death.au's Domain
|
|
Weblog description: This is a weblog.
|
|
Author: Gordon Pedersen (a.k.a. death.au)
|
|
// Canonical domain: elsewhere.tld
|
|
// Landing page: /profile
|
|
Landing page template: Landing Page Template
|
|
|
|
|
|
;; General config stuff
|
|
;; --------------------
|
|
|
|
Separator: ·
|
|
// Navigation: about, another-page, <a href="https://example.com">Example</a>, [Example](https://example.com)
|
|
Navigation: <a href="https://death.id.au/">Home</a>, <a href="https://death.id.au/now">Now</a>, <a href="https://deathau.weblog.lol/">Blog</a>, <a href="https://death.id.au/cv/">CV</a>
|
|
Files path: /files/
|
|
Landing page post count: 8
|
|
Landing page post length: 100 words
|
|
Post template: Post Template
|
|
|
|
|
|
;; Pagination
|
|
;; ----------
|
|
|
|
Pagination path: /page/
|
|
Previous page template: <span class="previous-page"><a href="$previous_page">Newer <i class="fa-solid fa-clock-rotate-left mirror"></i></a></span>
|
|
Next page template: <span class="next-page"><a href="$next_page"><i class="fa-solid fa-clock-rotate-left"></i> Older</a></span>
|
|
|
|
|
|
;; 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: Australia/Melbourne
|
|
Date format: Y-m-d\TH:i:sO
|
|
|
|
|
|
;; Feeds
|
|
;; -----
|
|
|
|
Feed post count: 25
|
|
// Feed post appendix: <p><em>Published with weblog.lol!</em></p>
|
|
|
|
|
|
;; Posts
|
|
;; -----
|
|
|
|
Post path format: /Y/m/
|
|
Default post: <<[---
|
|
title: B4.xxxx Your new post
|
|
date: $date
|
|
location: /B4.xxxx
|
|
tags: Blog,
|
|
---
|
|
|
|
# Your new post
|
|
|
|
]>>
|
|
|
|
Titleless title length: 10 words
|
|
// Truncation appendix: […]
|
|
// Title format: <h1><a href="$permalink">$title</a></h1>
|
|
|
|
Multiple posts count: 10
|
|
Multiple posts format: <<[
|
|
[post:begin]
|
|
<article>
|
|
{body}
|
|
<aside class="post-info">
|
|
<i class="fa-solid fa-clock"></i> {date}
|
|
</aside>
|
|
<aside class="post-tags">
|
|
{tags}
|
|
</aside>
|
|
</article>
|
|
[post:end]
|
|
]>>
|
|
|
|
;; Recent posts {recent-posts}
|
|
;; ---------------------------
|
|
|
|
Recent posts count: 5
|
|
Recent posts format: <<[
|
|
<ul>
|
|
[post:begin]<li><a href="$location">$title</a></li>[post:end]
|
|
</ul>]>>
|
|
|
|
|
|
;; Post list {post-list}
|
|
;; ---------------------
|
|
|
|
Post list format: <<[
|
|
<div id="post-list">
|
|
[post:begin]<article><a href="$location">$title</a></article>[post:end]
|
|
</div>]>>
|
|
|
|
|
|
;; Page list {page-list}
|
|
;; ---------------------
|
|
|
|
Page list format: <<[
|
|
<ul>
|
|
[page:begin]<li><a href="$location">$title</a></li>[page:end]
|
|
</ul>]>>
|
|
|
|
|
|
;; 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: <<[
|
|
<h2>Results for “$search”</h2>
|
|
<p>$search_results_message</p>
|
|
[post:begin]<h3><a href="$location">$title</a></h3>
|
|
<p>$date</p>
|
|
<p>$snippet</p>[post:end]
|
|
]>>
|
|
|
|
|
|
;; Tags {tags}
|
|
;; -----------
|
|
|
|
Tag path: /tag/
|
|
// Tag page template: Tag Template
|
|
Tags format: <<[
|
|
[tag:begin]<a class="tag" href="$tag_location">$tag</a>[tag:end]
|
|
]>>
|
|
Tag page format: <<[
|
|
<h2>Posts tagged with <span class="tag">$tag</tag></h2>
|
|
[tag:begin]<article><a href="$location">$title</a></article>[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: descending
|
|
Tag listing format: <<[
|
|
<h1>Tags</h1>
|
|
[tag:begin]<a class="tag" href="$location">$tag ($count)</a>[tag:end]
|
|
]>> |