chore: Update the templates
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
5481a5d239
commit
31ee4f4379
2 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<html lang="{{ lang }}">
|
||||
<html dir="{% if section.extra.dir %}{{section.extra.dir}}{% else %}ltr{% endif %}" lang="{% if section.extra.lang %}{{section.extra.lang}}{% else %}en-US{% endif %}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
|
||||
|
@ -115,7 +115,7 @@
|
|||
{% if config.extra.footer_nav %}
|
||||
<nav>
|
||||
{% for nav_item in config.extra.footer_nav %}
|
||||
<a href="{{ nav_item.url | safe }}">{{ nav_item.name }}</a>
|
||||
<a href="{{ nav_item.url | safe }}" {% if nav_item.new_tab %}target="_blank" rel="noreferrer noopener"{% endif %}>{{ nav_item.name }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block header %}
|
||||
<p><a href="{{ section.path }}..">..</a>{{ section.path }}</p>
|
||||
|
||||
<h1>{{ section.title }}</h1>
|
||||
{% endblock header %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue