fixed page displays

This commit is contained in:
timurgordon
2022-02-16 06:43:00 +03:00
parent 75f20cfe8a
commit f7c0f24604
13 changed files with 33 additions and 27 deletions

View File

@@ -2,7 +2,6 @@
<html lang="en" charset="utf-8">
{% include "partials/head.html" %}
{%- set section = get_section(path="header/_index.md") %}
{% include "partials/header.html" %}
{%- set section = get_section(path="_index.md") %}

21
templates/blogPage.html Normal file
View File

@@ -0,0 +1,21 @@
{% extends "_default/base.html" %}
{% block content %}
<!-- Default page template for blog posts and basic informative markdown files -->
<div class="sm:w-5/6 md:w-4/5 mr-auto ml-auto px-6 lg:px-16 xl:w-11/12">
<img src="/images/threefold_blog.png" alt="">
<div>
<article class="article lg:w-7/12 mx-auto">
<h1 class="tracking-tight pt-12 lg:pt-12 2xl:pt-32 text-5xl text-left
text-5xl fw-500 leading-snug font-normal mb-10">
hey{{ page.title }}
</h1>
<h4 class="text-sm not-italic font-light leading-6 text-gray-600">
</h4>
{{ page.content | safe }}
</article>
</div>
</div>
{% endblock content %}

View File

View File

@@ -1,21 +1,7 @@
{% extends "_default/base.html" %}
{% block content %}
<!-- Default page template for blog posts and basic informative markdown files -->
<div class="sm:w-5/6 md:w-4/5 mr-auto ml-auto px-6 lg:px-16 xl:w-11/12">
<img src="/images/threefold_blog.png" alt="">
<div>
<article class="article lg:w-7/12 mx-auto">
<h1 class="tracking-tight pt-12 lg:pt-12 2xl:pt-32 text-5xl text-left
text-5xl fw-500 leading-snug font-normal mb-10">
{{ page.title }}
</h1>
<h4 class="text-sm not-italic font-light leading-6 text-gray-600">
</h4>
{{ page.content | safe }}
</article>
</div>
</div>
{% endblock content %}
<main class="pt-16">
{{page.content | safe}}
</main> {% endblock content %}

View File

@@ -1,7 +0,0 @@
{% extends "_default/base.html" %}
{% block content %}
<main class="pt-16">
{{section.content | safe}}
</main> {% endblock content %}

View File

@@ -30,6 +30,7 @@
</script>
{%- set section = get_section(path="header/_index.md") %}
{% set header_items = section.content | safe | split(pat="<li>") %}