Merge pull request #14 from welpo/feature/add-md-support-to-index
Feature/add md support to index
This commit is contained in:
@@ -60,22 +60,25 @@
|
||||
<h2>
|
||||
{{ title }}
|
||||
</h2>
|
||||
{% endmacro content %}
|
||||
{% endmacro page_header %}
|
||||
|
||||
|
||||
{% macro page_desc(desc) %}
|
||||
{% macro page_desc(desc, page) %}
|
||||
<div id="banner-container-home">
|
||||
<div id="home-banner-text">
|
||||
<h1>
|
||||
{{ desc.title }}
|
||||
{{ desc.title }}
|
||||
</h1>
|
||||
<p id="banner-home-subtitle">{{ desc.text }}</p>
|
||||
<section id="banner-home-subtitle">
|
||||
{{ page.content | safe }}
|
||||
</section>
|
||||
</div>
|
||||
<div class="image-container-home">
|
||||
<img alt="the owner" class="banner-home-img" src="{{ desc.img }}" />
|
||||
<img alt="the owner" class="banner-home-img" src="{{ desc.img }}" />
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro content %}
|
||||
{% endmacro page_desc %}
|
||||
|
||||
|
||||
{% macro content(page) %}
|
||||
<main>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
{% endif -%}
|
||||
|
||||
{%- if section.extra.desc %}
|
||||
{{ post_macros::page_desc(desc=section.extra.desc) }}
|
||||
{{ post_macros::page_desc(desc=section.extra.desc, page=section) }}
|
||||
{% endif -%}
|
||||
|
||||
<main class="list">
|
||||
|
Reference in New Issue
Block a user