forked from github/pelican
Remove bad whitespace stripping in simple theme
This joins the contents of the block to the previous line, which messes up the output formatting in this case. Old vs new output: - <ul> <li>... + <ul> + <li>... This change is already in the 'notmyidea' theme.
This commit is contained in:
parent
bf16faf1e2
commit
a3d76a0fd8
2 changed files with 2 additions and 3 deletions
|
|
@ -4,9 +4,8 @@
|
|||
|
||||
{% block content %}
|
||||
<h1>Authors on {{ SITENAME }}</h1>
|
||||
|
||||
<ul>
|
||||
{%- for author, articles in authors|sort %}
|
||||
{% for author, articles in authors|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
{% block content %}
|
||||
<h1>Tags for {{ SITENAME }}</h1>
|
||||
<ul>
|
||||
{%- for tag, articles in tags|sort %}
|
||||
{% for tag, articles in tags|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue