Skip to content

Commit c7a9b26

Browse files
MaxDatenclaude
andcommitted
refactor: upgrade HTML template to HTML5 DOCTYPE
- Replace XHTML 1.0 Transitional with HTML5 DOCTYPE - Simplify html tag with direct lang attribute - Use modern charset meta tag 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8ccdfb6 commit c7a9b26

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

src/templates/template.html

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2-
<html
3-
xmlns="http://www.w3.org/1999/xhtml"
4-
$if(lang)$
5-
lang="$lang$"
6-
xml:lang="$lang$"
7-
$endif$
8-
>
1+
<!DOCTYPE html>
2+
<html lang="$if(lang)$$lang$$else$en$endif$">
93
<head>
10-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11-
<meta http-equiv="Content-Style-Type" content="text/css" />
4+
<meta charset="utf-8" />
125
<meta name="color-scheme" content="light dark" />
136
<meta name="generator" content="pandoc" />
147
$for(author-meta)$

0 commit comments

Comments
 (0)