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 달 전 | |
| image_show.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 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