My Eleventy.js blog https://unakt.cc
|
|
há 3 meses atrás | |
|---|---|---|
| _data | há 3 meses atrás | |
| _drafts | há 3 meses atrás | |
| img | há 3 meses atrás | |
| includes | há 3 meses atrás | |
| layouts | há 3 meses atrás | |
| posts | há 3 meses atrás | |
| templates | há 3 meses atrás | |
| .eleventyignore | há 3 meses atrás | |
| .gitignore | há 3 meses atrás | |
| README.md | há 3 meses atrás | |
| about.md | há 3 meses atrás | |
| bundle.css | há 3 meses atrás | |
| eleventy.config.js | há 3 meses atrás | |
| gallery.njk | há 3 meses atrás | |
| image_show.njk | há 3 meses atrás | |
| index.md | há 3 meses atrás | |
| notes.md | há 3 meses atrás | |
| package.json | há 3 meses atrás |
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 Exif-Parser) 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