DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

a9344ec0ebc26e1c56abface3184fcc9f3b5d059 — Jonni Liljamo 20 days ago 2e99a64
feat: add data-umami-events
M content/entamin/_index.md => content/entamin/_index.md +2 -0
@@ 7,6 7,8 @@ description = "a small CLI tool for opinionated mkv cleaning"
template = "project.html"

[extra]
id = "entamin"

status = "active"

git = "https://git.src.quest/~liljamo/entamin"

M content/example/_index.md => content/example/_index.md +2 -0
@@ 11,6 11,8 @@ page_template = "log.html"
generate_feeds = true

[extra]
id = "example"

status = "inactive"

git = "https://git.tld"

M content/felu/_index.md => content/felu/_index.md +2 -0
@@ 7,6 7,8 @@ description = "self-hostable DDNS service"
template = "project.html"

[extra]
id = "felu"

status = "active"

git = "https://git.src.quest/~liljamo/felu"

M content/laurelin/_index.md => content/laurelin/_index.md +2 -0
@@ 7,6 7,8 @@ description = "multiplayer deck-building game"
template = "project.html"

[extra]
id = "laurelin"

status = "unknown"

git = "https://git.src.quest/~liljamo/deck-builder"

M content/liljamo.com/_index.md => content/liljamo.com/_index.md +2 -0
@@ 7,6 7,8 @@ description = "personal website"
template = "project.html"

[extra]
id = "liljamo.com"

status = "active"

external_link = "https://liljamo.com"

M content/liljamo.dev/_index.md => content/liljamo.dev/_index.md +2 -0
@@ 7,6 7,8 @@ description = "project showcase website"
template = "project.html"

[extra]
id = "liljamo.dev"

status = "active"

git = "https://git.src.quest/~liljamo/liljamo-dev-zola"

M content/sairinamc/_index.md => content/sairinamc/_index.md +2 -0
@@ 9,5 9,7 @@ description = "Minecraft launcher"
template = "project.html"

[extra]
id = "sairinamc"

status = "active"
+++

M content/tixe/_index.md => content/tixe/_index.md +2 -0
@@ 7,6 7,8 @@ description = "bookmarking / link organizing"
template = "project.html"

[extra]
id = "tixe"

status = "active"

git = "https://git.src.quest/~liljamo/tixe"

M templates/index.html => templates/index.html +5 -5
@@ 9,7 9,7 @@
            <figure>
                <img src="/img/240x135-placeholder.svg"/>
            </figure>
            <a class="font-semibold text-secondary-400 px-1 pt-1 hover:underline" href={{ section.permalink }}>{{ section.title }}</a>
            <a data-umami-event="project-{{ section.extra.id }}" class="font-semibold text-secondary-400 px-1 pt-1 hover:underline" href={{ section.permalink }}>{{ section.title }}</a>
            <p class="px-2">{{ section.description }}</p>
        </div>
    </div>


@@ 19,19 19,19 @@
    <div class="flex flex-col max-w-2xl gap-2">
        <p class="text-sm">
            This is not everything I've made, more is available
            <a class="text-secondary-500 font-semibold hover:underline" rel="noopener" target="_blank" href="https://git.src.quest/~liljamo/">on Source Quest</a>!
            <a data-umami-event="index-footer-src.quest" class="text-secondary-500 font-semibold hover:underline" rel="noopener" target="_blank" href="https://git.src.quest/~liljamo/">on Source Quest</a>!
            <br/>
            Though I cannot guarantee anything for projects not listed here. Be it quality, does it work, is it sane, does it serve any purpose, etc, etc.
        </p>
        <p class="text-sm">
            If you'd like to know more about me, head over to
            <a class="text-secondary-500 font-semibold hover:underline" rel="noopener" target="_blank" href="https://liljamo.com">liljamo.com</a>
            <a data-umami-event="index-footer-liljamo.com" class="text-secondary-500 font-semibold hover:underline" rel="noopener" target="_blank" href="https://liljamo.com">liljamo.com</a>
        </p>
        <p class="text-sm">
            This page uses
            <a data-umami-event="privacy-umami.is" class="font-semibold hover:underline text-sky-400" href="https://umami.is" target="_blank">umami</a>
            <a data-umami-event="index-footer-umami.is" class="font-semibold hover:underline text-sky-400" href="https://umami.is" target="_blank">umami</a>
            for analytics, and they are available publicly
            <a data-umami-event="privacy-share" class="font-semibold text-amber-400 hover:underline"
            <a data-umami-event="index-footer-share" class="font-semibold text-amber-400 hover:underline"
                href="https://umami.liljamo.dev/share/PYobxQHOgCy1sS2y/liljamo.dev" target="_blank">here</a>.
        </p>
    </div>

