summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2023-12-15 00:30:08 -0500
committersowgro <tpoke.ferrari@gmail.com>2023-12-15 00:30:08 -0500
commita4e5b0adb5f044bd8ef81bdcd427dfae64e1b9cb (patch)
tree58e748030a93578b1edf552885769d04716a8d67 /templates
parent606af5568e839f8bc6651ac1d43f711f00b1b3aa (diff)
downloadgrav-sowtheme-a4e5b0adb5f044bd8ef81bdcd427dfae64e1b9cb.tar.gz
grav-sowtheme-a4e5b0adb5f044bd8ef81bdcd427dfae64e1b9cb.tar.bz2
grav-sowtheme-a4e5b0adb5f044bd8ef81bdcd427dfae64e1b9cb.zip
fix moz animation and other tweaks
Diffstat (limited to 'templates')
-rw-r--r--templates/directory.html.twig1
-rw-r--r--templates/partials/header.html.twig12
2 files changed, 9 insertions, 4 deletions
diff --git a/templates/directory.html.twig b/templates/directory.html.twig
index bdb3a5c..cc02e7f 100644
--- a/templates/directory.html.twig
+++ b/templates/directory.html.twig
@@ -13,7 +13,6 @@
{% include 'partials/header.html.twig' %}
<div class="center">
<div class="content">
- <h1>Blog pages</h1>
{{ page.content|raw }}
{% include 'partials/list.html.twig' %}
{% include 'partials/navigation.html.twig' %}
diff --git a/templates/partials/header.html.twig b/templates/partials/header.html.twig
index 4229a92..0c02cfe 100644
--- a/templates/partials/header.html.twig
+++ b/templates/partials/header.html.twig
@@ -1,11 +1,17 @@
<div class="header">
{% if page.header.icon %}
- <span class=icon>{{page.header.icon}}</span>
+ <span class=icon>{{page.header.icon}}</span>
{% else %}
- <span class=icon>web</span>
+ <span class=icon>web</span>
{% endif %}
{% if page.url != "/" %}
- <a href="/" style="color:white;">{{site.title|e}}</a>
+ <a href="/" style="color:white;">{{site.title|e}}</a>
{% endif %}
+ {% if page.parent.url != "/" %}
+ <a href="{{ page.parent.url }}">
+ <span class="icon" style="color: white;">close</span>
+ </a>
+ {% else %}
<span class="icon" style="color:transparent;">web</span>
+ {% endif %}
</div> \ No newline at end of file