From 653af6694e9adabf5a7448d4e2f9b5bc347137c2 Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Fri, 17 Apr 2026 17:43:48 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20add=20/telos=20slashpage=20=E2=80=94=20?= =?UTF-8?q?collects=20posts=20tagged=20with=20telos=20category?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Posts published with category: telos appear at /telos/. Links to telos.giersig.eu dashboard. Added to /slashes/ index. Co-Authored-By: Claude Sonnet 4.6 --- slashes.njk | 8 ++++++ telos.njk | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 telos.njk diff --git a/slashes.njk b/slashes.njk index ace8fc5..3270a31 100644 --- a/slashes.njk +++ b/slashes.njk @@ -181,6 +181,14 @@ eleventyImport:

Content digest

+
  • +
    +

    + /telos +

    +
    +

    TELOS — persönliches Life-OS: Orientierung, Werte, Jahresrahmungen

    +
  • diff --git a/telos.njk b/telos.njk new file mode 100644 index 0000000..0cc6294 --- /dev/null +++ b/telos.njk @@ -0,0 +1,71 @@ +--- +layout: layouts/base.njk +title: TELOS +withSidebar: true +permalink: /telos/ +--- +
    + +

    TELOS

    +

    + Posts zu meinem persönlichen Life-OS: Orientierung, Werte, Jahresrahmungen, Reflexionen. +

    +

    + Dashboard: telos.giersig.eu + · Aktuelle Rahmung 2026: Vollständiger werden +

    + + {% set telosPosts = [] %} + {% for post in collections.posts %} + {% if post.data.category | categoryMatches("telos") %} + {% set telosPosts = (telosPosts.push(post), telosPosts) %} + {% endif %} + {% endfor %} + + {% if telosPosts.length > 0 %} +

    {{ telosPosts.length }} post{% if telosPosts.length != 1 %}s{% endif %}

    +
      + {% for post in telosPosts %} + {% set postType = post.inputPath | replace("./content/", "") %} + {% set postType = postType.split("/")[0] %} + {% if postType == "likes" %} + {% set borderClass = "border-l-[3px] border-l-red-400 dark:border-l-red-500" %} + {% elif postType == "bookmarks" %} + {% set borderClass = "border-l-[3px] border-l-amber-400 dark:border-l-amber-500" %} + {% elif postType == "replies" %} + {% set borderClass = "border-l-[3px] border-l-accent-400 dark:border-l-accent-500" %} + {% else %} + {% set borderClass = "border-l-[3px] border-l-surface-300 dark:border-l-surface-600" %} + {% endif %} +
    • +
      +

      + + {{ post.data.title or post.templateContent | striptags | truncate(60) or "Untitled" }} + +

      +
      + +

      + {{ post.templateContent | striptags | truncate(250) }} +

      + + View → + +
    • + {% endfor %} +
    + {% else %} +
    +

    + Noch keine Posts mit der Kategorie telos. Posts über Indiekit mit category: telos veröffentlichen. +

    +
    + {% endif %} + +