all repos — website @ c05bd8303b53d26e5b283bc71b0153f221dca962

My website

Improve HTML indentation

Alan Pearce
commit

c05bd8303b53d26e5b283bc71b0153f221dca962

parent

19701d1646fcf8f95c51bab60ee4aadc23ece2b5

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>