From 1c09cc00ddf9f674188879c60953d152a13d7a4c Mon Sep 17 00:00:00 2001 From: themelm Date: Sun, 25 May 2025 00:58:27 -0700 Subject: [PATCH] add HBbootsrap and encode modules --- config/_default/module.toml | 4 ++ content/_index.md | 4 ++ hugo.toml | 18 +++++++-- public/404.html | 14 +++---- public/authors/index.html | 14 +++---- public/authors/index.xml | 4 +- public/categories/index.html | 14 +++---- public/categories/index.xml | 4 +- public/index.html | 75 +++++++++++++++++++++++++++++++----- public/index.json | 2 +- public/index.xml | 4 +- public/robots.txt | 4 +- public/series/index.html | 14 +++---- public/series/index.xml | 4 +- public/sitemap.xml | 2 +- public/tags/index.html | 14 +++---- public/tags/index.xml | 4 +- 17 files changed, 137 insertions(+), 62 deletions(-) diff --git a/config/_default/module.toml b/config/_default/module.toml index 74f7727..5a2c64e 100644 --- a/config/_default/module.toml +++ b/config/_default/module.toml @@ -1,3 +1,7 @@ [hugoVersion] extended = false min = "0.87.0" +[[imports]] + path = "github.com/nunocoracao/blowfish/v2" +[[imports]] + path = 'github.com/hugomods/encoder' diff --git a/content/_index.md b/content/_index.md index c4d7829..7170944 100644 --- a/content/_index.md +++ b/content/_index.md @@ -51,3 +51,7 @@ ___ {{< icon "globe" >}} find my device {{< /button >}} *find yo device without the man knowing* + +--- + +### **{{< encode-link "https" "matrix.to/#/@melm:melm.xyz" "#Contact melm on Matrix" >}}** diff --git a/hugo.toml b/hugo.toml index cf5c408..ded2888 100644 --- a/hugo.toml +++ b/hugo.toml @@ -12,9 +12,11 @@ title = 'melm' lineNos = true lineNumbersInTable = false noClasses = false -#[module] -# [[module.imports]] -# path = 'github.com/hbstack/meta/recommended' +[module] + [[module.imports]] + path = 'github.com/hbstack/meta/recommended' + [[module.imports]] + path = 'github.com/hugomods/encoder' [outputs] home = ['HTML', 'Offline', 'RSS', 'SearchIndex', 'WebAppManifest'] [permalinks] @@ -24,3 +26,13 @@ title = 'melm' categories = 'categories' series = 'series' tags = 'tags' +[pwa] + [pwa.caches] + [pwa.caches.font] + strategy = 'network-first' + [pwa.caches.image] + strategy = 'network-first' + [pwa.caches.script] + strategy = 'network-first' + [pwa.caches.style] + strategy = 'network-first' diff --git a/public/404.html b/public/404.html index 004abb6..802bcbe 100644 --- a/public/404.html +++ b/public/404.html @@ -1,6 +1,6 @@ + data-auto-appearance="true"> @@ -15,7 +15,7 @@ - + @@ -28,8 +28,8 @@ - + + integrity="sha512-OIKaLUZmezBI7RKjOfeklYTTlZYkG05h40TGicJX/sAW9uGOqKNJwKfis1o+8Ksq7VVqZBAK2nMPyWZtpbfCmg==" data-copy="Copy" data-copied="Copied"> - + @@ -62,7 +62,7 @@ - + diff --git a/public/authors/index.html b/public/authors/index.html index 5b5e813..d65073a 100644 --- a/public/authors/index.html +++ b/public/authors/index.html @@ -1,6 +1,6 @@ + data-auto-appearance="true"> @@ -15,7 +15,7 @@ - + @@ -30,8 +30,8 @@ - + + integrity="sha512-OIKaLUZmezBI7RKjOfeklYTTlZYkG05h40TGicJX/sAW9uGOqKNJwKfis1o+8Ksq7VVqZBAK2nMPyWZtpbfCmg==" data-copy="Copy" data-copied="Copied"> - + @@ -64,7 +64,7 @@ - + diff --git a/public/authors/index.xml b/public/authors/index.xml index c4040fa..738167a 100644 --- a/public/authors/index.xml +++ b/public/authors/index.xml @@ -2,12 +2,12 @@ Authors on melm - https://melm.xyz/authors/ + http://localhost:1313/authors/ Recent content in Authors on melm Hugo -- gohugo.io en <p>&#127789; Creative Commons</p> - + diff --git a/public/categories/index.html b/public/categories/index.html index 9c52f6c..b1ee2db 100644 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -1,6 +1,6 @@ + data-auto-appearance="true"> @@ -15,7 +15,7 @@ - + @@ -30,8 +30,8 @@ - + + integrity="sha512-OIKaLUZmezBI7RKjOfeklYTTlZYkG05h40TGicJX/sAW9uGOqKNJwKfis1o+8Ksq7VVqZBAK2nMPyWZtpbfCmg==" data-copy="Copy" data-copied="Copied"> - + @@ -64,7 +64,7 @@ - + diff --git a/public/categories/index.xml b/public/categories/index.xml index f70fb15..eb68389 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -2,12 +2,12 @@ Categories on melm - https://melm.xyz/categories/ + http://localhost:1313/categories/ Recent content in Categories on melm Hugo -- gohugo.io en <p>&#127789; Creative Commons</p> - + diff --git a/public/index.html b/public/index.html index dd19568..d208edd 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,7 @@ - + @@ -16,7 +16,7 @@ - + @@ -33,8 +33,8 @@ - + + integrity="sha512-OIKaLUZmezBI7RKjOfeklYTTlZYkG05h40TGicJX/sAW9uGOqKNJwKfis1o+8Ksq7VVqZBAK2nMPyWZtpbfCmg==" data-copy="Copy" data-copied="Copied"> - + @@ -67,7 +67,7 @@ - + @@ -82,11 +82,11 @@ { "@context": "https://schema.org", "@type": "WebSite", - "@id": "https:\/\/melm.xyz\/", + "@id": "http:\/\/localhost:1313\/", "name": "melm", "inLanguage": "en", - "url": "https:\/\/melm.xyz\/", + "url": "http:\/\/localhost:1313\/", "publisher" : { "@type": "Person", @@ -292,7 +292,27 @@ -search for things test

