summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-04-18 07:43:36 +0200
committerAlan Pearce2023-04-18 07:43:36 +0200
commit15c1e7bd2ccb83ccd70a6e030ac94ecc82c604c0 (patch)
treee958be8534cfadaa4460ac8b1dd5f9dde78632d9
parentebcfebbb241a7b561e4fef4ee8c24307cc8cbc1e (diff)
downloadwebsite-15c1e7bd2ccb83ccd70a6e030ac94ecc82c604c0.tar.lz
website-15c1e7bd2ccb83ccd70a6e030ac94ecc82c604c0.tar.zst
website-15c1e7bd2ccb83ccd70a6e030ac94ecc82c604c0.zip
Fix lang attribute
-rw-r--r--templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 299e92a..7c742ca 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html lang="{{ lang or "en-US" }}">
+<html lang="{{ lang | default(value="en-US" ) }}">
 
 <head>
   <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />