fix some head content and fix image for page template

This commit is contained in:
2026-05-13 11:00:43 -07:00
parent 3955025759
commit a2b0055a54
3 changed files with 6 additions and 5 deletions

View File

@ -4,8 +4,8 @@ layout: base.njk
<h1>{{ title }}</h1>
{% if data.hero %}
<img src="{{ data.hero.src }}" alt="{{ data.hero.alt }}">
{% if hero %}
<img src="{{ hero.src }}" alt="{{ hero.alt }}">
{% endif %}
{{ content | safe }}