diff options
| author | user@node5.net <user@node5.net> | 2025-09-18 21:38:27 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2025-09-18 21:38:27 +0200 |
| commit | d812fc5c7d352200f595d1320a5c830f055ccc1d (patch) | |
| tree | 035aafb159c2e6671ad11176960aed0aeb45d67d | |
| parent | 0ae11c6e6ef7e3ff0dbe9acf2737274dc4585ff8 (diff) | |
Folder - No img 📄 alt text
| -rw-r--r-- | blog.node5.net/static/folder.css | 2 | ||||
| -rw-r--r-- | blog.node5.net/templates/folder.html | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/blog.node5.net/static/folder.css b/blog.node5.net/static/folder.css index 418739c..5c755aa 100644 --- a/blog.node5.net/static/folder.css +++ b/blog.node5.net/static/folder.css @@ -22,7 +22,7 @@ ol { } .entry img { - font-size: 2em; + font-size: 4em; width: 200px; float: left; text-align: center; diff --git a/blog.node5.net/templates/folder.html b/blog.node5.net/templates/folder.html index 97c92a2..ae9456e 100644 --- a/blog.node5.net/templates/folder.html +++ b/blog.node5.net/templates/folder.html @@ -8,11 +8,7 @@ {% for article in folder.articles %} <li class="entry"> <a href="{{ article.name }}"> - {% if article.folder_path %} - <img src="{{ article.thumbnail_path }}" alt="📄"/> - {% else %} - <div style="width: 200px"></div> - {% endif %} + <img src="{{ article.thumbnail_path }}" alt="📄"/> <div class="entry-text"> <div> <h3 class="inline">{{ article.name }}</h3> |
