aboutsummaryrefslogtreecommitdiffstats
path: root/other.md
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-12-07 15:54:16 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-12-07 15:54:16 +0300
commitfec80dcc6e250ceeaa78f1444dd8c021df2e487c (patch)
treed66080e7a8c9d417937026154c0147cb8e7a1742 /other.md
parent7171daaae6bce48163b630711dc00875467c98c3 (diff)
downloadaaoth.xyz-fec80dcc6e250ceeaa78f1444dd8c021df2e487c.tar.gz
aaoth.xyz-fec80dcc6e250ceeaa78f1444dd8c021df2e487c.zip
update fossil export post
tested that sed cmd, and it was not perfect, so i polished it a bit. also add post excerpt functionality.
Diffstat (limited to 'other.md')
-rw-r--r--other.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/other.md b/other.md
index 7240f5b..67a7d5d 100644
--- a/other.md
+++ b/other.md
@@ -12,9 +12,12 @@ filter by tag: {% for tag in site.tags %}[{{ tag[0] }}](/tags/{{ tag[0] }})
{% for post in site.posts %}
<div class="post">
<h2 id="{{ post.title | slugify }}">
- <a href="{{ post.url}}">{{ post.title }}</a>
+ <a href="{{ post.url }}">{{ post.title }}</a>
</h2>
- {{ post.content }}
+ {{ post.excerpt }}
+ <p>
+ <a href="{{ post.url }}">read more...</a>
+ </p>
<small><p>{{ post.date | date_to_string }}</p></small>
</div>
{% endfor %}