Mercurial > p > roundup > code
diff doc/_templates/layout.html @ 7140:33124f6dc1c4
remove xhtml structures; merge changes from www layout to doc layout
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 15 Feb 2023 12:01:44 -0500 |
| parents | b5b1f2830e23 |
| children | 452a8bd1d826 |
line wrap: on
line diff
--- a/doc/_templates/layout.html Wed Feb 15 11:57:43 2023 -0500 +++ b/doc/_templates/layout.html Wed Feb 15 12:01:44 2023 -0500 @@ -6,8 +6,7 @@ #} {%- block doctype -%} -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> {%- endblock %} {%- macro relbar(class) %} <div class="related {{ class }}"> @@ -82,9 +81,14 @@ {%- endfor %} {%- endmacro %} -<html xmlns="http://www.w3.org/1999/xhtml"> +<html lang="en"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + {%- if 'name="description"' not in metatags %} + <meta name="description" + content="Page {{ pagename }} in documentation on the Roundup issue tracker, version {{ release|e }}."> + {%- endif %} {{ metatags }} {%- if builder != 'htmlhelp' %} {%- set titlesuffix = " — "|safe + docstitle|e %}
