Compare commits
15 Commits
c8a2c186bc
...
aec0f79928
Author | SHA1 | Date | |
---|---|---|---|
|
aec0f79928 | ||
|
e8f8a543de | ||
|
0859827f69 | ||
|
bff655c8a2 | ||
|
9b0cb972e0 | ||
|
c79179c2bf | ||
|
0a5175f4f2 | ||
|
df19690716 | ||
|
a13b19d5c2 | ||
|
429f29fb23 | ||
|
231c29b136 | ||
|
3ceaafc400 | ||
|
76b018ddc8 | ||
|
b8ba315770 | ||
|
f30c79c0d9 |
12
README.md
12
README.md
@ -1,6 +1,6 @@
|
||||
# eleventy-base-blog v9
|
||||
|
||||
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/)).
|
||||
A starter repository showing how to build a blog with the [Eleventy](https://www.11ty.dev/) site generator (using the [v3.0 release](https://github.com/11ty/eleventy/releases/tag/v3.0.0)).
|
||||
|
||||
## Getting Started
|
||||
|
||||
@ -73,7 +73,7 @@ Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the
|
||||
- Accessible deep links to headings
|
||||
- Generated Pages
|
||||
- Home, Archive, and About pages.
|
||||
- [Feeds for Atom and JSON](https://www.11ty.dev/docs/plugins/rss/)
|
||||
- [Atom feed included (with easy one-line swap to use RSS or JSON](https://www.11ty.dev/docs/plugins/rss/)
|
||||
- `sitemap.xml`
|
||||
- Zero-maintenance tag pages ([View on the Demo](https://eleventy-base-blog.netlify.app/tags/))
|
||||
- Content not found (404) page
|
||||
@ -82,20 +82,19 @@ Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the
|
||||
|
||||
- [Netlify](https://eleventy-base-blog.netlify.app/)
|
||||
- [Vercel](https://demo-base-blog.11ty.dev/)
|
||||
- [Remix on Glitch](https://glitch.com/~11ty-eleventy-base-blog)
|
||||
- [Cloudflare Pages](https://eleventy-base-blog-d2a.pages.dev/)
|
||||
- [Remix on Glitch](https://glitch.com/~11ty-eleventy-base-blog)
|
||||
- [GitHub Pages](https://11ty.github.io/eleventy-base-blog/)
|
||||
|
||||
## Deploy this to your own site
|
||||
|
||||
Deploy this Eleventy site in just a few clicks on these services:
|
||||
|
||||
- Read more about [Deploying an Eleventy project](https://www.11ty.dev/docs/deployment/) to the web.
|
||||
- [Deploy this to **Netlify**](https://app.netlify.com/start/deploy?repository=https://github.com/11ty/eleventy-base-blog)
|
||||
- [Deploy this to **Vercel**](https://vercel.com/import/project?template=11ty%2Feleventy-base-blog)
|
||||
- Look in `.github/workflows/gh-pages.yml.sample` for information on Deploying to **GitHub Pages**.
|
||||
- [Try it out on **Stackblitz**](https://stackblitz.com/github/11ty/eleventy-base-blog)
|
||||
- If you run Eleventy locally you can drag your `_site` folder to [`drop.netlify.com`](https://drop.netlify.com/) to upload it without using `git`.
|
||||
- Read more about [Deploying an Eleventy project](https://www.11ty.dev/docs/deployment/) to the web.
|
||||
|
||||
### Implementation Notes
|
||||
|
||||
@ -104,9 +103,6 @@ Deploy this Eleventy site in just a few clicks on these services:
|
||||
- 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`.
|
||||
- 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`.
|
||||
- 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.
|
||||
- Provides two content feeds:
|
||||
- `content/feed/feed.njk`
|
||||
- `content/feed/json.njk`
|
||||
- This project uses three [Eleventy Layouts](https://www.11ty.dev/docs/layouts/):
|
||||
- `_includes/layouts/base.njk`: the top level HTML structure
|
||||
- `_includes/layouts/home.njk`: the home page template (wrapped into `base.njk`)
|
||||
|
@ -1,11 +1,11 @@
|
||||
export default {
|
||||
title: "Eleventy Base Blog v9",
|
||||
url: "https://example.com/",
|
||||
title: "XMITTERDOTNET",
|
||||
url: "https://xmitter.net/",
|
||||
language: "en",
|
||||
description: "I am writing about my experiences as a naval navel-gazer.",
|
||||
description: "A small personal website",
|
||||
author: {
|
||||
name: "Your Name Here",
|
||||
email: "youremailaddress@example.com",
|
||||
url: "https://example.com/about-me/"
|
||||
name: "Cobweb",
|
||||
email: "cobweb@xmitter.net",
|
||||
url: "https://xmitter.net/about/"
|
||||
}
|
||||
}
|
||||
|
@ -1,16 +1,7 @@
|
||||
---
|
||||
layout: layouts/base.njk
|
||||
---
|
||||
<!-- Delete this block, which will also remove the component CSS from the bundle -->
|
||||
{%- css %}{% include "public/css/message-box.css" %}{% endcss %}
|
||||
<div class="message-box">
|
||||
<ol>
|
||||
<li>Edit <code>_data/metadata.js</code> with your blog’s information.</li>
|
||||
<li>(Optional) Edit <code>eleventy.config.js</code> with your <a href="https://www.11ty.dev/docs/config/">configuration preferences</a>.</li>
|
||||
<li>Delete this message from <code>_includes/layouts/home.njk</code>.</li>
|
||||
</ol>
|
||||
<p><em>This is an <a href="https://www.11ty.dev/">Eleventy project</a> created from the <a href="https://github.com/11ty/eleventy-base-blog"><code>eleventy-base-blog</code> repo</a>.</em></p>
|
||||
</div>
|
||||
|
||||
<!-- Stop deleting -->
|
||||
|
||||
{{ content | safe }}
|
||||
|
@ -54,7 +54,7 @@ export default async function(eleventyConfig) {
|
||||
templateData: {
|
||||
eleventyNavigation: {
|
||||
key: "Feed",
|
||||
order: 3
|
||||
order: 4
|
||||
}
|
||||
},
|
||||
collection: {
|
||||
|
Loading…
Reference in New Issue
Block a user