chore: Update the templates

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-06-01 12:41:30 +03:00
parent 5481a5d239
commit 31ee4f4379
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
2 changed files with 2 additions and 4 deletions

View file

@ -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 %}

View file

@ -1,8 +1,6 @@
{% extends "base.html" %}
{% block header %}
<p><a href="{{ section.path }}..">..</a>{{ section.path }}</p>
<h1>{{ section.title }}</h1>
{% endblock header %}