commit d6be14c5a4a468e4a3cb634b860127c964cf835a
parent ee5e8c1cd70311a458791d282a2a45d25dd0a35e
Author: lou woell <lou@repetitions.de>
Date: Sun, 6 Sep 2026 17:49:38 +0200
add language tag to html
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/html/ethics.chtml b/html/ethics.chtml
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html>
+<html lquery="(attr :lang language)">
<head>
<title><c:s>(format nil "~A: ~A" (gethash "ethica" types) name)</c:s></title>
<meta charset="utf-8">
diff --git a/html/index.chtml b/html/index.chtml
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="assets/style.css">
diff --git a/lisp/ethics.lisp b/lisp/ethics.lisp
@@ -113,6 +113,7 @@
:tree (gethash "ethica" ethica)
:name (getf version :name)
:vkey key
+ :language (getf version :language)
:types (getf version :types))))))
;; --- plumbing