You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+8-13
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# eleventy-base-blog v8
1
+
# eleventy-base-blog v9
2
2
3
3
A starter repository showing how to build a blog with the [Eleventy](https://www.11ty.dev/) site generator (using the [v2.0 release](https://www.11ty.dev/blog/eleventy-v2/)).
4
4
@@ -45,36 +45,35 @@ Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the
45
45
46
46
## Features
47
47
48
-
- Using [Eleventy v2.0](https://www.11ty.dev/blog/eleventy-v2/) with zero-JavaScript output.
48
+
- Using [Eleventy v3](https://github.com/11ty/eleventy/releases/tag/v3.0.0) with zero-JavaScript output.
49
49
- Content is exclusively pre-rendered (this is a static site).
50
50
- Can easily [deploy to a subfolder without changing any content](https://www.11ty.dev/docs/plugins/html-base/)
51
51
- All URLs are decoupled from the content’s location on the file system.
52
52
- Configure templates via the [Eleventy Data Cascade](https://www.11ty.dev/docs/data-cascade/)
53
53
-**Performance focused**: four-hundos Lighthouse score out of the box!
54
-
- [View the Lighthouse report for the latest build](https://eleventy-base-blog.netlify.app/reports/lighthouse/) courtesy of the [Netlify Lighthouse plugin](https://github.com/netlify/netlify-plugin-lighthouse).
55
54
- _0 Cumulative Layout Shift_
56
55
- _0ms Total Blocking Time_
57
56
- Local development live reload provided by [Eleventy Dev Server](https://www.11ty.dev/docs/dev-server/).
- Draft content: use `draft: true` to mark any template as a draft. Drafts are **only** included during `--serve`/`--watch` and are excluded from full builds. This is driven by the `addPreprocessor` configuration API in `eleventy.config.js`. Schema validator will show an error if non-boolean value is set in data cascade.
71
71
- Blog Posts
72
-
- Draft posts: use `draft: true` to mark a blog post as a draft. Drafts are **only** included during `--serve`/`--watch` and are excluded from full builds. View the [Drafts plugin source code](https://github.com/11ty/eleventy-base-blog/blob/main/eleventy.config.drafts.js).
73
72
- Automated next/previous links
74
73
- Accessible deep links to headings
75
74
- Generated Pages
76
75
- Home, Archive, and About pages.
77
-
- [Feeds for Atom and JSON](https://www.11ty.dev/docs/plugins/rss/)
76
+
- [Atom feed included (with easy one-line swap to use RSS or JSON](https://www.11ty.dev/docs/plugins/rss/)
78
77
- `sitemap.xml`
79
78
- Zero-maintenance tag pages ([View on the Demo](https://eleventy-base-blog.netlify.app/tags/))
80
79
- Content not found (404) page
@@ -83,20 +82,19 @@ Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the
Deploy this Eleventy site in just a few clicks on these services:
93
92
93
+
- Read more about [Deploying an Eleventy project](https://www.11ty.dev/docs/deployment/) to the web.
94
94
-[Deploy this to **Netlify**](https://app.netlify.com/start/deploy?repository=https://github.com/11ty/eleventy-base-blog)
95
95
-[Deploy this to **Vercel**](https://vercel.com/import/project?template=11ty%2Feleventy-base-blog)
96
96
- Look in `.github/workflows/gh-pages.yml.sample` for information on Deploying to **GitHub Pages**.
97
97
-[Try it out on **Stackblitz**](https://stackblitz.com/github/11ty/eleventy-base-blog)
98
-
- If you run Eleventy locally you can drag your `_site` folder to [`netlify.com/drop`](https://netlify.com/drop) to upload it without using `git`.
99
-
- Read more about [Deploying an Eleventy project](https://www.11ty.dev/docs/deployment/) to the web.
100
98
101
99
### Implementation Notes
102
100
@@ -105,9 +103,6 @@ Deploy this Eleventy site in just a few clicks on these services:
105
103
- Use the `eleventyNavigation` key (via the [Eleventy Navigation plugin](https://www.11ty.dev/docs/plugins/navigation/)) in your front matter to add a template to the top level site navigation. This is in use on `content/index.njk` and `content/about/index.md`.
106
104
- Content can be in _any template format_ (blog posts needn’t exclusively be markdown, for example). Configure your project’s supported templates in `eleventy.config.js` -> `templateFormats`.
107
105
- The `public` folder in your input directory will be copied to the output folder (via `addPassthroughCopy` in the `eleventy.config.js` file). This means `./public/css/*` will live at `./_site/css/*` after your build completes.
108
-
- Provides two content feeds:
109
-
- `content/feed/feed.njk`
110
-
- `content/feed/json.njk`
111
106
- This project uses three [Eleventy Layouts](https://www.11ty.dev/docs/layouts/):
112
107
- `_includes/layouts/base.njk`: the top level HTML structure
113
108
- `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`)
Copy file name to clipboardexpand all lines: content/blog/firstpost.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,7 @@
2
2
title: This is my first post.
3
3
description: This is a post on My Blog about agile frameworks.
4
4
date: 2018-05-01
5
-
tags:
6
-
- another tag
5
+
tags: another tag
7
6
---
8
7
Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.
Copy file name to clipboardexpand all lines: content/blog/fourthpost/fourthpost.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: This is my fourth post!
2
+
title: This is my fourth post
3
3
description: This is a post on My Blog about touchpoints and circling wagons.
4
4
date: 2018-09-30
5
5
tags: second tag
@@ -8,7 +8,7 @@ Leverage agile frameworks to provide a robust synopsis for high level overviews.
8
8
9
9
Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring.
10
10
11
-
{% image "./possum.png", "A possum parent and two possum kids hanging from the iconic red balloon" %}
11
+
<imgsrc="./possum.png"alt="A possum parent and two possum kids hanging from the iconic red balloon">
Copy file name to clipboardexpand all lines: content/blog/secondpost.md
+3-4
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,14 @@
2
2
title: This is my second post with a much longer title.
3
3
description: This is a post on My Blog about leveraging agile frameworks.
4
4
date: 2018-07-04
5
-
tags:
6
-
- number 2
5
+
tags: number 2
7
6
---
8
7
Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.
9
8
10
9
## Section Header
11
10
12
-
<ahref="/blog/firstpost/">First post</a>
13
-
<ahref="/blog/thirdpost/">Third post</a>
11
+
<ahref="/blog/firstpost.md">First post</a>
12
+
<ahref="blog/thirdpost.md">Third post</a>
14
13
15
14
Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring.
Copy file name to clipboardexpand all lines: content/blog/thirdpost.md
+3-5
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,13 @@
2
2
title: This is my third post.
3
3
description: This is a post on My Blog about win-win survival strategies.
4
4
date: 2018-08-24
5
-
tags:
6
-
- second tag
7
-
- posts with two tags
5
+
tags: ["second tag", "posts with two tags"]
8
6
---
9
7
Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.
10
8
11
9
## Code
12
10
13
-
### Styled (with Syntax)
11
+
### This is a very long heading that I want to wrap This is a very long heading that I want to wrap This is a very long heading that I want to wrap This is a very long heading that I want to wrap
14
12
15
13
Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring.
16
14
@@ -25,7 +23,7 @@ function myCommand() {
25
23
console.log('Test');
26
24
```
27
25
28
-
### Unstyled
26
+
### Heading with a [link](#code)
29
27
30
28
Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring.
0 commit comments