Bladeren bron

Revert "Use arrows instead of « and » in next previous article because they are more obvious"

This reverts commit 75847004df9ee4f3a0732088aac0dd9ac6196846.

@calfzhou said

> I prefer "«" (`«`) and "»" (`»`).

Also no other user has requested for it.

https://github.com/talha131/pelican-elegant/commit/75847004df9ee4f3a0732088aac0dd9ac6196846#commitcomment-5083703
Talha Mansoor 11 jaren geleden
bovenliggende
commit
abd9417c83
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      templates/article.html

+ 2 - 2
templates/article.html

@@ -52,7 +52,7 @@
                         {% set pv_title = ptitle + ' ' +  '<small>' + article.prev_article.subtitle + '</small>' %}
                         {% set ptitle = ptitle + ' - ' + article.prev_article.subtitle %}
                     {% endif %}
-                <li class="previous-article"><a href="{{ SITEURL }}/{{ article.prev_article.url }}" title="Previous: {{ ptitle }}">&larr; {{ pv_title }}</a></li>
+                <li class="previous-article">« <a href="{{ SITEURL }}/{{ article.prev_article.url }}" title="Previous: {{ ptitle }}">{{ pv_title }}</a></li>
                 {% endif %}
                 {% if article.next_article %}
                     {% set ntitle = article.next_article.title|striptags %}
@@ -61,7 +61,7 @@
                         {% set nv_title = ntitle + ' ' +  '<small>' + article.next_article.subtitle + '</small>' %}
                         {% set ntitle = ntitle + ' - ' + article.next_article.subtitle %}
                     {% endif %}
-                <li class="next-article"><a href="{{ SITEURL }}/{{ article.next_article.url }}" title="Next: {{ ntitle }}">{{ nv_title }} &rarr;</a></li>
+                <li class="next-article"><a href="{{ SITEURL }}/{{ article.next_article.url }}" title="Next: {{ ntitle }}">{{ nv_title }}</a> »</li>
                 {% endif %}
             </ul>
             </nav>