Skip to content

Commit 8c7e531

Browse files
committed
Add page template
- Remove titles from template content so they do not appear in feed - Clean up some old post content
1 parent e9374f2 commit 8c7e531

File tree

8 files changed

+281
-294
lines changed

8 files changed

+281
-294
lines changed

src/_includes/layouts/page.njk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: layouts/base
3+
---
4+
5+
<h1>{{ title }}</h1>
6+
7+
{{ content | safe }}

src/feed.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"permalink": "feed.xml",
44
"eleventyExcludeFromCollections": true,
55
"metadata": {
6-
"title": "Kyle Gach's personal website",
6+
"title": "Kyle Gach",
77
"subtitle": "Writing about web design & development, with a focus on accessibility",
88
"url": "https://kylegach.com/",
99
"feedUrl": "https://kylegach.com/feed.xml",

src/writing/2016-04-12---of-the-web/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ tags:
66
- dev
77
- site
88
- v1
9-
layout: layouts/base
9+
layout: layouts/page
1010
---
1111

12-
# {{ title }}
1312

1413
I’ve been _on_ the web for most of my life, but, without a site to call home, I haven’t been [_of_ the web](https://adactio.com/journal/9016) for far too long.
1514

src/writing/2016-04-16---everything-i-did-to-make-this-site-accessible/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ tags:
66
- dev
77
- site
88
- v1
9-
layout: layouts/base
9+
layout: layouts/page
1010
---
1111

12-
# {{ title }}
1312

1413
I believe the web is meant to be open and available to everyone, no matter who they are, what device/software they’re using, or the speed/quality of the network they’re on.
1514

src/writing/2016-04-30---everything-i-did-to-make-this-site-fast-part-1/index.md

Lines changed: 268 additions & 281 deletions
Large diffs are not rendered by default.

src/writing/2020-05-05---v2-rebuild-and-redesign/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ tags:
66
- dev
77
- site
88
- v2
9-
layout: layouts/base
9+
layout: layouts/page
1010
---
1111

1212

13-
# {{ title }}
14-
1513
In an effort to share openly, this post will track and record the work done for the site. [Read more about why I'm rebuilding and the goals I have for this project](/writing/v2-goals).
1614

1715

src/writing/2020-05-06---v2-goals/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ date: 2020-05-06T20:55:10Z
55
tags:
66
- site
77
- v2
8-
layout: layouts/base
8+
layout: layouts/page
99
---
1010

1111

12-
# {{ title }}
13-
1412
Why rebuild and redesign? On an entirely new stack? In the open?
1513

1614
-----

src/writing/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: Writing
33
permalink: /writing/
4-
layout: layouts/base
4+
layout: layouts/page
55
---
66

7-
# {{ title }}
87

98
I believe design is made with words, not just pixels and code. This is where I practice.
109

0 commit comments

Comments
 (0)