Add parameter for custom page title

This commit is contained in:
Helen Chong 2024-04-15 12:19:42 +08:00
parent 90ede145a0
commit 24aadcbcb6
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ layout: main/base
--- ---
<header class="main__header"> <header class="main__header">
<h1>{{ title }}</h1> <h1>{{ pageTitle or title }}</h1>
{% if intro %} {% if intro %}
<p>{{ intro }}</p> <p>{{ intro }}</p>
{% endif %} {% endif %}