diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-29 00:56:12 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-07-29 00:56:12 +0200 |
| commit | 29b670de0bcf65eeaae7e95eb4607ced912c4a27 (patch) | |
| tree | 1c8a81f088ab4a4d2da03feb4ce97db892e9f760 /templates/base.html | |
| parent | 3c97a3d8e52e4d96058e0b52ae347bccdb0360f6 (diff) | |
Apply "no style, please!" theme
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index f07856d..53a9db5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,13 +2,31 @@ <html lang="en"> <head> - <meta charset="utf-8"> - <title>Sorre</title> + <meta charset="UTF-8"> + <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> + <meta content="width=device-width, initial-scale=1" name="viewport" /> <link rel="stylesheet" href="/style.css"> + + {% if page.title %} + {% set title = page.title %} + {% elif section.title %} + {% set title = section.title %} + {% elif config.title %} + {% set title = config.title %} + {% endif %} + {% if title %}<title>{{ title }}</title>{% endif %} + + {% if config.generate_feed %} + <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false)}}"> + {% endif %} + + <link rel="stylesheet" href="{{ get_url(path='style.css', trailing_slash=false) | safe }}" /> </head> -<body> - {% block content %} {% endblock %} +<body theme="auto"> + <div class="w"> + {% block content %} {% endblock %} + </div> </body> </html> |
