diff --git a/content/blog/2018/10/post-1/index.md b/content/blog/2018/10/post-1/index.md index 9255e93..6125d2a 100644 --- a/content/blog/2018/10/post-1/index.md +++ b/content/blog/2018/10/post-1/index.md @@ -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: diff --git a/content/blog/2018/10/post-2/index.md b/content/blog/2018/10/post-2/index.md index 699852a..59ed1d4 100644 --- a/content/blog/2018/10/post-2/index.md +++ b/content/blog/2018/10/post-2/index.md @@ -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: diff --git a/content/blog/2019/01/post-3/index.md b/content/blog/2019/01/post-3/index.md index e5d8a8b..03dc6f2 100644 --- a/content/blog/2019/01/post-3/index.md +++ b/content/blog/2019/01/post-3/index.md @@ -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 diff --git a/content/blog/2019/03/post-5/index.md b/content/blog/2019/03/post-5/index.md index 6b860b3..c292518 100644 --- a/content/blog/2019/03/post-5/index.md +++ b/content/blog/2019/03/post-5/index.md @@ -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 diff --git a/content/blog/2019/06/post-6/index.md b/content/blog/2019/06/post-6/index.md index e5328e0..13e6b32 100644 --- a/content/blog/2019/06/post-6/index.md +++ b/content/blog/2019/06/post-6/index.md @@ -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 diff --git a/content/blog/2020/02/post-7/index.md b/content/blog/2020/02/post-7/index.md index b01b3a3..b28de69 100644 --- a/content/blog/2020/02/post-7/index.md +++ b/content/blog/2020/02/post-7/index.md @@ -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: diff --git a/content/careers/_index.md b/content/careers/index.md similarity index 98% rename from content/careers/_index.md rename to content/careers/index.md index 8f43386..20505ad 100644 --- a/content/careers/_index.md +++ b/content/careers/index.md @@ -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" --- diff --git a/templates/_default/base.html b/templates/_default/base.html index 81e81b4..f934795 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -2,7 +2,6 @@ {% include "partials/head.html" %} - {%- set section = get_section(path="header/_index.md") %} {% include "partials/header.html" %} {%- set section = get_section(path="_index.md") %} diff --git a/templates/blogPage.html b/templates/blogPage.html new file mode 100644 index 0000000..944a8f9 --- /dev/null +++ b/templates/blogPage.html @@ -0,0 +1,21 @@ +{% extends "_default/base.html" %} +{% block content %} + + +
+ +
+
+

+ hey{{ page.title }} +

+

+

+ + {{ page.content | safe }} +
+
+
+ +{% endblock content %} \ No newline at end of file diff --git a/templates/defaultPage.html b/templates/defaultPage.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/page.html b/templates/page.html index 4e71edd..bea8136 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,21 +1,7 @@ {% extends "_default/base.html" %} + {% block content %} - -
- -
-
-

- {{ page.title }} -

-

-

- - {{ page.content | safe }} -
-
-
- -{% endblock content %} \ No newline at end of file +
+ {{page.content | safe}} +
{% endblock content %} diff --git a/templates/pages/defaultPage.html b/templates/pages/defaultPage.html deleted file mode 100644 index e74c2ed..0000000 --- a/templates/pages/defaultPage.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "_default/base.html" %} - -{% block content %} - -
- {{section.content | safe}} -
{% endblock content %} diff --git a/templates/partials/header.html b/templates/partials/header.html index d3d0ad1..d6d1d66 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -30,6 +30,7 @@ +{%- set section = get_section(path="header/_index.md") %} {% set header_items = section.content | safe | split(pat="
  • ") %}