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

@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 1." # Quotation marks allow colons
date: 2018-10-17T14:40:00-05:00 date: 2018-10-17T14:40:00-05:00
updated: 2019-04-11T20:33:00-05:00 # Comment-out this line with a # if content is unchanged updated: 2019-04-11T20:33:00-05:00 # Comment-out this line with a # if content is unchanged
draft: false # Make it "true" if you don't want Zola to "publish" yet draft: false # Make it "true" if you don't want Zola to "publish" yet
template: blogPage.html
taxonomies: taxonomies:
categories: ["Community"] categories: ["Community"]
extra: extra:

View File

@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 2." # Quotation marks allow colons
date: 2018-10-25T07:40:00-05:00 date: 2018-10-25T07:40:00-05:00
updated: 2020-06-13T13:10:00-05:00 updated: 2020-06-13T13:10:00-05:00
draft: false # Make it "true" if you don't want Zola to "publish" yet draft: false # Make it "true" if you don't want Zola to "publish" yet
template: blogPage.html
taxonomies: taxonomies:
categories: ["Use Cases"] categories: ["Use Cases"]
extra: extra:

View File

@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 3." # Quotation marks allow colons
date: 2019-01-19T03:25:00-06:00 date: 2019-01-19T03:25:00-06:00
updated: 2019-10-06T14:00:00-05:00 # Comment-out this line with a # if content is unchanged updated: 2019-10-06T14:00:00-05:00 # Comment-out this line with a # if content is unchanged
draft: false # Make it "true" if you don't want Zola to "publish" yet draft: false # Make it "true" if you don't want Zola to "publish" yet
template: blogPage.html
extra: extra:
subtitle: "The UNIQUE Post 3 subtitle" # Quotation marks allow colons, semicolons, etc. subtitle: "The UNIQUE Post 3 subtitle" # Quotation marks allow colons, semicolons, etc.
author: Your name goes here author: Your name goes here

View File

@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 5." # Quotation marks allow colons
date: 2019-03-08T16:08:00-05:00 # This would be 10:08 PM (2208) UTC on March 8, 2019 date: 2019-03-08T16:08:00-05:00 # This would be 10:08 PM (2208) UTC on March 8, 2019
updated: 2020-01-01T02:39:00-06:00 # Comment-out this line with a # if content is unchanged updated: 2020-01-01T02:39:00-06:00 # Comment-out this line with a # if content is unchanged
draft: false # Make it "true" if you don't want Zola to "publish" yet draft: false # Make it "true" if you don't want Zola to "publish" yet
template: blogPage.html
extra: extra:
subtitle: "The UNIQUE Post 5 subtitle" # Quotation marks allow colons, semicolons, etc. subtitle: "The UNIQUE Post 5 subtitle" # Quotation marks allow colons, semicolons, etc.
author: Your name goes here author: Your name goes here

View File

@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 6." # Quotation marks allow colons
date: 2019-06-08T15:25:00-05:00 # This would be 8:25 PM (2025) UTC on June 8, 2019 date: 2019-06-08T15:25:00-05:00 # This would be 8:25 PM (2025) UTC on June 8, 2019
updated: 2019-07-25T14:05:00-05:00 # Comment-out this line with a # if content is unchanged updated: 2019-07-25T14:05:00-05:00 # Comment-out this line with a # if content is unchanged
draft: false # Make it "true" if you don't want Zola to "publish" yet draft: false # Make it "true" if you don't want Zola to "publish" yet
template: blogPage.html
extra: extra:
subtitle: "The UNIQUE Post 6 subtitle" # Quotation marks allow colons, semicolons, etc. subtitle: "The UNIQUE Post 6 subtitle" # Quotation marks allow colons, semicolons, etc.
author: Your name goes here author: Your name goes here

View File

@ -4,6 +4,7 @@ description: "Since the launch of ThreeFold Grid 3.0, TFT is now available on th
date: 2018-10-17T14:40:00-05:00 date: 2018-10-17T14:40:00-05:00
updated: 2019-04-11T20:33:00-05:00 # Comment-out this line with a # if content is unchanged updated: 2019-04-11T20:33:00-05:00 # Comment-out this line with a # if content is unchanged
draft: false # Make it "true" if you don't want Zola to "publish" yet draft: false # Make it "true" if you don't want Zola to "publish" yet
template: blogPage.html
taxonomies: taxonomies:
categories: ["Engineering"] categories: ["Engineering"]
extra: extra:

View File

@ -2,7 +2,7 @@
title: "Careers" title: "Careers"
description: "NEAR is on a mission to empower everyone to take back control of their money, their data, and their identity. Join us." description: "NEAR is on a mission to empower everyone to take back control of their money, their data, and their identity. Join us."
insert_anchor_links: "left" insert_anchor_links: "left"
template: "index.html" template: "page.html"
extra: extra:
imgPath: "/images/careers-hero.jpg" imgPath: "/images/careers-hero.jpg"
--- ---

View File

@ -2,7 +2,6 @@
<html lang="en" charset="utf-8"> <html lang="en" charset="utf-8">
{% include "partials/head.html" %} {% include "partials/head.html" %}
{%- set section = get_section(path="header/_index.md") %}
{% include "partials/header.html" %} {% include "partials/header.html" %}
{%- set section = get_section(path="_index.md") %} {%- 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" %} {% extends "_default/base.html" %}
{% block content %} {% block content %}
<!-- Default page template for blog posts and basic informative markdown files --> <main class="pt-16">
<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}} {{page.content | safe}}
</article> </main> {% endblock content %}
</div>
</div>
{% 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> </script>
{%- set section = get_section(path="header/_index.md") %}
{% set header_items = section.content | safe | split(pat="<li>") %} {% set header_items = section.content | safe | split(pat="<li>") %}