]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Update legacy doctype in docs/tricks 1574/head
authorAdam Johnson <me@adamj.eu>
Wed, 26 Jan 2022 16:18:52 +0000 (16:18 +0000)
committerDavid Lord <davidism@gmail.com>
Wed, 26 Jan 2022 16:22:05 +0000 (08:22 -0800)
docs/tricks.rst

index 762a69c45781068cc4b7bdb65ff4d6ffa638ef68..7c7ce2503db7e449295f458c4544bee6ae1e6816 100644 (file)
@@ -26,7 +26,7 @@ basic skeleton is added to the file so that if it's indeed rendered with
 `standalone` set to `True` a very basic HTML skeleton is added::
 
     {% if not standalone %}{% extends 'default.html' %}{% endif -%}
-    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+    <!DOCTYPE html>
     <title>{% block title %}The Page Title{% endblock %}</title>
     <link rel="stylesheet" href="style.css" type="text/css">
     {% block body %}