From 2719c4cc3a0ec1f74795a337820598e94c1ca899 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 31 Oct 2021 17:34:14 +0100 Subject: [PATCH] update processing and url footer layout --- c3woc.lektorproject | 4 +-- templates/layout.html | 81 +++++++++++-------------------------------- 2 files changed, 22 insertions(+), 63 deletions(-) diff --git a/c3woc.lektorproject b/c3woc.lektorproject index 434e9b4..752a419 100644 --- a/c3woc.lektorproject +++ b/c3woc.lektorproject @@ -27,5 +27,5 @@ url_prefix = /en/ [packages] lektor-scss = 1.4.1 -lektor-image-resize = 0.6.1 -lektor-image-filter = 2.1 +lektor-image-resize = 1.0.0 +lektor-image-filter = 3.0 diff --git a/templates/layout.html b/templates/layout.html index e0b85e5..8eb5e27 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -143,78 +143,37 @@ __ ____ _| |_| |_| | ___

Waffeln im Internet:
{% if '/images/icons/social/mastodon.svg'|asseturl is defined -%} - + {%- else -%} Mastodon {%- endif %} - - {% if '/images/icons/social/twitter.svg'|asseturl is defined -%} - + {%- for ziel, name, icon in [ + ['https://twitter.com/c3woc/', 'Twitter', '/images/icons/social/twitter.svg'], + ['https://waffel.reddit.com/', 'Reddit', '/images/icons/social/reddit.svg'], + ['https://t.me/c3woc', 'Telegram', '/images/icons/social/telegram.svg'], + ['https://webirc.hackint.org/#irc://irc.hackint.org/#waffel', 'IRC', '/images/icons/social/hackint.svg'], + ['https://podcast.c3woc.de/', 'Das heiße Eisen - Der Waffel-Podcast', '/images/icons/social/podcast.svg'], + ['https://podcast.c3woc.de/podcast-he.xml', 'Podcast Feed', '/images/icons/social/feed.svg'], + ['https://backwesen.de/c3woc/', 'Source Code', '/images/icons/social/gitea.svg'], + ['https://github.com/c3woc/', 'Github', '/images/icons/social/github.svg'] + ] -%} + {{- '\n' }} + {%- if icon|asseturl is defined -%} + {{- '\n' }} {%- else -%} - Twitter + {{- name -}} {%- endif %} - - - {% if '/images/icons/social/reddit.svg'|asseturl is defined -%} - - {%- else -%} - Reddit - {%- endif %} - - - {% if '/images/icons/social/telegram.svg'|asseturl is defined -%} - - {%- else -%} - Telegram - {%- endif %} - - - {% if '/images/icons/social/hackint.svg'|asseturl is defined -%} - - {%- else -%} - IRC - {%- endif %} - - - {% if '/images/icons/social/podcast.svg'|asseturl is defined -%} - - {%- else -%} - Podcast - {%- endif %} - - - {% if '/images/icons/social/feed.svg'|asseturl is defined -%} - - {%- else -%} - Podcast Feed - {%- endif %} - -

-

Quellcode und Versionsverwaltung:
- - {% if '/images/icons/social/gitea.svg'|asseturl is defined -%} - - {%- else -%} - Gitea - {%- endif %} - - - {% if '/images/icons/social/github.svg'|asseturl is defined -%} - - {%- else -%} - Github - {%- endif %} - + {{- '\n' }} + {%- endfor %}

+ Impressum + | + Datenschutz