-
-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
253 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"title": "Your Blog Name", | ||
"url": "https://example.com/", | ||
"language": "en", | ||
"description": "I am writing about my experiences as a naval navel-gazer.", | ||
"author": { | ||
"name": "Your Name Here", | ||
"email": "[email protected]", | ||
"url": "https://example.com/about-me/" | ||
} | ||
"title": "Your Blog Name", | ||
"url": "https://example.com/", | ||
"language": "en", | ||
"description": "I am writing about my experiences as a naval navel-gazer.", | ||
"author": { | ||
"name": "Your Name Here", | ||
"email": "[email protected]", | ||
"url": "https://example.com/about-me/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
<!doctype html> | ||
<html lang="{{ metadata.language }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{ title or metadata.title }}</title> | ||
<meta name="description" content="{{ description or metadata.description }}"> | ||
|
||
{#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #} | ||
{#- <meta name="generator" content="{{ eleventy.generator }}"> #} | ||
|
||
<link rel="stylesheet" href="/css/index.css"> | ||
<link rel="stylesheet" href="/css/prism-okaidia.css"> | ||
<link rel="stylesheet" href="/css/prism-diff.css"> | ||
|
||
<link rel="alternate" href="/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}"> | ||
<link rel="alternate" href="/feed/feed.json" type="application/json" title="{{ metadata.title }}"> | ||
</head> | ||
<body> | ||
<a href="#skip" class="visually-hidden">Skip to main content</a> | ||
|
||
<header> | ||
<a href="/" class="home-link">{{ metadata.title }}</a> | ||
|
||
{#- Read more about `eleventy-navigation` at https://www.11ty.dev/docs/plugins/navigation/ #} | ||
<nav> | ||
<ul class="nav"> | ||
<h2 class="visually-hidden">Top level navigation menu</h2> | ||
{%- for entry in collections.all | eleventyNavigation %} | ||
<li class="nav-item"><a href="{{ entry.url }}"{% if entry.url == page.url %} aria-current="page"{% endif %}>{{ entry.title }}</a></li> | ||
{%- endfor %} | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<main id="skip"> | ||
{{ content | safe }} | ||
</main> | ||
|
||
<footer></footer> | ||
|
||
<!-- Current page: {{ page.url | htmlBaseUrl }} --> | ||
</body> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{ title or metadata.title }}</title> | ||
<meta name="description" content="{{ description or metadata.description }}"> | ||
|
||
{#- Uncomment this if you’d like folks to know that you used Eleventy to build your site! #} | ||
{#- <meta name="generator" content="{{ eleventy.generator }}"> #} | ||
|
||
<link rel="stylesheet" href="/css/index.css"> | ||
<link rel="stylesheet" href="/css/prism-okaidia.css"> | ||
<link rel="stylesheet" href="/css/prism-diff.css"> | ||
|
||
<link rel="alternate" href="/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}"> | ||
<link rel="alternate" href="/feed/feed.json" type="application/json" title="{{ metadata.title }}"> | ||
</head> | ||
<body> | ||
<a href="#skip" class="visually-hidden">Skip to main content</a> | ||
|
||
<header> | ||
<a href="/" class="home-link">{{ metadata.title }}</a> | ||
|
||
{#- Read more about `eleventy-navigation` at https://www.11ty.dev/docs/plugins/navigation/ #} | ||
<nav> | ||
<ul class="nav"> | ||
<h2 class="visually-hidden">Top level navigation menu</h2> | ||
{%- for entry in collections.all | eleventyNavigation %} | ||
<li class="nav-item"><a href="{{ entry.url }}"{% if entry.url == page.url %} aria-current="page"{% endif %}>{{ entry.title }}</a></li> | ||
{%- endfor %} | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<main id="skip"> | ||
{{ content | safe }} | ||
</main> | ||
|
||
<footer></footer> | ||
|
||
<!-- Current page: {{ page.url | htmlBaseUrl }} --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<ol reversed class="postlist" style="counter-reset: start-from {{ (postslistCounter or postslist.length) + 1 }}"> | ||
{% for post in postslist | reverse %} | ||
<li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}"> | ||
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a> | ||
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("LLLL yyyy") }}</time> | ||
</li> | ||
<li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}"> | ||
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a> | ||
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("LLLL yyyy") }}</time> | ||
</li> | ||
{% endfor %} | ||
</ol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"tags": [ | ||
"posts" | ||
], | ||
"layout": "layouts/post.njk" | ||
"tags": [ | ||
"posts" | ||
], | ||
"layout": "layouts/post.njk" | ||
} |
Oops, something went wrong.
e6dc55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why tabs?
e6dc55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://adamtuttle.codes/blog/2021/tabs-vs-spaces-its-an-accessibility-issue/