diff options
author | Nikolas <nikolas@boutalas.com> | 2024-11-16 18:54:49 +0000 |
---|---|---|
committer | Nikolas <nikolas@boutalas.com> | 2024-11-16 18:54:49 +0000 |
commit | 9b5e1ca545ac611963a655b58d360684f9c34153 (patch) | |
tree | b942b13d6a10f22226e711a3345485c3cd96d2f5 /templates/photos-page.html | |
parent | 49285301aca568d045fdbd3c3f9f03f9ec176843 (diff) |
add section or page title as HTML title
Diffstat (limited to 'templates/photos-page.html')
-rw-r--r-- | templates/photos-page.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/photos-page.html b/templates/photos-page.html index 53f8b5c..a47b41e 100644 --- a/templates/photos-page.html +++ b/templates/photos-page.html @@ -1,4 +1,4 @@ {% extends "base.html" %} {% block body %} -<h1>{{page.extra.caption}}</h1> -<img alt="{{page.extra.caption}}" src="{{ page.extra.file_name }}" /> +<h1>{{ page.title }}</h1> +<img alt="{{page.title}}" src="./{{ page.extra.file_name }}" /> {{ page.content | safe }} {% endblock body %} |