Skip to content

captions.txt doesn't send all the captions #122

@PtitLutinn

Description

@PtitLutinn

I
i'm runing the pluging to make a galery, i use my own theme.
i'm running this code :

<div id=galerie>
	{{ page.content }}
	{% for titre, gallery in page.photo_gallery %}
	{% for name, photo, thumb, exif, caption in gallery %}
	<a href="{{ SITEURL }}/{{ name }}.html" class=image_lien><img class=img_galerie src="{{ SITEURL }}/{{ photo }}" title= "{{ name }}" alt="{{ caption }}"></a>
	{% endfor %}
	{% endfor %}

</div>

i choose to use the caption.txt for the alt text of my photos, but on 5 tests photos only 2 have their alt. The name of the pictures are ok and i have reload the site numerous times.

I run pelican on archlinux on a venv with python 3.12.

thanks for help
nael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions