diff options
| author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2026-06-14 16:09:01 +0300 |
|---|---|---|
| committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2026-06-14 16:09:01 +0300 |
| commit | 053e6d0a317e00d77d44bac1e0cf4181e4cbe89c (patch) | |
| tree | 21a9b0d479a3474e7e170aa983ad8814a252b01f | |
| parent | 4ddbf4cd7ec7c5235ab8027aa7a9b600c2df5041 (diff) | |
| download | cron4.fi-053e6d0a317e00d77d44bac1e0cf4181e4cbe89c.tar.gz cron4.fi-053e6d0a317e00d77d44bac1e0cf4181e4cbe89c.zip | |
sorted the indexes & added one to the english side
| -rw-r--r-- | en/index.org | 51 | ||||
| -rw-r--r-- | en/pgp.org | 1 | ||||
| -rw-r--r-- | fi/blog/index.org | 21 | ||||
| -rw-r--r-- | fi/blog/sivujen-uudistus.org | 4 | ||||
| -rw-r--r-- | generated/en/index.html | 27 | ||||
| -rw-r--r-- | generated/en/pgp.html | 9 | ||||
| -rw-r--r-- | generated/fi/blog/index.html | 2 | ||||
| -rw-r--r-- | generated/fi/blog/sivujen-uudistus.html | 6 | ||||
| -rw-r--r-- | generated/fi/index.html | 2 | ||||
| -rw-r--r-- | generated/fi/pgp.html | 4 |
10 files changed, 99 insertions, 28 deletions
diff --git a/en/index.org b/en/index.org index 9480e6f..1249e5e 100644 --- a/en/index.org +++ b/en/index.org @@ -2,11 +2,54 @@ Welcome to my website! -I don't publish as much content in English on the web, except much of -my programming related content. I've also got a gemini capsule for you -all in English at gemini://cron4.fi. My contact information can be -found there if you need it. +I don't publish as much content in English on the web as in Finnish. +I've got a gemini capsule for you all in English at +gemini://cron4.fi. My contact information can be found there if you +need it. Also, in case you want to send me encrypted messages or verify that I have indeed signed a file, you can find my public key & its fingerprint [[./pgp.org][here]]. + +Here is still an explicit index of the English side of my website. + +#+begin_src emacs-lisp :exports results :noweb yes + + <<file:../fi/blog/index.org::code:index-utils>> + + (defun generate-entry + (name) + "Generates an index entry for file NAME." + (let ((extension (file-name-extension name)) (bname (file-name-sans-extension name))) + (concat "[[./" + name + "][" + (or + (if (string= extension "org") + (get-org-file-title (concat "./" name)) + nil) + bname) + "]] " + (or (if (string= extension "org") + (get-org-file-property (concat "./" name) "SUBTITLE") + nil) + "No subtitle available")))) + + (let ((files + (seq-filter (lambda (name) + (not (or + (string-suffix-p "~" name) + (string-suffix-p "#" name) + (string-prefix-p "#" name) + (string-prefix-p "." name) + (string= "index.org" name)))) + (sort (directory-files "./") + :key (lambda (f) (get-file-date f)) + :reverse t)))) + (seq-map (lambda (name) `(,(generate-entry name))) files)) +#+end_src + +#+RESULTS: +| [[./pgp.org][Public key]] Send encrypted data to me or verify my signature | + + @@ -1,4 +1,5 @@ #+TITLE: Public key +#+SUBTITLE: Send encrypted data to me or verify my signature The fingerprint for my public PGP key is ~24F59B15EB13A69D492C300601B3DAEDABD96CE1~. I made a new one because I diff --git a/fi/blog/index.org b/fi/blog/index.org index 62167c8..740897b 100644 --- a/fi/blog/index.org +++ b/fi/blog/index.org @@ -1,7 +1,7 @@ #+TITLE: Blogin sisällys -#+begin_src emacs-lisp :exports results - +#+name: code:index-utils +#+begin_src emacs-lisp :exports none (defun get-org-file-property (path property) "Gets PROPERTY of org file at PATH. Returns nil if not found." (with-temp-buffer (setq case-fold-search t) @@ -24,7 +24,12 @@ nil) (format-time-string "%Y-%m-%d" (file-attribute-modification-time - (file-attributes (concat "./" name)))))) + (file-attributes (concat "./" path)))))) +#+end_src + +#+begin_src emacs-lisp :exports results :noweb yes + + <<code:index-utils>> (defun generate-entry (name) @@ -54,12 +59,14 @@ (string-prefix-p "#" name) (string-prefix-p "." name) (string= "index.org" name)))) - (directory-files "./")))) + (sort (directory-files "./") + :key (lambda (f) (get-file-date f)) + :reverse t)))) (seq-map (lambda (name) `(,(generate-entry name))) files)) #+end_src #+RESULTS: -| [[./post.org][Test-post-title]] (2026-06-12) Test subtitle | -| [[./tekstinsyotto.html][tekstinsyotto]] (2025-07-28) Alaotsikkoa ei saatavilla | -| [[./yksinkertaisesti-monipuolinen.txt][yksinkertaisesti-monipuolinen]] (2024-05-06) Alaotsikkoa ei saatavilla | +| [[./sivujen-uudistus.org][Verkkosivujeni uudistus]] (2026-06-14) Mitä sivuilleni on tapahtunut ja miksi | +| [[./tekstinsyotto.html][tekstinsyotto]] (2025-07-28) Alaotsikkoa ei saatavilla | +| [[./yksinkertaisesti-monipuolinen.txt][yksinkertaisesti-monipuolinen]] (2024-05-06) Alaotsikkoa ei saatavilla | diff --git a/fi/blog/sivujen-uudistus.org b/fi/blog/sivujen-uudistus.org index a9e2eba..3a3449d 100644 --- a/fi/blog/sivujen-uudistus.org +++ b/fi/blog/sivujen-uudistus.org @@ -1,10 +1,10 @@ #+TITLE: Verkkosivujeni uudistus #+SUBTITLE: Mitä sivuilleni on tapahtunut ja miksi -* TODO Päivitä sivut loppuun [2/6] +* TODO Päivitä sivut loppuun [3/6] - [ ] Lisää git-tietosäilöt, erityisesti sivujen koodi - [ ] Selitä muutokset täällä ja englanninkielisellä puolella - [X] Luo englanninkielinen puoli - [X] Lisää julkinen avain & linkkaa ne (sekä fi+en) - [ ] Tyylittele linkkilistat -- [ ] Aseta blogin indeksi aikajärjestykseen +- [X] Aseta blogin indeksi aikajärjestykseen diff --git a/generated/en/index.html b/generated/en/index.html index 68421bd..cf0ca2a 100644 --- a/generated/en/index.html +++ b/generated/en/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="(en . Skip to content)" xml:lang="(en . Skip to content)"> <head> -<!-- 2026-06-14 Sun 15:12 --> +<!-- 2026-06-14 Sun 16:07 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Joel Kronqvist</title> @@ -209,10 +209,10 @@ Welcome to my website! </p> <p> -I don't publish as much content in English on the web, except much of -my programming related content. I've also got a gemini capsule for you -all in English at gemini://cron4.fi. My contact information can be -found there if you need it. +I don't publish as much content in English on the web as in Finnish. +I've got a gemini capsule for you all in English at +gemini://cron4.fi. My contact information can be found there if you +need it. </p> <p> @@ -220,6 +220,23 @@ Also, in case you want to send me encrypted messages or verify that I have indeed signed a file, you can find my public key & its fingerprint <a href="./pgp.html">here</a>. </p> + +<p> +Here is still an explicit index of the English side of my website. +</p> + +<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> + + +<colgroup> +<col class="org-left" /> +</colgroup> +<tbody> +<tr> +<td class="org-left"><a href="./pgp.html">Public key</a> Send encrypted data to me or verify my signature</td> +</tr> +</tbody> +</table> </div> </body> </html> diff --git a/generated/en/pgp.html b/generated/en/pgp.html index e629f7d..e9a3588 100644 --- a/generated/en/pgp.html +++ b/generated/en/pgp.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="(en . Skip to content)" xml:lang="(en . Skip to content)"> <head> -<!-- 2026-06-14 Sun 15:12 --> +<!-- 2026-06-14 Sun 16:07 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Public key</title> @@ -203,7 +203,10 @@ </header> </div> <div id="content" class="content"> -<h1 class="title">Public key</h1> +<h1 class="title">Public key +<br /> +<span class="subtitle">Send encrypted data to me or verify my signature</span> +</h1> <p> The fingerprint for my public PGP key is <code>24F59B15EB13A69D492C300601B3DAEDABD96CE1</code>. I made a new one because I @@ -237,7 +240,7 @@ Below there is proof that my new key is legitimate assuming you already trusted my old key. </p> -<pre class="example" id="org181693a"> +<pre class="example" id="orge57b8ed"> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 diff --git a/generated/fi/blog/index.html b/generated/fi/blog/index.html index dca071d..4942414 100644 --- a/generated/fi/blog/index.html +++ b/generated/fi/blog/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="(fi . Siirry pääsisältöön)" xml:lang="(fi . Siirry pääsisältöön)"> <head> -<!-- 2026-06-14 Sun 15:12 --> +<!-- 2026-06-14 Sun 16:07 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Blogin sisällys</title> diff --git a/generated/fi/blog/sivujen-uudistus.html b/generated/fi/blog/sivujen-uudistus.html index f760855..dd63e62 100644 --- a/generated/fi/blog/sivujen-uudistus.html +++ b/generated/fi/blog/sivujen-uudistus.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="(fi . Siirry pääsisältöön)" xml:lang="(fi . Siirry pääsisältöön)"> <head> -<!-- 2026-06-14 Sun 15:12 --> +<!-- 2026-06-14 Sun 16:07 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Verkkosivujeni uudistus</title> @@ -208,13 +208,13 @@ <span class="subtitle">Mitä sivuilleni on tapahtunut ja miksi</span> </h1> <div id="outline-container-org94b1e2e" class="outline-2"> -<h2 id="org94b1e2e"><span class="todo TODO">TODO</span> Päivitä sivut loppuun <code>[1/6]</code></h2> +<h2 id="org94b1e2e"><span class="todo TODO">TODO</span> Päivitä sivut loppuun <code>[2/6]</code></h2> <div class="outline-text-2" id="text-org94b1e2e"> <ul class="org-ul"> <li class="off"><code>[ ]</code> Lisää git-tietosäilöt, erityisesti sivujen koodi</li> <li class="off"><code>[ ]</code> Selitä muutokset täällä ja englanninkielisellä puolella</li> <li class="on"><code>[X]</code> Luo englanninkielinen puoli</li> -<li class="off"><code>[ ]</code> Lisää julkinen avain & linkkaa ne (sekä fi+en)</li> +<li class="on"><code>[X]</code> Lisää julkinen avain & linkkaa ne (sekä fi+en)</li> <li class="off"><code>[ ]</code> Tyylittele linkkilistat</li> <li class="off"><code>[ ]</code> Aseta blogin indeksi aikajärjestykseen</li> </ul> diff --git a/generated/fi/index.html b/generated/fi/index.html index 142ca3a..a652457 100644 --- a/generated/fi/index.html +++ b/generated/fi/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="(fi . Siirry pääsisältöön)" xml:lang="(fi . Siirry pääsisältöön)"> <head> -<!-- 2026-06-14 Sun 15:12 --> +<!-- 2026-06-14 Sun 16:07 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Joel Kronqvist</title> diff --git a/generated/fi/pgp.html b/generated/fi/pgp.html index 53ae64b..cf20d58 100644 --- a/generated/fi/pgp.html +++ b/generated/fi/pgp.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="(fi . Siirry pääsisältöön)" xml:lang="(fi . Siirry pääsisältöön)"> <head> -<!-- 2026-06-14 Sun 15:12 --> +<!-- 2026-06-14 Sun 16:07 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Julkinen avaimeni</title> @@ -236,7 +236,7 @@ Lataa julkiset avaimeni seuraavista linkeistä: Alla on vielä todiste siitä, että uusi julkinen avaimeni on aito. </p> -<pre class="example" id="org531afcb"> +<pre class="example" id="orga61a5e6"> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 |
