all repos — h3rald @ db4a2cbfd2e6de28aa24c1092a3985d33adfe1a7

The source code of the h3rald.com web site.

Replace all SVGs with PNGs.
h3rald h3rald@h3rald.com
Mon, 15 Jun 2026 06:59:13 +0200
commit

db4a2cbfd2e6de28aa24c1092a3985d33adfe1a7

parent

2ed954af75cd06af99362613bba2f806fc91fe97

426 files changed, 8 insertions(+), 20 deletions(-)

jump to
D .prettierignore

@@ -1,1 +0,0 @@

-**/*.md
M rules.minrules.min

@@ -264,22 +264,11 @@ :match

match 0 get :content match 1 get :icon match 2 get :explicit-title - "assets/images/icons/$#.svg" (icon) =% :path + "assets/images/icons/$#.png" (icon) =% :path (path fs.file?) ( - path fs.read xml.from-xml "svg" xml.query :svgx - icon :title - (explicit-title "" !=) - (explicit-title @title) - when - ;; Add title tag - "<title>$#</title>" (title) =% xml.from-xml :svg-title - svgx stack.dup "children" dict.get svg-title stack.swap prepend "children" dict.set @svgx - ;; Add role="img" - svgx "attributes" dict.get :svg-attrs - svgx svg-attrs "img" "role" dict.set "attributes" dict.set @svgx - svgx xml.to-xml :svg - "<span class=\"icon\">$#</span>" (svg) =% @content + path "^assets" "" replace @path + "<img class=\"icon\" src=\"$#\" title=\"$#\" />" (path icon) =% @content ) ( (whitelist icon in? not)
M templates/_footer.mustachetemplates/_footer.mustache

@@ -16,13 +16,13 @@ <a href="https://code.h3rald.com" class="navbar-link">code</a>

</div> <div class="merveilles"> <a href="https://webring.xxiivv.com/" target="_blank" rel="noopener" class="icon-link"> - <img src="/images/icons/rotonde.svg" alt="xxiivv webring"> + <img src="/images/icons/rotonde.png" alt="xxiivv webring"> </a> <a rel="me" href="https://merveilles.town/@h3rald" target="_blank" class="icon-link"> - <img src="/images/icons/merveilles.svg" alt="@h3rald@merveilles.town"> + <img src="/images/icons/merveilles.png" alt="@h3rald@merveilles.town"> </a> <a href="https://lieu.cblgh.org" target="_blank" rel="noopener" class="icon-link"> - <img src="/images/icons/lieu.svg" alt="lieu" class="icon-link"> + <img src="/images/icons/lieu.png" alt="lieu" class="icon-link"> </a> </div> <div class="licensing">Unless stated otherwise, all the content published on this web site is licensed under
M templates/_header.mustachetemplates/_header.mustache

@@ -4,8 +4,8 @@ -->

<header class="main-header box"> <h1> <a href="/" title="H3RALD"> - <img src="/images/logo-light.svg" alt="H3RALD" class="logo light-mode-hide"> - <img src="/images/logo-dark.svg" alt="H3RALD" class="logo dark-mode-hide"> + <img src="/images/logo-light.png" alt="H3RALD" class="logo light-mode-hide"> + <img src="/images/logo-dark.png" alt="H3RALD" class="logo dark-mode-hide"> </a> </h1> <div class="navlinks">