Browse Source

Fix filter

imwald
Nuša Pukšič 1 month ago
parent
commit
83dad8b270
  1. 3
      templates/pages/article_disambiguation.html.twig

3
templates/pages/article_disambiguation.html.twig

@ -4,7 +4,8 @@
<h1>Disambiguation: Multiple Articles for "{{ slug }}"</h1> <h1>Disambiguation: Multiple Articles for "{{ slug }}"</h1>
<p>There are multiple articles with the slug <strong>{{ slug }}</strong>. Please select the author:</p> <p>There are multiple articles with the slug <strong>{{ slug }}</strong>. Please select the author:</p>
<ul> <ul>
{% for author, article in authors|zip(articles) %} {% for article in articles %}
{% set author = authors[loop.index0] %}
<li> <li>
<a href="{{ path('author-article-slug', { npub: author.npub, slug: slug }) }}"> <a href="{{ path('author-article-slug', { npub: author.npub, slug: slug }) }}">
Author: {{ author.npub }} Author: {{ author.npub }}

Loading…
Cancel
Save