fixed page displays
This commit is contained in:
		@@ -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
									
								
							
							
						
						
									
										21
									
								
								templates/blogPage.html
									
									
									
									
									
										Normal 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 %}
 | 
			
		||||
							
								
								
									
										0
									
								
								templates/defaultPage.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								templates/defaultPage.html
									
									
									
									
									
										Normal 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 %}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
{% extends "_default/base.html" %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
 | 
			
		||||
<main class="pt-16">
 | 
			
		||||
    {{section.content | safe}}
 | 
			
		||||
 </main> {% endblock content %}
 | 
			
		||||
@@ -30,6 +30,7 @@
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
{%- set section = get_section(path="header/_index.md") %}
 | 
			
		||||
{% set header_items = section.content | safe | split(pat="<li>") %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user