all repos — homestead @ 98beceb142db5e67d74a9a64af0a1f99ba902788

Code for my website

Improve HTML indentation

Alan Pearce
commit

98beceb142db5e67d74a9a64af0a1f99ba902788

parent

0f2304646653f75f769ff8a5057ab53b3ea8d3cc

1 file changed, 5 insertions(+), 5 deletions(-)

changed files
M templates/index.htmltemplates/index.html
@@ -4,10 +4,10 @@ {% block body_attrs %} class="h-card vcard"{% endblock %}
{% block title_class %} p-name fn{% endblock %} -{% block main %} +{% block main -%} <main id="content"> <div> - {{ section.content | safe }} + {{ section.content | safe -}} </div> <section> <h2>Latest Posts</h2>
@@ -26,11 +26,11 @@ <h2>Elsewhere on the Internet</h2>
<ul> {%- for item in config.extra.contact_menu %} <li> - {%- if item.url is starting_with("mailto:") %} + {%- if item.url is starting_with("mailto:") -%} <a href="{{ item.url | safe }}" class="u-email email" rel="me">{{ item.name }}</a> - {%- else %} + {%- else -%} <a href="{{ item.url | safe }}" class="u-url url" rel="me">{{ item.name }}</a> - {%- endif %} + {%- endif -%} </li> {%- endfor %} </ul>