adds and renames

Dieser Commit ist enthalten in:
user0x42 2025-01-23 09:29:59 +01:00
Ursprung 067284f8ae
Commit a127739394
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
9 geänderte Dateien mit 166 neuen und 22 gelöschten Zeilen

Datei anzeigen

@ -1,6 +1,6 @@
title = "user0x42"
base_url = "https://u42.dev"
description = "Home of a Random Dude."
description = "Home of a Random Dude"
theme = "duckquill"
@ -63,7 +63,7 @@ fix_contrast_dark = true
# Whether to use fonts bundled with Duckquill instead of system ones.
# Keep in mind that it also changes the style of headings.
#
bundled_fonts = true
bundled_fonts = false
#
# Use emoji as a favicon.
# Only one emoji is being rendered, everything else is truncated.
@ -77,15 +77,12 @@ source_url = "https://codeberg.org/user0x42/u42"
# Additional CSS styles; expects them to be in the "./static/" directory.
# If you are using Sass it will be generated there automatically.
#
styles = [
"mods.css"
]
styles = ["mods.css"]
#
# Additional JavaScript scripts; expects them to be in the "./static/" directory.
#
# scripts = [
# "YOUR_SCRIPT.js",
# "ALSO_YOUR_SCRIPT.js"
# ]
#
# Whether to show "copy code" button on all code blocks
@ -142,11 +139,11 @@ csp = [
[extra.nav]
# Whether to automatically hide nav when not hovered or focused
auto_hide = true
auto_hide = false
# Whether to show the Atom/RSS feed button in the nav
show_feed = true
# Whether to show the manual theme switcher in the nav
show_theme_switcher = true
show_theme_switcher = false
# Whether to show the link to the source repository in the nav
show_repo = true
# Links used in the nav.
@ -161,7 +158,7 @@ show_repo = true
#]
links = [
{ url = "@/blog/_index.md", name = "Blog" },
{ url = "https://diadz.de", name = "DIADZ" }
{ url = "https://xsiz.eu", name = "XSIZ" },
]
[extra.footer]
@ -169,7 +166,7 @@ links = [
# Same as the nav ones.
links = [
{ url = "@/blog/_index.md", name = "Blog" },
{ url = "https://diadz.de", name = "DIADZ" }
{ url = "https://diadz.de", name = "DIADZ" },
]
# Social links in the footer.
# Any URL-encoded SVG can be used as an icon.
@ -208,6 +205,9 @@ user = "user0x42"
show_qr = true
# GoatCounter analytics; enabled only if present in config.
[extra.goatcounter]
# [extra.goatcounter]
# host = "YOUR_SERVER"
user = "u42"
# user = "u42"
#
# Additional JavaScript scripts; expects them to be in the "./static/" directory.
#

Datei anzeigen

@ -15,6 +15,3 @@ title = "Home"
╚──────────────────────────────────────────────────────────────────╝
```
{% end %}
<progress value="30" max="100"></progress>
<p style="text-align:center;"><mark>Website Status</mark></p>

Datei anzeigen

Vorher

Breite:  |  Höhe:  |  Größe: 2,1 MiB

Nachher

Breite:  |  Höhe:  |  Größe: 2,1 MiB

Datei anzeigen

@ -1,6 +1,28 @@
body {
background-image: var(--bg-overlay), url("u42-aaabstract.png");
font-family: "U42SansNerd", sans-serif;
background-image: var(--bg-overlay), url("bg.png");
background-position: center;
background-size: cover;
background-attachment: fixed;
}
@font-face {
font-family: "U42SansNerd";
src: url("/fonts/U42SansNerdFont-Extended.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
text-wrap: balance;
margin: 2rem 0 1rem;
font-weight: bold;
line-height: normal;
font-family: "U42SansNerd", sans-serif;
letter-spacing: 0em;
}

Binäre Datei nicht angezeigt.

BIN
static/img/u42.png Normale Datei

Binäre Datei nicht angezeigt.

Nachher

Breite:  |  Höhe:  |  Größe: 1,1 MiB

BIN
static/img/u42c.png Normale Datei

Binäre Datei nicht angezeigt.

Nachher

Breite:  |  Höhe:  |  Größe: 115 KiB

125
templates/partials/head.html Normale Datei
Datei anzeigen

@ -0,0 +1,125 @@
<head>
<!-- {{ now() | date(format='%F %a %R') }} -->
<meta charset="UTF-8" />
<meta name="description" content="{{ config.description }}" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="{{ config.extra.accent_color | default(value='#9a9996') | safe }}" />
{%- if config.extra.accent_color_dark %}
<meta name="theme-color" content="{{ config.extra.accent_color_dark | safe }}" media="(prefers-color-scheme:dark)" />
{%- endif %}
{%- if config.extra.csp %}
{%- include "partials/csp.html" %}
{%- endif %}
<title>{% include "partials/title.html" %}</title>
<link rel="canonical" href="{{ current_url | default(value='/') | safe }}" />
{%- if config.extra.comments %}
<link rel="me" href="https://{{ config.extra.comments.host }}/@{{ config.extra.comments.user }}" />
<meta name="fediverse:creator" content="@{{ config.extra.comments.user }}@{{ config.extra.comments.host }}" />
{%- endif %}
{%- include "partials/favicon.html" %}
{%- if config.generate_feeds and config.feed_filenames %}
{% for feed in config.feed_filenames %}
{% if feed == "atom.xml" %}
<link rel="alternate" type="application/atom+xml" title="{{ config.title }} - Atom Feed" href="{{ get_url(path=feed) | safe }}">
{% elif feed == "rss.xml" %}
<link rel="alternate" type="application/rss+xml" title="{{ config.title }} - RSS Feed" href="{{ get_url(path=feed) | safe }}">
{% else %}
<link rel="alternate" href="{{ get_url(path=feed) | safe }}">
{% endif %}
{% endfor %}
{% endif %}
{%- include "partials/variables.html" %}
{%- set styles = [ "style.css" ] %}
{%- if config.extra.bundled_fonts %}
{%- set styles = styles | concat(with=["fonts.css"]) %}
{%- endif %}
{%- if page.extra.katex or section.extra.katex or config.extra.katex %}
{%- set styles = styles | concat(with=["katex.css"]) %}
{%- endif %}
{%- if config.extra.styles %}
{%- set styles = styles | concat(with=config.extra.styles) %}
{%- endif %}
{%- if page.extra.styles %}
{%- set styles = styles | concat(with=page.extra.styles) %}
{%- elif section.extra.styles %}
{%- set styles = styles | concat(with=section.extra.styles) %}
{%- endif %}
{%- if not config.extra.debug.no_styles %}
{%- for style in styles %}
<link type="text/css" rel="stylesheet" href="{{ get_url(path=style) | safe }}" />
{%- endfor %}
{%- if config.markdown.highlight_code and config.markdown.highlight_theme == "css" %}
{%- if config.markdown.highlight_themes_css | length > 0 %}
<link type="text/css" rel="stylesheet" href="{{ get_url(path='syntax-theme-light.css') }}" media="(prefers-color-scheme: light)" />
<link type="text/css" rel="stylesheet" href="{{ get_url(path='syntax-theme-dark.css') }}" media="(prefers-color-scheme: dark)" />
{%- else %}
<link type="text/css" rel="stylesheet" href="{{ get_url(path='syntax-theme.css') }}" />
{%- endif %}
{%- endif %}
{%- endif %}
{%- set scripts = ["closable.js"] %}
{%- if config.extra.show_copy_button %}
{%- set scripts = scripts | concat(with=["copy-button.js"]) %}
{%- endif %}
{%- if config.extra.goatcounter %}
{%- set scripts = scripts | concat(with=["count.js"]) %}
{%- endif %}
{%- if page.extra.katex or section.extra.katex or config.extra.katex %}
{%- set scripts = scripts | concat(with=["katex.min.js", "auto-render.min.js", "katex-init.js"]) %}
{%- endif %}
{%- if config.build_search_index %}
{%- if config.search.index_format == "elasticlunr_json" -%}
{%- set scripts = scripts | concat(with=["elasticlunr.min.js", "search-elasticlunr.js"]) %}
{%- elif config.search.index_format == "fuse_json" -%}
{%- set scripts = scripts | concat(with=["fuse.js", "search-fuse.js"]) %}
{%- endif -%}
{%- endif %}
{%- if config.extra.nav.show_theme_switcher %}
{%- set scripts = scripts | concat(with=["theme-switcher.js"]) %}
{%- endif %}
{%- if page.extra.comments.id %}
{%- set scripts = scripts | concat(with=["comments.js"]) %}
{%- endif %}
{%- if config.extra.scripts %}
{%- set scripts = scripts | concat(with=config.extra.scripts) %}
{%- endif %}
{%- if page.extra.scripts %}
{%- set scripts = scripts | concat(with=page.extra.scripts) %}
{%- elif section.extra.scripts %}
{%- set scripts = scripts | concat(with=section.extra.scripts) %}
{%- endif %}
{%- if scripts | length > 0 %}
{%- for script in scripts %}
<script type="text/javascript" defer {% if script == "count.js" %}data-goatcounter="https://{{ config.extra.goatcounter.user }}.{{ config.extra.goatcounter.host | default(value='goatcounter.com') }}/count"{% endif %} src="{{ get_url(path=script) | safe }}"></script>
{%- endfor %}
{%- endif %}
<script defer src="https://al.xsiz.eu/funal" data-website-id="deb06d65-7c3e-4733-b3b7-669878be3100"></script>
<meta property="og:site_name" content="{{ config.title }}" />
<meta property="og:title" content="{% include 'partials/title.html' %}" />
<meta property="og:url" content="{{ current_url | default(value='/') | safe }}" />
<meta property="og:description" content="{% include 'partials/description.html' %}" />
<meta property="og:image" content="{% include 'partials/card.html' %}" />
<meta property="og:locale" content="{{ macros_translate::translate(key='date_locale', default='en_US', language_strings=language_strings) }}" />
</head>

@ -1 +1 @@
Subproject commit 66d2504350d37921be8a31c9cb24c151360fbd6e
Subproject commit 4f8e8786fad9b9ce64d548d975189b8d7e36c05a