fixed page displays
This commit is contained in:
parent
75f20cfe8a
commit
f7c0f24604
@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 1." # Quotation marks allow colons
|
||||
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
|
||||
draft: false # Make it "true" if you don't want Zola to "publish" yet
|
||||
template: blogPage.html
|
||||
taxonomies:
|
||||
categories: ["Community"]
|
||||
extra:
|
||||
|
@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 2." # Quotation marks allow colons
|
||||
date: 2018-10-25T07:40: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
|
||||
template: blogPage.html
|
||||
taxonomies:
|
||||
categories: ["Use Cases"]
|
||||
extra:
|
||||
|
@ -4,6 +4,7 @@ description: "The UNIQUE description for Post 3." # Quotation marks allow colons
|
||||
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
|
||||
draft: false # Make it "true" if you don't want Zola to "publish" yet
|
||||
template: blogPage.html
|
||||
extra:
|
||||
subtitle: "The UNIQUE Post 3 subtitle" # Quotation marks allow colons, semicolons, etc.
|
||||
author: Your name goes here
|
||||
|
@ -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
|
||||
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
|
||||
template: blogPage.html
|
||||
extra:
|
||||
subtitle: "The UNIQUE Post 5 subtitle" # Quotation marks allow colons, semicolons, etc.
|
||||
author: Your name goes here
|
||||
|
@ -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
|
||||
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
|
||||
template: blogPage.html
|
||||
extra:
|
||||
subtitle: "The UNIQUE Post 6 subtitle" # Quotation marks allow colons, semicolons, etc.
|
||||
author: Your name goes here
|
||||
|
@ -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
|
||||
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
|
||||
template: blogPage.html
|
||||
taxonomies:
|
||||
categories: ["Engineering"]
|
||||
extra:
|
||||
|
@ -2,7 +2,7 @@
|
||||
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."
|
||||
insert_anchor_links: "left"
|
||||
template: "index.html"
|
||||
template: "page.html"
|
||||
extra:
|
||||
imgPath: "/images/careers-hero.jpg"
|
||||
---
|
@ -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