1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

layout: move header stuff to _includes/header.html

This commit is contained in:
Henrik Hautakoski 2019-10-23 14:04:57 +02:00
parent d1f84b86cb
commit 4cf106620f
2 changed files with 5 additions and 3 deletions

3
_includes/header.html Normal file
View file

@ -0,0 +1,3 @@
{% if site.title and site.title != page.title %}
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
{% endif %}

View file

@ -3,9 +3,8 @@
{% include head.html %}
<body>
<div class="container-lg px-3 my-5 markdown-body">
{% if site.title and site.title != page.title %}
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
{% endif %}
{% include header.html %}
{{ content }}