aboutsummaryrefslogtreecommitdiffstats
path: root/other.md
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2020-12-09 12:39:31 +0300
committerla-ninpre <leobrekalini@gmail.com>2020-12-09 12:42:53 +0300
commit2d91f98aae123493bf3739f874cf42a73dbb643b (patch)
treeb64fecdbae63850c8b7728f042b74307305f6174 /other.md
parent94aa9aef93789893416dcbc21851a16915e852b0 (diff)
downloadaaoth.xyz-2d91f98aae123493bf3739f874cf42a73dbb643b.tar.gz
aaoth.xyz-2d91f98aae123493bf3739f874cf42a73dbb643b.zip
move duplicated code to include file
because it was the same in tagsort and other pages.
Diffstat (limited to 'other.md')
-rw-r--r--other.md11
1 files changed, 1 insertions, 10 deletions
diff --git a/other.md b/other.md
index 8d1b713..51ac50f 100644
--- a/other.md
+++ b/other.md
@@ -12,15 +12,6 @@ filter by tag: {% for tag in site.tags %}[{{ tag[0] }}](/tags/{{ tag[0] }})
<div class="posts">
{% for post in site.posts %}
- <div class="post">
- <h2 id="{{ post.title | slugify }}">
- <a href="{{ post.url }}">{{ post.title }}</a>
- </h2>
- {{ post.excerpt }}
- <p>
- <a href="{{ post.url }}">read more...</a>
- </p>
- <small><p>{{ post.date | date_to_string }}</p></small>
- </div>
+ {% include post-preview.html %}
{% endfor %}
</div>