diff options
| author | Elias Haugsbakk <[email protected]> | 2026-07-22 14:14:24 +0200 |
|---|---|---|
| committer | Elias Haugsbakk <[email protected]> | 2026-07-22 14:14:24 +0200 |
| commit | 5ac83efd59ab85d0bdf82d5847fe9fe0b11232d9 (patch) | |
| tree | d45dde720f638853695940b79a6eb6a2d978ded8 /clams-server/src/main/resources/templates/articles.html | |
| parent | 8d86458282efae6c3fc26ab8fb4bd61d1a4e01e3 (diff) | |
update article to post on the backend and blog on the frontend
Diffstat (limited to 'clams-server/src/main/resources/templates/articles.html')
| -rw-r--r-- | clams-server/src/main/resources/templates/articles.html | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/clams-server/src/main/resources/templates/articles.html b/clams-server/src/main/resources/templates/articles.html deleted file mode 100644 index 5feddae..0000000 --- a/clams-server/src/main/resources/templates/articles.html +++ /dev/null @@ -1,38 +0,0 @@ -{% extends "templates/layout.html" %} - -{% block content %} -<main class="main-container"> - <a href="/" class="back-link-top">← back</a> - <header> - <h1>My articles</h1> - <p class="intro-text">A collection of my writings and thoughts.</p> - - <form action="/articles" method="GET" class="search-form"> - <input type="text" name="search" value="{{ search_value }}" placeholder="Search articles..." - aria-label="Search articles"> - <button type="submit" class="pill-button">Search</button> - </form> - </header> - - <section id="all" class="articles-section"> - <h2>All Articles</h2> - {% for group in articles_by_year %} - <details class="year-accordion" {% if loop.first %}open{% endif %}> - <summary class="year-toggle">{{ group.key }}</summary> - <ul class="article-list"> - {% for article in group.value %} - <li class="article-list-item"> - <span class="article-date">{{ article.formattedDate }}</span> - <a href="/articles/{{ article.slug }}">{{ article.title }}</a> - {% if article.summary is not empty %} - <br> - <span class="search-result-summary">-- {{ article.summary }}</span> - {% endif %} - </li> - {% endfor %} - </ul> - </details> - {% endfor %} - </section> -</main> -{% endblock %} |
