https://github.com/desiredpersona/nostalgia
[WIP] A minimal Eleventy starter created from first principles thinking
https://github.com/desiredpersona/nostalgia
eleventy eleventy-theme
Last synced: 7 months ago
JSON representation
[WIP] A minimal Eleventy starter created from first principles thinking
- Host: GitHub
- URL: https://github.com/desiredpersona/nostalgia
- Owner: desiredpersona
- License: mit
- Created: 2020-07-22T19:26:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-28T21:53:13.000Z (about 4 years ago)
- Last Synced: 2025-01-30T00:18:04.490Z (8 months ago)
- Topics: eleventy, eleventy-theme
- Language: Nunjucks
- Homepage:
- Size: 4.9 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nostalgia
A minimal Eleventy starter created from first principles thinking.
## Layouts
- archive.njk - Unpaginated blog layout
- blog.njk - Paginated blog layoutOptions:
- `excerpts: true` Show excerpts in postList.
- `dates: true` Show dates in postList.- post.njk - Blog post layout
- page.njk - Page layout## Features
- Stylesheet < 2KB
- Author support
- Set default author globally in `_data/site.js`.
- Overwrite default author in any post or page by setting `author:` in front matter.
- Post estimated reading time.
- Post ordinal dates.
- `lastModified:` Update post date. This will also update `sitemap.xml` and `feed.xml` dates.
- `canonical:` Link to a guest post on another site by setting an external url in front matter.
- Open Graph
- Twitter Cards
- Tags archive
- `DuplicatePermalinkOutputError` Error thrown when you have duplicate tags. For example "Eleventy Themes" and "eleventy themes" tags would both create `/eleventy-themes/` urls.
- Atom feed
- Sitemap
- `excludeFromSitemap: true` Exclude external pages from your sitemap.
- 404 page
- `metaRobots:` Overwrite meta robots tag in front matter.
- `ELEVENTY_ENV=development` is set to `noindex, nofollow`.
- `ELEVENTY_ENV=production` is set to `index, follow`.## Licence
[MIT](LICENCE)