From 79e437e95befede083aa3b4b195ab3aaa53c7eb4 Mon Sep 17 00:00:00 2001 From: Ivana Bilic Date: Thu, 28 May 2020 15:39:18 -0700 Subject: [PATCH 1/2] Starting 'about' page --- 11ty/_includes/layouts/about.njk | 20 + 11ty/_includes/layouts/base.njk | 1 + 11ty/about/index.md | 7 + 11ty/index.njk | 5 +- package-lock.json | 5425 +++++++++++++++--------------- 5 files changed, 2735 insertions(+), 2723 deletions(-) create mode 100644 11ty/_includes/layouts/about.njk create mode 100644 11ty/about/index.md diff --git a/11ty/_includes/layouts/about.njk b/11ty/_includes/layouts/about.njk new file mode 100644 index 000000000..d9c769955 --- /dev/null +++ b/11ty/_includes/layouts/about.njk @@ -0,0 +1,20 @@ +{% extends 'layouts/base.njk' %} +{% set pageType = 'Page' %} +{% set titleWithPath = title + ' « About « ' %} +{% block pageStyles %} + {# Code highlighting #} + +{% endblock %} +{% block content %} +
+ {% include 'components/sub-page-header.njk' %} +
+ {%- if parent -%} +
+ {{ parent.title }} +
+ {% endif %} +

{{ title }}

+ {{ content | safe }} +
+ {% endblock %} diff --git a/11ty/_includes/layouts/base.njk b/11ty/_includes/layouts/base.njk index a1e79b73c..aa0c0aa5c 100644 --- a/11ty/_includes/layouts/base.njk +++ b/11ty/_includes/layouts/base.njk @@ -22,6 +22,7 @@