about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/index.html b/templates/index.html
index 7a7d753..ab91a21 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -4,10 +4,10 @@
 
 {% 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 @@
       <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>