From 52f7cd4c0cf0d9ce25db21fe6efe88655e176a93 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 30 Apr 2026 13:48:10 +0200 Subject: feat: load Twemoji CDN and init script on article pages --- layouts/_default/baseof.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 482006e..e357e66 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -107,6 +107,13 @@ {{ end }} + + {{ if eq .Kind "page" }} + + {{ $twemojiScript := resources.Get "js/twemoji-init.js" | minify }} + + {{ end }} + {{ with resources.Get "js/matrix-rain.js" }} {{ $s := . | minify }} -- cgit v1.2.3