Skip to content

Commit 85a1d8d

Browse files
committedNov 9, 2024··
updated blog display with author information
1 parent 6f56605 commit 85a1d8d

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed
 

‎content/blogs/testblog 2.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
+++
2-
title = "[test] How I made a Monzu interpreter"
2+
title = "[test] example blog "
33
date = 2024-11-09
4-
description = "A deep-dive into this bizarre yet funny, compiled low-level programming language, especially by the organization's founder."
4+
description = "This is an example blog post."
55
authors = ["furtidev"]
66
[taxonomies]
77
tags = ["test"]

‎templates/blogs.html

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{% extends "base.html" %} {% block content %}
22

33
<center>
4-
<h1><i class="fa-solid fa-mug-hot"></i> Latest <u>Blogs</u></h1>
4+
<h1>
5+
<i class="fa-solid fa-mug-hot"></i> Latest
6+
<u class="pico-color-pumpkin-200">Blogs</u>
7+
</h1>
58
<hr />
69

710
{% if paginator.pages|length == 0 %} no blogs! {%else%} {% for page in
@@ -14,10 +17,14 @@ <h1><i class="fa-solid fa-mug-hot"></i> Latest <u>Blogs</u></h1>
1417
</div>
1518
<div class="blog-post-right">
1619
<i class="fa-solid fa-hourglass-half"></i> {{ page.date |
17-
date(format="%b %d, %Y") }} <i class="fa-solid fa-user"></i> {{
18-
page.authors[0] }}
20+
date(format="%b %d, %Y") }} <i class="fa-solid fa-user"></i>
21+
<a href="https://github.com/{{ page.authors[0] }}"
22+
>{{ page.authors[0] }}</a
23+
>
1924
</div>
2025
</div>
2126

22-
{% endfor %} {% endif %} {% endblock content %}
27+
{% endfor %} {% endif %}
2328
</center>
29+
30+
{% endblock content %}

0 commit comments

Comments
 (0)
Please sign in to comment.