Fixing HTML5 document outline

This commit is contained in:
Lucas Cimon 2017-10-27 08:55:38 +02:00
parent b8ef03ec31
commit 15951e4ae1
No known key found for this signature in database
GPG Key ID: 08DA831E717571EE
6 changed files with 8 additions and 7 deletions

View File

@ -97,7 +97,7 @@ a {
.mg-brand {
font-family: "Open Sans", sans-serif;
font-style: italic;
font-size: 2.5em;
font-size: 2.5rem;
padding-left: 0;
color: white; }
.mg-brand:hover, .mg-brand:focus {
@ -106,11 +106,12 @@ a {
.mg-brand {
padding: 0;
max-width: 100%;
font-size: 2em; } }
font-size: 2rem; } }
.mg-tagline {
font-family: "Open Sans", sans-serif;
font-weight: 800;
font-size: 1rem;
color: white; }
.mg-header-extra {

View File

@ -69,7 +69,7 @@
<div class="mg-header-content uk-container uk-container-center">
<div class="uk-hidden-small">
<a class="mg-brand uk-navbar-brand" href="{{ SITEURL }}">{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}</a>
<a class="mg-brand uk-navbar-brand" href="{{ SITEURL }}">{% block header_text %}{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}{% endblock %}</a>
<div class="mg-tagline uk-navbar-content">{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}</div>
</div>

View File

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block header_text %}<h1>{{ super() }}</h1>{% endblock %}
{% block header_extra %}
{% if MG_LANG_FILTER_TAGS or MG_FILTER_TAGS %}

View File

@ -1,5 +1,5 @@
<article class="uk-article" itemtype="http://schema.org/BlogPosting" itemscope="itemscope" itemprop="blogPost">
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h1 class="uk-article-title" itemprop="name">{{ article.title|e }}</h1></a>
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
{% if DISQUS_SITENAME %} • <br class="uk-visible-small"><i class="uk-icon-comment"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}

View File

@ -5,7 +5,7 @@
<img class="mg-article-image image-process-thumb" src="{{ article.featured_image }}" alt="">
{% endif %}
<div class="mg-article-content">
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h1 class="uk-article-title" itemprop="name">{{ article.title|e }}</h1></a>
<a href="{{ SITEURL }}/{{ article.url }}" class="uk-link-muted"><h2 class="uk-article-title" itemprop="name">{{ article.title|e }}</h2></a>
<p class="uk-article-meta"><time datetime="{{ article.date.strftime('%Y-%m-%d') }}" itemprop="datePublished">{{ article.locale_date }}</time>
{% if CATEGORY_SAVE_AS %} • <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>{% endif %}
{% if DISQUS_SITENAME %} • <br class="uk-visible-small"><i class="uk-icon-comment"></i> <a href="{{ SITEURL }}/{{ article.url }}#disqus_thread" itemprop="discussionUrl"></a>{% endif %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block content %}
<div class="uk-width-medium-4-5">