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:
parent
d1f84b86cb
commit
4cf106620f
2 changed files with 5 additions and 3 deletions
3
_includes/header.html
Normal file
3
_includes/header.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{% if site.title and site.title != page.title %}
|
||||
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
|
||||
{% endif %}
|
||||
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue