#11 ADD page creation for SHORT and links in main feed

This commit is contained in:
Caffeine Fueled 2025-10-13 01:09:57 +02:00
parent e0a9427307
commit a08a7f537e
Signed by: cf7
GPG key ID: CA295D643074C68C
2 changed files with 3 additions and 3 deletions

View file

@ -211,9 +211,9 @@ class SSGGGenerator:
for feed_name, posts in feeds.items():
self.generate_index(posts, feed_name)
# Generate individual pages for long posts and pages
# Generate individual pages for long posts, short posts, and pages
for post in all_posts:
if post['type'] in ['long', 'page']:
if post['type'] in ['long', 'short', 'page']:
self.generate_post_page(post)
# Copy assets

View file

@ -11,7 +11,7 @@
<article class="post">
<div class="post-meta">{{ post.date }}</div>
<h2 class="post-title">
{% if post.type == 'long' %}
{% if post.type in ['long', 'short'] %}
<a href="{{ post.url }}">{{ post.title }}</a>
{% else %}
{{ post.title }}