New header
This commit is contained in:
		@@ -3,27 +3,36 @@
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
	<meta charset="UTF-8">
 | 
			
		||||
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
	<title>{% block title %}{{ config.title }}{% endblock %}</title>
 | 
			
		||||
	<link rel="stylesheet" href="/style.css">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
	<header>
 | 
			
		||||
		<a href="{{ config.base_url }}">{{ config.title }}</a>
 | 
			
		||||
		<div class="wrap">
 | 
			
		||||
			<a href="{{ config.base_url }}" class="title">{{ config.title }}</a>
 | 
			
		||||
			<nav>
 | 
			
		||||
				<a href="">Source</a>,
 | 
			
		||||
				<a href="">RSS</a>
 | 
			
		||||
			</nav>
 | 
			
		||||
		</div>
 | 
			
		||||
	</header>
 | 
			
		||||
	<aside>
 | 
			
		||||
		<ul>
 | 
			
		||||
			{% for item in config.extra.nav %}
 | 
			
		||||
				<li><a href="{{ item.path }}">{{ item.title }}</a></li>
 | 
			
		||||
			{% endfor %}
 | 
			
		||||
		</ul>
 | 
			
		||||
		<span class="title">Categories</span>
 | 
			
		||||
		{{ macros::list_taxonomy(kind="categories") }}
 | 
			
		||||
	</aside>
 | 
			
		||||
	<main>
 | 
			
		||||
		{% block content %}
 | 
			
		||||
			{{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }}
 | 
			
		||||
		{% endblock %}
 | 
			
		||||
	</main>
 | 
			
		||||
	<div class="wrap grid">
 | 
			
		||||
		<aside>
 | 
			
		||||
			<ul>
 | 
			
		||||
				{% for item in config.extra.nav %}
 | 
			
		||||
					<li><a href="{{ item.path }}">{{ item.title }}</a></li>
 | 
			
		||||
				{% endfor %}
 | 
			
		||||
			</ul>
 | 
			
		||||
			<span class="title">Categories</span>
 | 
			
		||||
			{{ macros::list_taxonomy(kind="categories") }}
 | 
			
		||||
		</aside>
 | 
			
		||||
		<main>
 | 
			
		||||
			{% block content %}
 | 
			
		||||
				{{ macros::list_posts(section="posts", count=config.extra.latest_posts_count) }}
 | 
			
		||||
			{% endblock %}
 | 
			
		||||
		</main>
 | 
			
		||||
	</div>
 | 
			
		||||
	{% block script %}{% endblock %}
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user