Skip to content

Commit a423a9a

Browse files
committed
Fix: remove newlines in index.html template
1 parent 2b077da commit a423a9a

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

charon/constants.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,8 @@
133133
</header>
134134
<hr/>
135135
<main>
136-
<ul style="list-style: none outside;" id="contents">
137-
{% for item in index.items %}
138-
<li><a href="{{ item }}" title="{{ item }}">{{ item }}</a></li>
139-
{% endfor%}
136+
<ul style="list-style: none outside;" id="contents">{% for item in index.items %}
137+
<li><a href="{{ item }}" title="{{ item }}">{{ item }}</a></li>{% endfor%}
140138
</ul>
141139
</main>
142140
<hr/>
@@ -162,11 +160,9 @@
162160
<hr/>
163161
<main>
164162
<ul style="list-style: none outside;" id="contents">
165-
{% for item in index.items %}{% if item.startswith("@") or item.startswith("..") %}
166-
<li><a href="{{ item }}index.html" title="{{ item }}">{{ item }}</a></li>
167-
{% else %}
168-
<li><a href="{{ item }}" title="{{ item }}">{{ item }}</a></li>
169-
{% endif %}{% endfor%}
163+
{% for item in index.items %}{% if item.startswith("@") or item.startswith("..") %}
164+
<li><a href="{{ item }}index.html" title="{{ item }}">{{ item }}</a></li>{% else %}
165+
<li><a href="{{ item }}" title="{{ item }}">{{ item }}</a></li>{% endif %}{% endfor%}
170166
</ul>
171167
</main>
172168
<hr/>

0 commit comments

Comments
 (0)