]> Sergey Matveev's repositories - zk.zsh.git/blobdiff - zk.zsh
Raise copyright years
[zk.zsh.git] / zk.zsh
diff --git a/zk.zsh b/zk.zsh
index f5c88ef59e08026290d99d17c44ef64c887bd5ad..9b65aecc25db5e0c1709f2717b8651bd94a46d5c 100755 (executable)
--- a/zk.zsh
+++ b/zk.zsh
@@ -1,6 +1,6 @@
 #!/usr/bin/env zsh
 # zk.zsh -- zettelkästen/wiki/static website helper/generator
-# Copyright (C) 2022 Sergey Matveev <stargrave@stargrave.org>
+# Copyright (C) 2022-2024 Sergey Matveev <stargrave@stargrave.org>
 
 set -e
 ZK_VERSION=ZKZSH1
@@ -173,7 +173,10 @@ genIndex() {
     }
     local page=${1}index
     print "<!DOCTYPE html>
-<html><head><title>$page ($now)</title></head><body><ul>"
+<html><head>
+<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
+<title>$page ($now)</title>
+</head><body><ul>"
     for p (${(oi)_links}) {
         getrel $page $p
         print "<li><a href=\"${REPLY}.html\">$p</a> <sup>${pages[$p]}</sup> (${sizes[$p]} bytes)</li>"