More experimenting with post list format
All checks were successful
/ weblog.lol (push) Successful in 10s
All checks were successful
/ weblog.lol (push) Successful in 10s
This commit is contained in:
parent
d73d49a3f0
commit
1711e6733e
3 changed files with 24 additions and 26 deletions
|
@ -63,8 +63,8 @@ tags: Blog,
|
||||||
|
|
||||||
]>>
|
]>>
|
||||||
|
|
||||||
Titleless title length: 15 words
|
Titleless title length: 10 words
|
||||||
// Truncation appendix: […]
|
Truncation appendix: […]
|
||||||
// Title format: <h1><a href="$permalink">$title</a></h1>
|
// Title format: <h1><a href="$permalink">$title</a></h1>
|
||||||
|
|
||||||
Multiple posts count: 10
|
Multiple posts count: 10
|
||||||
|
@ -96,21 +96,10 @@ Recent posts format: <<[
|
||||||
;; ---------------------
|
;; ---------------------
|
||||||
|
|
||||||
Post list format: <<[
|
Post list format: <<[
|
||||||
[post:begin]<article>
|
<article>
|
||||||
<aside class="post-info">
|
<ul class="fa-ul">
|
||||||
<a href="$location"><i class="fa-solid fa-clock"></i> <time class="dt-published" datetime="$date">$date</time></a>
|
[post:begin]<li><span class="fa-li"><i class="fa-solid fa-globe"></i></span><a href="$location">$title</a></li>[post:end]
|
||||||
</aside>
|
</ul></article>]>>
|
||||||
<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]]
|
|
||||||
>>
|
|
||||||
|
|
||||||
|
|
||||||
;; Page list {page-list}
|
;; Page list {page-list}
|
||||||
|
@ -147,19 +136,17 @@ Tags format: <<[
|
||||||
[tag:begin]<a class="tag" href="$tag_location">$tag</a>[tag:end]
|
[tag:begin]<a class="tag" href="$tag_location">$tag</a>[tag:end]
|
||||||
]>>
|
]>>
|
||||||
Tag page format: <<[
|
Tag page format: <<[
|
||||||
<h2>Posts tagged with “$tag”</h2>
|
<h2>Posts tagged with <span class="tag">$tag</tag></h2>
|
||||||
<ul>
|
<ul class="fa-ul">
|
||||||
[tag:begin]<li><a href="$location">$title</a></li>[tag:end]
|
[tag:begin]<li><span class="fa-li"><i class="fa-solid fa-globe"></i></span><a href="$location">$title</a></li>[tag:end]
|
||||||
</ul>
|
</ul>
|
||||||
]>>
|
]>>
|
||||||
|
|
||||||
Tag listing path: /tags
|
Tag listing path: /tags
|
||||||
// Tag listing template: Tag Listing Template
|
// 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
|
// 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: <<[
|
Tag listing format: <<[
|
||||||
<h2>Tags</h2>
|
<h1>Tags</h1>
|
||||||
<ul>
|
[tag:begin]<a class="tag" href="$location">$tag ($count)</a>[tag:end]
|
||||||
[tag:begin]<li><a href="$location">$tag</a> ($count)</li>[tag:end]
|
|
||||||
</ul>
|
|
||||||
]>>
|
]>>
|
|
@ -79,6 +79,10 @@ main>nav,
|
||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main.page {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.post-info {
|
.post-info {
|
||||||
margin-top: -1rem;
|
margin-top: -1rem;
|
||||||
margin-right: -1rem;
|
margin-right: -1rem;
|
||||||
|
@ -307,6 +311,12 @@ footer p {
|
||||||
border-radius: .5em;
|
border-radius: .5em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
font-family: var(--font-code);
|
||||||
|
font-weight: var(--font-code-weight);
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 .tag {
|
||||||
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag:hover {
|
.tag:hover {
|
||||||
|
@ -469,7 +479,7 @@ main.home{
|
||||||
box-shadow: 0 0 1em 1px var(--primary-muted), 0 0 .5em 1px var(--white-glow);
|
box-shadow: 0 0 1em 1px var(--primary-muted), 0 0 .5em 1px var(--white-glow);
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile-items>ul {
|
ul.fa-ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
type: page
|
type: page
|
||||||
location: /blog
|
location: /blog
|
||||||
title: Post List
|
title: Post List
|
||||||
|
template: Home
|
||||||
---
|
---
|
||||||
|
|
||||||
{post-list}
|
{post-list}
|
Loading…
Reference in a new issue