Skip to content

Commit

Permalink
Add page template
Browse files Browse the repository at this point in the history
- Remove titles from template content so they do not appear in feed
- Clean up some old post content
  • Loading branch information
kylegach committed May 7, 2020
1 parent e9374f2 commit 8c7e531
Show file tree
Hide file tree
Showing 8 changed files with 281 additions and 294 deletions.
7 changes: 7 additions & 0 deletions src/_includes/layouts/page.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: layouts/base
---

<h1>{{ title }}</h1>

{{ content | safe }}
2 changes: 1 addition & 1 deletion src/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"permalink": "feed.xml",
"eleventyExcludeFromCollections": true,
"metadata": {
"title": "Kyle Gach's personal website",
"title": "Kyle Gach",
"subtitle": "Writing about web design & development, with a focus on accessibility",
"url": "https://kylegach.com/",
"feedUrl": "https://kylegach.com/feed.xml",
Expand Down
3 changes: 1 addition & 2 deletions src/writing/2016-04-12---of-the-web/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ tags:
- dev
- site
- v1
layout: layouts/base
layout: layouts/page
---

# {{ title }}

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ tags:
- dev
- site
- v1
layout: layouts/base
layout: layouts/page
---

# {{ title }}

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.

Expand Down

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions src/writing/2020-05-05---v2-rebuild-and-redesign/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ tags:
- dev
- site
- v2
layout: layouts/base
layout: layouts/page
---


# {{ title }}

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).


Expand Down
4 changes: 1 addition & 3 deletions src/writing/2020-05-06---v2-goals/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ date: 2020-05-06T20:55:10Z
tags:
- site
- v2
layout: layouts/base
layout: layouts/page
---


# {{ title }}

Why rebuild and redesign? On an entirely new stack? In the open?

-----
Expand Down
3 changes: 1 addition & 2 deletions src/writing/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: Writing
permalink: /writing/
layout: layouts/base
layout: layouts/page
---

# {{ title }}

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

Expand Down

0 comments on commit 8c7e531

Please sign in to comment.