hennzau

21 commits
Updated 2026-04-25 12:39:37
frontend/templates/content
frontend/templates/content/jj.html
{% extends "index.html" %}

{% block main_content %}
    <div class="jj-hero">
        <h1 class="title">~/jj</h1>
        <p class="subtitle">{{ section.pages | length }} repositories hosted on this server</p>
    </div>

    {{ section.content | safe }}

    <div class="jj">
        {%- for page in section.pages %}

        <a class="repo" href="{{ page.permalink | safe }}" >
            <div class="header">
                <h1>{{ page.title }}</h1>
            </div>

            <p class="description">{{ page.extra.description }}</p>

            <div class="meta">
                <span class="item">
                    <svg height="12" width="12" viewBox="0 0 16 16">
                        <path fill="currentColor" d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"></path>
                    </svg>
                    {{ page.extra.commits }}
                </span>

                <span class="item">
                    <svg height="12" width="12" viewBox="0 0 16 16">
                        <path fill="currentColor" d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0Z"></path>
                    </svg>
                    {{ page.extra.last_updated }}
                </span>
            </div>
        </a>

        {% endfor -%}
    </div>
{% endblock main_content %}