diff --git a/templates/atom.xml b/templates/atom.xml
index a7557bc..e3782b7 100644
--- a/templates/atom.xml
+++ b/templates/atom.xml
@@ -38,11 +38,11 @@
{{ page.permalink | safe }}
- {% if page.summary %}
+ {% if page.summary -%}
{{ page.summary }}
- {% elif page.description %}
+ {% elif page.description -%}
{{ page.description }}
- {% endif %}
+ {% endif -%}
{%- endfor %}