diff options
-rw-r--r-- | pelican/themes/simple/templates/article.html | 10 | ||||
-rw-r--r-- | pelican/themes/simple/templates/author.html | 2 | ||||
-rw-r--r-- | pelican/themes/simple/templates/base.html | 3 | ||||
-rw-r--r-- | pelican/themes/simple/templates/category.html | 2 | ||||
-rw-r--r-- | pelican/themes/simple/templates/tag.html | 2 |
5 files changed, 10 insertions, 9 deletions
diff --git a/pelican/themes/simple/templates/article.html b/pelican/themes/simple/templates/article.html index c8c9a4f7..6dd0d967 100644 --- a/pelican/themes/simple/templates/article.html +++ b/pelican/themes/simple/templates/article.html @@ -22,11 +22,10 @@ {% endblock %} {% block content %} -<section id="content" class="body"> <header> - <h2 class="entry-title"> + <h1 class="entry-title"> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" - title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> + title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} </header> @@ -60,8 +59,7 @@ </div> {% endif %} </footer><!-- /.post-info --> - <div class="entry-content"> + <article> {{ article.content }} - </div><!-- /.entry-content --> -</section> + </article> {% endblock %} diff --git a/pelican/themes/simple/templates/author.html b/pelican/themes/simple/templates/author.html index a1901946..79d22c7d 100644 --- a/pelican/themes/simple/templates/author.html +++ b/pelican/themes/simple/templates/author.html @@ -3,6 +3,6 @@ {% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} {% block content_title %} -<h2>Articles by {{ author }}</h2> +<h1>Articles by {{ author }}</h1> {% endblock %} diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index 2c17dbfb..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 %} @@ -51,8 +52,10 @@ {% endfor %} {% endif %} </ul></nav><!-- /#menu --> + <main> {% block content %} {% endblock %} + </main> <footer id="contentinfo" class="body"> <address id="about" class="vcard body"> Proudly powered by <a href="https://getpelican.com/">Pelican</a>, diff --git a/pelican/themes/simple/templates/category.html b/pelican/themes/simple/templates/category.html index 14d7ff09..d73f6e31 100644 --- a/pelican/themes/simple/templates/category.html +++ b/pelican/themes/simple/templates/category.html @@ -3,6 +3,6 @@ {% block title %}{{ SITENAME }} - {{ category }} category{% endblock %} {% block content_title %} -<h2>Articles in the {{ category }} category</h2> +<h1>Articles in the {{ category }} category</h1> {% endblock %} diff --git a/pelican/themes/simple/templates/tag.html b/pelican/themes/simple/templates/tag.html index 9c958030..93878134 100644 --- a/pelican/themes/simple/templates/tag.html +++ b/pelican/themes/simple/templates/tag.html @@ -3,5 +3,5 @@ {% block title %}{{ SITENAME }} - {{ tag }} tag{% endblock %} {% block content_title %} -<h2>Articles tagged with {{ tag }}</h2> +<h1>Articles tagged with {{ tag }}</h1> {% endblock %} |