M templates/layouts/base.html => templates/layouts/base.html +2 -2
@@ 35,13 35,13 @@
                        backdrop-blur-sm"
                    >
                        <div class="flex gap-1">
                            <a class="hover:underline" href="/">{{ config.title }}</a>
                            <a data-umami-event="breadcrumbs-root" class="hover:underline" href="/">{{ config.title }}</a>
                            {% if current_url %}
                            {% set_global path = "" %}
                            {% for c in this.components %}
                            {% set_global path = path ~ "/" ~ c %}
                            <span>/</span>
                            <a class="hover:underline" href="{{ path }}/">{{ c }}</a>
                            <a data-umami-event="breadcrumbs-{{ c }}" class="hover:underline" href="{{ path }}/">{{ c }}</a>
                            {% endfor %}
                            {% else %}
                            <span>/</span>

M templates/project.html => templates/project.html +5 -5
@@ 8,26 8,26 @@
    <div class="flex flex-col gap-1 items-center">
        <p class="font-bold text-xl lg:text-2xl">{{ section.title }}</p>
        {% if section.extra.external_link %}
        <p class="lg:text-lg">See it in action: <a class="hover:underline italic font-semibold" rel="noopener" target="_blank" href={{ section.extra.external_link }}>
        <p class="lg:text-lg">See it in action: <a data-umami-event="project-{{ section.extra.id }}-external" class="hover:underline italic font-semibold" rel="noopener" target="_blank" href={{ section.extra.external_link }}>
            {{ section.extra.external_link_visual }}
        </a></p>
        {% endif %}
        {% if section.extra.git %}
        <a class="lg:text-lg text-orange-400 font-semibold hover:underline" rel="noopener" target="_blank" href={{ section.extra.git }}>Git 🦊</a>
        <a data-umami-event="project-{{ section.extra.id }}-git" class="lg:text-lg text-orange-400 font-semibold hover:underline" rel="noopener" target="_blank" href={{ section.extra.git }}>Git 🦊</a>
        {% endif %}
        {% if section.extra.docs %}
        <a class="text-sm lg:text-base text-emerald-400 font-semibold hover:underline" rel="noopener" target="_blank" href={{ section.extra.docs }}>RTFM</a>
        <a data-umami-event="project-{{ section.extra.id }}-docs" class="text-sm lg:text-base text-emerald-400 font-semibold hover:underline" rel="noopener" target="_blank" href={{ section.extra.docs }}>RTFM</a>
        {% endif %}
    </div>
    {% if section.pages %}
    <div class="flex flex-col items-center p-2 border border-text-100 rounded-xl drop-shadow-sm">
        <p class="text-lg">{{ section.extra.logs_visual }}</p>
        {% if section.generate_feeds %}
        <a class="hover:underline" href="{{ section.path }}atom.xml">RSS Feed</a>
        <a data-umami-event="project-{{ section.extra.id }}-feed" class="hover:underline" href="{{ section.path }}atom.xml">RSS Feed</a>
        {% endif %}
        <div class="flex flex-col p-1">
            {% for page in section.pages %}
            <a class="hover:underline" href={{ page.permalink }}>{{ page.title }}</a>
            <a data-umami-event="project-{{ section.extra.id }}-page-{{ page.slug }}" class="hover:underline" href={{ page.permalink }}>{{ page.title }}</a>
            {% endfor %}
        </div>
    </div>