Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mobile-michel/decapcms-basic
Basic template with Eleventy, LiquidJS, CSS & DecapCMS
https://github.com/mobile-michel/decapcms-basic
netlify-deployment
Last synced: 21 days ago
JSON representation
Basic template with Eleventy, LiquidJS, CSS & DecapCMS
- Host: GitHub
- URL: https://github.com/mobile-michel/decapcms-basic
- Owner: mobile-michel
- Created: 2023-11-03T13:58:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-07T12:35:53.000Z (8 months ago)
- Last Synced: 2024-11-16T07:39:46.198Z (3 months ago)
- Topics: netlify-deployment
- Language: Liquid
- Homepage: https://decapcms-basic.netlify.app/
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic template with Eleventy, LiquidJS, CSS & DecapCMS
## Folder structure
- pages in /src
- CSS files in /assets/css
- layouts in /_layouts
- includes in /_components
- Json files in /_data
- images & JavaScripts in /assets
- DecapCMS admin page in /src/admin## Page layout
- _layouts/base.liquid
- _components/header.liquid
- _components/nav.liquid
- _components/footer.liquid## Responsive navbar
- responsive mobile menu with CSS without JavaScript from [LogRocket](https://blog.logrocket.com/create-responsive-mobile-menu-with-css-no-javascript/), without classes
- add tags: primary in frontmatter## Package.json scripts
- "start": "npx @11ty/eleventy --serve",
- "build": "npx @11ty/eleventy --serveeleventy",
- "debug": "DEBUG=* eleventy"## Dependencies
- "@11ty/eleventy": "^2.0.1"
- ready for [Decap CMS](https://decapcms.org/) integration.## DecapCMS
- add eleventyConfig.addPassthroughCopy("src/admin");
- the script link before /head
- the script before /body
- configure Netlify for Git Gateway & Identity