diff options
author | Adam T. Carpenter <atc@53hor.net> | 2025-06-04 08:15:24 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2025-06-04 08:15:24 -0400 |
commit | 418de21a5795c9e3da3963ecaa6214dc67d977b4 (patch) | |
tree | 73954006d01b21e8f87d252f0304f76e3ec2ce03 /templates | |
parent | 79f954688a75e7f83b30c5c9a506e343155434ce (diff) | |
download | carpentertutoring-418de21a5795c9e3da3963ecaa6214dc67d977b4.tar.xz carpentertutoring-418de21a5795c9e3da3963ecaa6214dc67d977b4.zip |
feat: replace blog links with arrow buttons and include descriptions, change headings
Diffstat (limited to 'templates')
-rw-r--r-- | templates/posts.html.j2 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/posts.html.j2 b/templates/posts.html.j2 index e26465e..60a10c2 100644 --- a/templates/posts.html.j2 +++ b/templates/posts.html.j2 @@ -14,9 +14,14 @@ <section class="cards"> {% for post in posts %} <div class="card"> - <h2> - <a href="/blog/{{ post.get_title()|e }}">{{ post.get_title() }}</a> - </h2> + <h6> + {{ post.get_title()|e }} + </h6> + <p> + {{ post.get_description()|safe }} + </p> + + <a target="_blank" href="/blog/{{ post.get_title()|e }}">Read more</a> </div> {% endfor %} </section> |