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.html | |
parent | 49285301aca568d045fdbd3c3f9f03f9ec176843 (diff) |
add section or page title as HTML title
Diffstat (limited to 'templates/photos.html')
-rw-r--r-- | templates/photos.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/photos.html b/templates/photos.html index bad4589..218a26d 100644 --- a/templates/photos.html +++ b/templates/photos.html @@ -1,14 +1,13 @@ {% extends "base.html" %} {% block body %} -<h1>{{ section.title }}</h1> {% for page in paginator.pages %} <figure class="center"> <a {% if page.content %} href="{{ page.permalink }}" {% endif %}> <img - alt="{{page.extra.caption}}" + alt="{{page.title}}" src="{{ page.permalink }}/{{ page.extra.file_name }}" /> </a> - <figcaption>{{page.extra.caption}}</figcaption> + <figcaption>{{page.title}}</figcaption> </figure> {% endfor %} {% if paginator.previous or paginator.next%} <div class="row"> |