diff --git a/blueprints/root/templates/base.pug b/blueprints/root/templates/base.pug index cbd6e79..358cac1 100644 --- a/blueprints/root/templates/base.pug +++ b/blueprints/root/templates/base.pug @@ -6,6 +6,25 @@ html(lang=g.locale) link(rel="stylesheet" href="/static/style/main.css") link(rel="icon" type="image/webp" href="/static/img/lair.webp") + //- Yggdrasil links + link(rel="ygg-banner" href="/static/img/88x31/lair.gif") + + link( + rel="alternate" + data-ygg-type="clearnet" + href="https://lair.moe" + title="Clearnet address") + link( + rel="alternate" + data-ygg-type="alfis" + href="http://lair.ygg" + title="Alfis domain") + link( + rel="alternate" + data-ygg-type="ygg-ipv6" + href="http://[201:96:5188::a690:7908:da7a]" + title="Direct IPv6") + script(src="/static/script/copy-mono.js") if request.headers.get('DNT') != "1": @@ -24,6 +43,16 @@ html(lang=g.locale) meta(property="og:image" value="https://lair.moe/static/img/lair.webp") meta(property="og:description" value=_("description")) + //- Yggdrasil meta + meta(name="ygg-category" content="service") + meta(name="ygg-topic" content="federation") + meta(name="ygg-topic" content="tools") + + meta(name="ygg-language" content="ru") + meta(name="ygg-language" content="en") + meta(name="ygg-language" content="de") + meta(name="ygg-language" content="fr") + meta(name="ygg-language" content="jp") body include root/templates/header.pug diff --git a/blueprints/root/templates/index.pug b/blueprints/root/templates/index.pug index 12b8d0b..46b4501 100644 --- a/blueprints/root/templates/index.pug +++ b/blueprints/root/templates/index.pug @@ -67,7 +67,16 @@ block content p strong Yggdrasil | : - span.mono 200:ee1:bad2:1732:4b91:c3e3:2f08:29b3 + ul + li + = "IPv6: " + span.mono 201:96:5188::a690:7908:da7a + li + = "DNS: " + span.mono ygg.lair.moe + li + = "Alfis: " + span.mono lair.ygg .webring a.block(href="https://nixwebr.ing/prev/lair" rel="external prev") ←