diff options
author | Pierre Equoy <pierre.equoy@protonmail.com> | 2022-01-17 16:14:19 +0800 |
---|---|---|
committer | Pierre Equoy <pierre.equoy@protonmail.com> | 2022-01-17 16:22:02 +0800 |
commit | 4794752dd9ecd4f80eac52f84bd15abbf5bb9d4b (patch) | |
tree | 2fdac3b0efe32ab4817a706b11592f7502ead519 | |
parent | 7b9a859e5e30180808794748e47e529485544b8d (diff) | |
download | pelican-4794752dd9ecd4f80eac52f84bd15abbf5bb9d4b.tar.gz |
Add a viewport meta tag in simple theme for better mobile support
See MDN article about this:
https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
-rw-r--r-- | pelican/themes/simple/templates/base.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index b1ea57da..6ac81e26 100644 --- a/pelican/themes/simple/templates/base.html +++ b/pelican/themes/simple/templates/base.html @@ -5,6 +5,7 @@ <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> <meta charset="utf-8" /> <meta name="generator" content="Pelican" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> {% if FEED_ALL_ATOM %} <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> {% endif %} |