body: remove condition for homepage, as it uses its own template

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-10-08 17:28:03 +02:00
parent f0427f7cb5
commit 0be6bf621d
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 2 deletions

View File

@ -13,11 +13,10 @@
<div class="col-body"> <div class="col-body">
<main class="col-content content"> <main class="col-content content">
<section class="section"> <section class="section">
{% if page.url != '/' %}
{% if page.title %} {% if page.title %}
<h1>{{ page.title }}</h1>{% endif %} {% if page.advisory %} <h1>{{ page.title }}</h1>{% endif %} {% if page.advisory %}
<blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote> <blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote>
{% endif %}{% endif %} {% endif %}
{% unless page.tree == false or page.skip_read_time == true %}{% include read_time.html %}{% endunless %} {% unless page.tree == false or page.skip_read_time == true %}{% include read_time.html %}{% endunless %}
{% if page.enterprise %}{% include enterprise_moved.html %}{% endif %} {% if page.enterprise %}{% include enterprise_moved.html %}{% endif %}
{{ content }} {{ content }}