diff --git a/_includes/faqs.html b/_includes/faqs.html index befd428..02f0559 100644 --- a/_includes/faqs.html +++ b/_includes/faqs.html @@ -1,10 +1,12 @@ {%- assign faqs = include.faqs | default: page.faqs -%} {%- if faqs.size > 0 %} -{% if include.heading %}

{{ include.heading | markdownify }}

{% endif %} + {%- if include.heading %} +

{{ include.heading | markdownify }}

+ {%- endif %}
-{% for faq in faqs %} -
{{ faq.question | markdownify }}
-
{{ faq.answer | markdownify }}
-{% endfor %} + {%- for faq in faqs %} +
{{ faq.question | markdownify | strip }}
+
{{ faq.answer | markdownify | strip }}
+ {%- endfor %}
-{% endif %} +{%- endif %} diff --git a/_includes/header.html b/_includes/header.html index a29efba..89ab61f 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,5 +1,7 @@

{{ site.title }} - {% if site.subtitle %}{{ site.subtitle }}{% endif %} +{%- if site.subtitle %} + {{ site.subtitle }} +{%- endif %}

Main site @@ -7,6 +9,3 @@

{{ site.title }} | Get Help | Edit this documentation

- - - diff --git a/_includes/navigation.html b/_includes/navigation.html index 8b36c60..b138d25 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,16 +1,18 @@ diff --git a/_layouts/default.html b/_layouts/default.html index 1b783a8..1379a57 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,9 +3,9 @@ - - {% if site.subtitle %}{% endif %} - + {%- if site.subtitle %} + + {%- endif %} @@ -21,8 +21,8 @@
- {% assign post_count = site.posts|size %} - {% if site.navigation != 0 and site.navigation == 1 or post_count > 0 %} + {%- assign post_count = site.posts|size %} + {%- if site.navigation != 0 and site.navigation == 1 or post_count > 0 %} @@ -30,27 +30,27 @@
{{ content }}
- {% else %} + {%- else %}
{{ content }}
- {% endif %} + {%- endif %}
- {% if page.disqus == 1 %} + {%- if page.disqus == 1 %}
- {% if site.navigation == 1 or post_count > 0 %} + {%- if site.navigation == 1 or post_count > 0 %}
{% include disqus.html %}
- {% else %} + {%- else %}
{% include disqus.html %}
- {% endif %} + {%- endif %}
- {% endif %} + {%- endif %}