diff options
| author | Robert Günzler <r@gnzler.io> | 2025-05-16 17:35:29 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-05-16 18:06:50 +0200 |
| commit | bdf54594ab7c03e1ef6101861fa1f49885a4891d (patch) | |
| tree | b3046546064aa892caea7c84eed4a5d23673ee69 | |
| parent | d2165de85ddc6df91b4ac56fe83b78d869c0a4b2 (diff) | |
| download | site-bdf54594ab7c03e1ef6101861fa1f49885a4891d.tar.gz | |
modernize header style
Signed-off-by: Robert Günzler <r@gnzler.io>
| -rw-r--r-- | links/main.css | 19 | ||||
| -rw-r--r-- | site/2025.html | 6 | ||||
| -rw-r--r-- | site/404.html | 4 | ||||
| -rw-r--r-- | site/about.html | 4 | ||||
| -rw-r--r-- | site/audio.html | 4 | ||||
| -rw-r--r-- | site/books.html | 4 | ||||
| -rw-r--r-- | site/gsix.html | 4 | ||||
| -rw-r--r-- | site/hokkaido.html | 6 | ||||
| -rw-r--r-- | site/ibaraki.html | 6 | ||||
| -rw-r--r-- | site/index.html | 7 | ||||
| -rw-r--r-- | site/japan.html | 4 | ||||
| -rw-r--r-- | site/journal.html | 4 | ||||
| -rw-r--r-- | site/kamakura.html | 6 | ||||
| -rw-r--r-- | site/like.html | 6 | ||||
| -rw-r--r-- | site/niigata.html | 6 | ||||
| -rw-r--r-- | site/nikko.html | 6 | ||||
| -rw-r--r-- | site/notes.html | 6 | ||||
| -rw-r--r-- | site/plan9-cursors.html | 6 | ||||
| -rw-r--r-- | site/porta.html | 6 | ||||
| -rw-r--r-- | site/pyonji.html | 6 | ||||
| -rw-r--r-- | site/shikoku.html | 6 | ||||
| -rw-r--r-- | site/sony-wf1000xm3-battery.html | 6 | ||||
| -rw-r--r-- | site/toyama.html | 6 | ||||
| -rw-r--r-- | site/unicode-range.html | 4 | ||||
| -rw-r--r-- | site/yamanashi.html | 6 | ||||
| -rw-r--r-- | src/inc/index.htm | 1 | ||||
| -rw-r--r-- | src/main.zig | 6 |
27 files changed, 77 insertions, 78 deletions
diff --git a/links/main.css b/links/main.css index 6245e35..67a9efc 100644 --- a/links/main.css +++ b/links/main.css @@ -43,8 +43,13 @@ body>*+* { } header { - float: left; - margin: 0 var(--body-spacing) 0 0; + display: flex; + gap: var(--body-spacing); + align-items: center; +} + +header>* { + display: inline-block; } header a { @@ -56,10 +61,6 @@ header a img { vertical-align: bottom; } -header+nav { - margin-top: 0; -} - nav section { display: inline-block; line-height: var(--body-line-height); @@ -71,8 +72,8 @@ nav section+* { } nav ul { - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; } main { @@ -112,7 +113,7 @@ main>h4 { main p { line-height: var(--body-line-height); - margin-top: 0px; + margin-top: 0; } figure { diff --git a/site/2025.html b/site/2025.html index 6d3cea6..5474feb 100644 --- a/site/2025.html +++ b/site/2025.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/2025.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/2025.md :) --> <nav class="table-of-contents capital"> <ol> @@ -122,7 +122,7 @@ target="_blank">fixed</a> an aerc stylesheet bug</li> </ul> </main> <footer> -Edited on 2025-05-07 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/2025.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/2025.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/404.html b/site/404.html index b003523..3e48528 100644 --- a/site/404.html +++ b/site/404.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/404.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <style type="text/css"> main section { width: 100%; diff --git a/site/about.html b/site/about.html index 6f57d72..5b1314a 100644 --- a/site/about.html +++ b/site/about.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/about.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <img src="/media/content/about/me.jpg"> <p> I am a software engineer based in Berlin. diff --git a/site/audio.html b/site/audio.html index e99d0cd..6cd5629 100644 --- a/site/audio.html +++ b/site/audio.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/audio.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <h3>Gear</h3> <ul> <li>OKM II</li> diff --git a/site/books.html b/site/books.html index 67a8656..7216c22 100644 --- a/site/books.html +++ b/site/books.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/books.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <details open> <summary>2025</summary> <main> diff --git a/site/gsix.html b/site/gsix.html index fb10ec1..da2e714 100644 --- a/site/gsix.html +++ b/site/gsix.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/gsix.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <section class="fullpage center"> <h1>gsix = gentoo + s6</h1> </section> diff --git a/site/hokkaido.html b/site/hokkaido.html index 2905650..ac4e7a1 100644 --- a/site/hokkaido.html +++ b/site/hokkaido.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/hokkaido.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/hokkaido.md :) --> <span class="date"> 2023-11-05 (3 days) @@ -45,7 +45,7 @@ </ul> </main> <footer> -Edited on 2025-01-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/hokkaido.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/hokkaido.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/ibaraki.html b/site/ibaraki.html index b3bc00c..72847ba 100644 --- a/site/ibaraki.html +++ b/site/ibaraki.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/ibaraki.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/ibaraki.md :) --> <span class="date"> 2023-07-08 (3 days) @@ -47,7 +47,7 @@ </ul> </main> <footer> -Edited on 2025-01-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/ibaraki.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/ibaraki.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/index.html b/site/index.html index 1d56286..4e90ceb 100644 --- a/site/index.html +++ b/site/index.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/index.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,9 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> -<!-- Generated file, do not edit --> <ul class="col2 captial"> <li><a href="/site/2025.html">2025</a></li> <li><a href="/site/404.html">404</a></li> @@ -60,7 +59,7 @@ </ul> </main> <footer> -Edited on 2025-05-14 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/index.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/index.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/japan.html b/site/japan.html index 5f5721f..e80d4c6 100644 --- a/site/japan.html +++ b/site/japan.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/japan.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <p> In 2023 I went to Japan for 12 months </p> diff --git a/site/journal.html b/site/journal.html index 4ff3653..e9d09c0 100644 --- a/site/journal.html +++ b/site/journal.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/journal.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <style type="text/css"> article h2 { font-family: monospace; diff --git a/site/kamakura.html b/site/kamakura.html index fa074eb..aa3f56f 100644 --- a/site/kamakura.html +++ b/site/kamakura.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/kamakura.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/kamakura.md :) --> <span class="date"> 2023-04-22 @@ -96,7 +96,7 @@ role="doc-backlink">↩︎</a></p></li> </section> </main> <footer> -Edited on 2025-04-27 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/kamakura.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/kamakura.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/like.html b/site/like.html index 6977376..86e2399 100644 --- a/site/like.html +++ b/site/like.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/like.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/like.md :) --> <p>here’s some stuff i like:</p> <ul> @@ -45,7 +45,7 @@ target="_blank">https://www.math.uwaterloo.ca/tsp/korea/index.html</a></li> </ul> </main> <footer> -Edited on 2025-04-27 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/like.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/like.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/niigata.html b/site/niigata.html index 2a921d2..45e9a5d 100644 --- a/site/niigata.html +++ b/site/niigata.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/niigata.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/niigata.md :) --> <span class="date"> 2023-06-08 (4 days) @@ -51,7 +51,7 @@ </ul> </main> <footer> -Edited on 2025-01-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/niigata.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/niigata.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/nikko.html b/site/nikko.html index fc56be0..b3ad5b2 100644 --- a/site/nikko.html +++ b/site/nikko.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/nikko.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/nikko.md :) --> <nav class="table-of-contents capital"> <ol> @@ -233,7 +233,7 @@ href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li> </section> </main> <footer> -Edited on 2025-02-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/nikko.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/nikko.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/notes.html b/site/notes.html index 2135301..b4c4bdf 100644 --- a/site/notes.html +++ b/site/notes.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/notes.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/notes.md :) --> <ul> <li><code>2025-05-14</code>: <a href="/site/porta.html">porta</a></li> @@ -41,7 +41,7 @@ </ul> </main> <footer> -Edited on 2025-05-14 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/notes.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/notes.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/plan9-cursors.html b/site/plan9-cursors.html index 9c32437..940fcd4 100644 --- a/site/plan9-cursors.html +++ b/site/plan9-cursors.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/plan9-cursors.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/plan9-cursors.md :) --> <span class="date"> 2025-01-24 @@ -69,7 +69,7 @@ done</li> </ul> </main> <footer> -Edited on 2025-01-24 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/plan9-cursors.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/plan9-cursors.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/porta.html b/site/porta.html index 34f07d0..77ed69c 100644 --- a/site/porta.html +++ b/site/porta.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/porta.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/porta.md :) --> <p>↪ <a href="https://git.sr.ht/~robertgzr/porta" class="uri" target="_blank">https://git.sr.ht/~robertgzr/porta</a></p> @@ -51,7 +51,7 @@ class="uri" target="_blank">https://git.sr.ht/~robertgzr/portage/tree/master/sys-apps/porta/</a></p> </main> <footer> -Edited on 2025-05-14 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/porta.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/porta.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/pyonji.html b/site/pyonji.html index 317718a..749e170 100644 --- a/site/pyonji.html +++ b/site/pyonji.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/pyonji.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/pyonji.md :) --> <span class="date"> 2025-01-08 @@ -62,7 +62,7 @@ target="_blank">–cover-from-description</a></label></p></li> </ul> </main> <footer> -Edited on 2025-01-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/pyonji.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/pyonji.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/shikoku.html b/site/shikoku.html index 1c12886..12dfd9e 100644 --- a/site/shikoku.html +++ b/site/shikoku.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/shikoku.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/shikoku.md :) --> <span class="date"> 2023-10-01 (3 days) @@ -47,7 +47,7 @@ </ul> </main> <footer> -Edited on 2025-01-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/shikoku.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/shikoku.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/sony-wf1000xm3-battery.html b/site/sony-wf1000xm3-battery.html index dfeabcc..285dd94 100644 --- a/site/sony-wf1000xm3-battery.html +++ b/site/sony-wf1000xm3-battery.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/sony-wf1000xm3-battery.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/sony-wf1000xm3-battery.md :) --> <span class="date"> 2025-01-10 @@ -94,7 +94,7 @@ alt="battery comparison" /> </figure> </main> <footer> -Edited on 2025-04-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/sony-wf1000xm3-battery.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/sony-wf1000xm3-battery.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/toyama.html b/site/toyama.html index b5a5113..37c5e40 100644 --- a/site/toyama.html +++ b/site/toyama.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/toyama.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/toyama.md :) --> <span class="date"> 2023-07-21 (3 days) @@ -53,7 +53,7 @@ </ul> </main> <footer> -Edited on 2025-01-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/toyama.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/toyama.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/site/unicode-range.html b/site/unicode-range.html index 33ac321..fa2de36 100644 --- a/site/unicode-range.html +++ b/site/unicode-range.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/unicode-range.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <p>While working on my custom <a href="https://apps.ankiweb.net/" target="_blank">Anki</a> cards for learning Japanese diff --git a/site/yamanashi.html b/site/yamanashi.html index 0009591..621f554 100644 --- a/site/yamanashi.html +++ b/site/yamanashi.html @@ -1,3 +1,4 @@ +<!-- Generated file, do not edit, you may edit and discard src/inc/yamanashi.htm :) --> <!DOCTYPE html> <html lang="en"> <head> @@ -13,7 +14,6 @@ <body> <header> <a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a> -</header> <nav> <section> <ul class="nobull capital"> @@ -29,8 +29,8 @@ </ul> </section> </nav> +</header> <main> -<!-- Generated file, do not edit --> <!-- Generated file, you may edit and discard src/inc/yamanashi.md :) --> <span class="date"> 2023-05-20 (4 days) @@ -70,7 +70,7 @@ </ul> </main> <footer> -Edited on 2025-01-13 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/yamanashi.htm" target="_blank">[src]</a> +Edited on 2025-05-16 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/yamanashi.htm" target="_blank">[src]</a> <a href="mailto:~robertgzr/public-inbox@lists.sr.ht">[comments]</a> <br> <b>robertgzr</b> diff --git a/src/inc/index.htm b/src/inc/index.htm index 5b929ad..fdd90d9 100644 --- a/src/inc/index.htm +++ b/src/inc/index.htm @@ -1,4 +1,3 @@ -<!-- Generated file, do not edit --> <ul class="col2 captial"> <li><a href="/site/2025.html">2025</a></li> <li><a href="/site/404.html">404</a></li> diff --git a/src/main.zig b/src/main.zig index 9e74016..64b76d9 100644 --- a/src/main.zig +++ b/src/main.zig @@ -192,6 +192,7 @@ fn build(allocator: std.mem.Allocator, f: std.fs.File, page_name: []const u8, sr // HEAD try f.writer().print( + \\<!-- Generated file, do not edit, you may edit and discard {[SOURCE]s} :) --> \\<!DOCTYPE html> \\<html lang="en"> \\<head> @@ -207,9 +208,9 @@ fn build(allocator: std.mem.Allocator, f: std.fs.File, page_name: []const u8, sr \\<body> \\<header> \\<a href="/"><img src="/media/interface/logo.svg" alt="{[SITE_NAME]s}"></a> - \\</header> \\ , .{ + .SOURCE = srcpath, .LICENSE_URL = LICENSE_URL, .PAGE_NAME = page_name, .SITE_NAME = SITE_NAME, @@ -223,13 +224,13 @@ fn build(allocator: std.mem.Allocator, f: std.fs.File, page_name: []const u8, sr portal(allocator, f.writer().any(), "meta.nav", false) catch {}; // ignore error try f.writer().writeAll( \\</nav> + \\</header> \\ ); // MAIN try f.writer().print( \\<main> - \\<!-- Generated file, do not edit --> \\ , .{}); try inject(allocator, f.writer().any(), srcpath); @@ -371,7 +372,6 @@ fn genIndexHtml(ctx: *Context) !void { defer f.close(); try f.writeAll( - \\<!-- Generated file, do not edit --> \\<ul class="col2 captial"> \\ ); |