More HTML5-compliant semantic layout
This commit is contained in:
@ -12,18 +12,18 @@
|
||||
<header>
|
||||
<div class="wrap">
|
||||
<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
|
||||
<nav>
|
||||
<div class="links">
|
||||
{% if config.extra.repository_url %}
|
||||
<a href="{{ config.extra.repository_url }}">Source</a>,
|
||||
{% endif %}
|
||||
<a href="{{ get_url(path="/posts/atom.xml", trailing_slash=false) }}">RSS/Atom</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="wrap grid">
|
||||
<aside>
|
||||
<nav>
|
||||
<span class="title">Navigation</span>
|
||||
<ul class="nav">
|
||||
<ul class="main">
|
||||
{% for item in config.extra.nav %}
|
||||
<li
|
||||
{% if item.mobile_only %}
|
||||
@ -34,7 +34,7 @@
|
||||
</ul>
|
||||
<span class="title">Categories</span>
|
||||
{{ macros::list_taxonomy(kind="categories") }}
|
||||
</aside>
|
||||
</nav>
|
||||
<main>
|
||||
{% block content %}
|
||||
{{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }}
|
||||
|
Reference in New Issue
Block a user