Compare commits
No commits in common. "aec0f79928e29c609f881778403652bfa3f3189b" and "c8a2c186bcb67df46cdb78348490dff7bf2bcf37" have entirely different histories.
aec0f79928
...
c8a2c186bc
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 [v3.0 release](https://github.com/11ty/eleventy/releases/tag/v3.0.0)).
|
||||
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/)).
|
||||
|
||||
## 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.
|
||||
- [Atom feed included (with easy one-line swap to use RSS or JSON](https://www.11ty.dev/docs/plugins/rss/)
|
||||
- [Feeds for Atom and 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,19 +82,20 @@ 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/)
|
||||
- [Cloudflare Pages](https://eleventy-base-blog-d2a.pages.dev/)
|
||||
- [Remix on Glitch](https://glitch.com/~11ty-eleventy-base-blog)
|
||||
- [Cloudflare Pages](https://eleventy-base-blog-d2a.pages.dev/)
|
||||
- [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
|
||||
|
||||
@ -103,6 +104,9 @@ 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: "XMITTERDOTNET",
|
||||
url: "https://xmitter.net/",
|
||||
title: "Eleventy Base Blog v9",
|
||||
url: "https://example.com/",
|
||||
language: "en",
|
||||
description: "A small personal website",
|
||||
description: "I am writing about my experiences as a naval navel-gazer.",
|
||||
author: {
|
||||
name: "Cobweb",
|
||||
email: "cobweb@xmitter.net",
|
||||
url: "https://xmitter.net/about/"
|
||||
name: "Your Name Here",
|
||||
email: "youremailaddress@example.com",
|
||||
url: "https://example.com/about-me/"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,16 @@
|
||||
---
|
||||
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: 4
|
||||
order: 3
|
||||
}
|
||||
},
|
||||
collection: {
|
||||
|
Loading…
Reference in New Issue
Block a user