+search for things

+

+ + + + + + + + + element + + + +talk to peeps

test yo speed to home

+

+ + + + + + + + find my device + + + +find yo device without the man knowing

+
+ + +

+#Contact melm on Matrix +
+ + + # + + +

diff --git a/public/index.json b/public/index.json index de3a428..31caa9e 100644 --- a/public/index.json +++ b/public/index.json @@ -1,2 +1,2 @@ -[{"content":" welcome, friends of melm # searXNG search for things test\njellyfin watch things\njellyseerr request things report media issues\nmelm wiki a wiki\nforge software\nauthelia sign in and password reset\nnextcloud no such thing as the cloud just other peoples computers\nspeed test yo speed to home\n","externalUrl":null,"permalink":"/","section":"","summary":"","title":"","type":"page"},{"content":"","externalUrl":null,"permalink":"/authors/","section":"Authors","summary":"","title":"Authors","type":"authors"},{"content":"","externalUrl":null,"permalink":"/categories/","section":"Categories","summary":"","title":"Categories","type":"categories"},{"content":"","externalUrl":null,"permalink":"/series/","section":"Series","summary":"","title":"Series","type":"series"},{"content":"","externalUrl":null,"permalink":"/tags/","section":"Tags","summary":"","title":"Tags","type":"tags"}] \ No newline at end of file +[{"content":" welcome, friends of melm # searXNG search for things\nelement talk to peeps\njellyfin watch things\njellyseerr request things report media issues\nmelm wiki a wiki\nforge software\nauthelia sign in and password reset\nnextcloud no such thing as the cloud just other peoples computers\nspeed test yo speed to home\nfind my device find yo device without the man knowing\n#Contact melm on Matrix # ","externalUrl":null,"permalink":"/","section":"","summary":"","title":"","type":"page"},{"content":"","externalUrl":null,"permalink":"/authors/","section":"Authors","summary":"","title":"Authors","type":"authors"},{"content":"","externalUrl":null,"permalink":"/categories/","section":"Categories","summary":"","title":"Categories","type":"categories"},{"content":"","externalUrl":null,"permalink":"/series/","section":"Series","summary":"","title":"Series","type":"series"},{"content":"","externalUrl":null,"permalink":"/tags/","section":"Tags","summary":"","title":"Tags","type":"tags"}] \ No newline at end of file diff --git a/public/index.xml b/public/index.xml index f43ede0..a60dab8 100644 --- a/public/index.xml +++ b/public/index.xml @@ -2,12 +2,12 @@ melm - https://melm.xyz/ + http://localhost:1313/ Recent content on melm Hugo -- gohugo.io en <p>&#127789; Creative Commons</p> - + diff --git a/public/robots.txt b/public/robots.txt index aa6b01a..5759686 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,3 @@ User-agent: * -Allow: / -Sitemap: https://melm.xyz/sitemap.xml +Disallow: / +Sitemap: http://localhost:1313/sitemap.xml diff --git a/public/series/index.html b/public/series/index.html index 66ea7d8..944e844 100644 --- a/public/series/index.html +++ b/public/series/index.html @@ -1,6 +1,6 @@ + data-auto-appearance="true"> @@ -15,7 +15,7 @@ - + @@ -30,8 +30,8 @@ - + + integrity="sha512-OIKaLUZmezBI7RKjOfeklYTTlZYkG05h40TGicJX/sAW9uGOqKNJwKfis1o+8Ksq7VVqZBAK2nMPyWZtpbfCmg==" data-copy="Copy" data-copied="Copied"> - + @@ -64,7 +64,7 @@ - + diff --git a/public/series/index.xml b/public/series/index.xml index aa2f293..8416546 100644 --- a/public/series/index.xml +++ b/public/series/index.xml @@ -2,12 +2,12 @@ Series on melm - https://melm.xyz/series/ + http://localhost:1313/series/ Recent content in Series on melm Hugo -- gohugo.io en <p>&#127789; Creative Commons</p> - + diff --git a/public/sitemap.xml b/public/sitemap.xml index 42fc862..2870091 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> - https://melm.xyz/ + http://localhost:1313/ daily 0.5 diff --git a/public/tags/index.html b/public/tags/index.html index 397673c..9c72856 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -1,6 +1,6 @@ + data-auto-appearance="true"> @@ -15,7 +15,7 @@ - + @@ -30,8 +30,8 @@ - + + integrity="sha512-OIKaLUZmezBI7RKjOfeklYTTlZYkG05h40TGicJX/sAW9uGOqKNJwKfis1o+8Ksq7VVqZBAK2nMPyWZtpbfCmg==" data-copy="Copy" data-copied="Copied"> - + @@ -64,7 +64,7 @@ - + diff --git a/public/tags/index.xml b/public/tags/index.xml index 94c8154..e69bf04 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -2,12 +2,12 @@ Tags on melm - https://melm.xyz/tags/ + http://localhost:1313/tags/ Recent content in Tags on melm Hugo -- gohugo.io en <p>&#127789; Creative Commons</p> - +