Mercurial > p > roundup > code
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 7139:42e68162279b | 7140:33124f6dc1c4 |
|---|---|
| 4 | 4 |
| 5 Custom layout template for Roundup. | 5 Custom layout template for Roundup. |
| 6 | 6 |
| 7 #} | 7 #} |
| 8 {%- block doctype -%} | 8 {%- block doctype -%} |
| 9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 9 <!DOCTYPE html> |
| 10 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 11 {%- endblock %} | 10 {%- endblock %} |
| 12 {%- macro relbar(class) %} | 11 {%- macro relbar(class) %} |
| 13 <div class="related {{ class }}"> | 12 <div class="related {{ class }}"> |
| 14 <ul> | 13 <ul> |
| 15 {%- for rellink in rellinks %} | 14 {%- for rellink in rellinks %} |
| 80 {%- for cssfile in css_files %} | 79 {%- for cssfile in css_files %} |
| 81 <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" /> | 80 <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" /> |
| 82 {%- endfor %} | 81 {%- endfor %} |
| 83 {%- endmacro %} | 82 {%- endmacro %} |
| 84 | 83 |
| 85 <html xmlns="http://www.w3.org/1999/xhtml"> | 84 <html lang="en"> |
| 86 <head> | 85 <head> |
| 87 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 86 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 87 <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| 88 {%- if 'name="description"' not in metatags %} | |
| 89 <meta name="description" | |
| 90 content="Page {{ pagename }} in documentation on the Roundup issue tracker, version {{ release|e }}."> | |
| 91 {%- endif %} | |
| 88 {{ metatags }} | 92 {{ metatags }} |
| 89 {%- if builder != 'htmlhelp' %} | 93 {%- if builder != 'htmlhelp' %} |
| 90 {%- set titlesuffix = " — "|safe + docstitle|e %} | 94 {%- set titlesuffix = " — "|safe + docstitle|e %} |
| 91 {%- endif %} | 95 {%- endif %} |
| 92 <title>{{ title|striptags }}{{ titlesuffix }}</title> | 96 <title>{{ title|striptags }}{{ titlesuffix }}</title> |
