More experimenting with post list format
All checks were successful
/ weblog.lol (push) Successful in 8s
All checks were successful
/ weblog.lol (push) Successful in 8s
This commit is contained in:
parent
d73d49a3f0
commit
ff19c6d4c7
2 changed files with 4 additions and 15 deletions
|
@ -96,21 +96,9 @@ Recent posts format: <<[
|
|||
;; ---------------------
|
||||
|
||||
Post list format: <<[
|
||||
[post:begin]<article>
|
||||
<aside class="post-info">
|
||||
<a href="$location"><i class="fa-solid fa-clock"></i> <time class="dt-published" datetime="$date">$date</time></a>
|
||||
</aside>
|
||||
<i data-emoji="$emoji"></i>
|
||||
$body
|
||||
<aside class="post-info">
|
||||
<a class="status_url" href="$status_url" target="_blank"><i class="omg-icon omg-prami"></i> via status.lol</a>
|
||||
<a class="external_url" href="$external_url" target="_blank"><i class="omg-icon omg-fediverse"></i> Interact on the Fediverse</a>
|
||||
</aside>
|
||||
<aside class="post-tags">
|
||||
$tags
|
||||
</aside>
|
||||
</article>[post:end]]
|
||||
>>
|
||||
<div id="post-list">
|
||||
[post:begin]<article><h2><a href="$location">$title</a></h2></article>[post:end]
|
||||
</div>]>>
|
||||
|
||||
|
||||
;; Page list {page-list}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
type: page
|
||||
location: /blog
|
||||
title: Post List
|
||||
template: Home
|
||||
---
|
||||
|
||||
{post-list}
|
Loading…
Reference in a new issue