Section title in template title

This commit is contained in:
Fabrice Mouhartem 2023-11-07 09:54:02 +01:00
parent b574b77acc
commit 979220becb
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
+++
title = "Homepage"
title = "Home"
template = "index.html"
date = 2023-11-01
sort_by = "weight"

View File

@ -5,7 +5,7 @@
<meta charset="utf-8" />
<meta name="generator" content="zola" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>fmouhart.epheme.re</title>
<title>{% if section.title %}{{section.title}} |{% endif %} Fabrice Mouhartem</title>
<link rel="stylesheet" href="{{ get_url(path="/style.css") }}" />
<link rel="shortcut icon" type="image/png" href="{{ get_url(path="/img/lock.png") }}" />
</head>