Improve HTML indentation
1 file changed, 5 insertions(+), 5 deletions(-)
changed files
M templates/index.html → templates/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>