Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PtitLutinn opened this issue May 20, 2024 · 0 comments
Open

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

PtitLutinn opened this issue May 20, 2024 · 0 comments

Comments

@PtitLutinn
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant