Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darekkay/darekkay-11ty
My shared eleventy configuration
https://github.com/darekkay/darekkay-11ty
Last synced: about 1 month ago
JSON representation
My shared eleventy configuration
- Host: GitHub
- URL: https://github.com/darekkay/darekkay-11ty
- Owner: darekkay
- License: mit
- Created: 2020-09-26T14:20:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-08T18:13:02.000Z (9 months ago)
- Last Synced: 2024-10-01T09:20:16.695Z (about 1 month ago)
- Language: JavaScript
- Size: 2.04 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @darekkay/11ty
[![npm (scoped)](https://img.shields.io/npm/v/@darekkay/11ty?style=flat-square)](https://www.npmjs.com/package/@darekkay/11ty)
[![Build](https://img.shields.io/github/actions/workflow/status/darekkay/darekkay-11ty/ci.yml?branch=master&style=flat-square)](https://github.com/darekkay/darekkay-11ty/actions/workflows/ci.yml)
[![license](https://img.shields.io/badge/license-MIT-green?style=flat-square)](https://github.com/darekkay/darekkay-11ty/blob/master/LICENSE)My shared eleventy configuration.
## Installation
```bash
npm install --save-dev @darekkay/11ty
```## 11ty Snippets
### Permalinks
- Note: this will cause issues with relative image assets.
```js
module.exports = {
eleventyComputed: {
permalink: (data) => `/blog/${data.page.fileSlug}/index.html`,
},
};
```## Related projects
- [eleventastic](https://github.com/maxboeck/eleventastic)
## License
This project and its contents are open source under the [MIT license](LICENSE).