My Eleventy.js blog https://unakt.cc
|
|
3 сар өмнө | |
|---|---|---|
| _data | 3 сар өмнө | |
| _drafts | 3 сар өмнө | |
| img | 3 сар өмнө | |
| includes | 3 сар өмнө | |
| layouts | 3 сар өмнө | |
| posts | 3 сар өмнө | |
| templates | 3 сар өмнө | |
| .eleventyignore | 3 сар өмнө | |
| .gitignore | 3 сар өмнө | |
| README.md | 3 сар өмнө | |
| about.md | 3 сар өмнө | |
| bundle.css | 3 сар өмнө | |
| eleventy.config.js | 3 сар өмнө | |
| gallery.njk | 3 сар өмнө | |
| index.md | 3 сар өмнө | |
| notes.md | 3 сар өмнө | |
| package.json | 3 сар өмнө |
Mon blog tout à fait minimaliste pas encore tout à fait fonctionnel mais c'est pas grave comme y'a rien dessus... ou presque...
This will use the package.json file to get what it need (dependancy of eleventy) And don't forget to do CMD+Maj+. on MacOS to show hidden files and folder (.gitignore, .eleventyignore)
Follow setup on Eleventy website then
See scripts in the "package.json" file like :
npm run build
npm run deploy
"build" does build the whole blog in html inside _site
"deploy" should copy it in my internet served folder
⚠️ Don't use deploy !! Used only in my own scenario (NAS)
npm run start
This is for local testing (Don't forget to often restart this when modifying the eleventy.config.js file)
I think that's it