From cff0caec1dc295f946dd229b6edaa9d3fdea8952 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sun, 19 Jan 2025 20:28:04 +0100 Subject: [PATCH] perf: move timeago script to bottom --- templates/_home.html | 6 +++++- templates/_tag.html | 7 ++++++- templates/import-map.html | 4 ---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/templates/_home.html b/templates/_home.html index 448d0e8..b1fdfb1 100644 --- a/templates/_home.html +++ b/templates/_home.html @@ -148,7 +148,7 @@ {% include "styles.html" %} - {% include "import-map.html" %} + @@ -200,6 +200,10 @@

Rendered on {{ render_date }} in Europe/Amsterdam

+ diff --git a/templates/_tag.html b/templates/_tag.html index aba8925..58c9d66 100644 --- a/templates/_tag.html +++ b/templates/_tag.html @@ -143,7 +143,7 @@ {% include "styles.html" %} - {% include "import-map.html" %} + @@ -194,6 +194,11 @@

Rendered on {{ render_date }} in Europe/Amsterdam

+ + diff --git a/templates/import-map.html b/templates/import-map.html index 8219586..d99d0b2 100644 --- a/templates/import-map.html +++ b/templates/import-map.html @@ -4,8 +4,4 @@ "web-component-base": "https://esm.sh/web-component-base@2.1.2/es2022/web-component-base.mjs" } } - - - \ No newline at end of file