My Eleventy.js blog https://unakt.cc

volt f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
_data f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
_drafts a39847cef2 Big refresh, clean(er) setup, decent readme 3 luni în urmă
img a39847cef2 Big refresh, clean(er) setup, decent readme 3 luni în urmă
includes 0bdfc044ac Gallery final ✅ 3 luni în urmă
layouts 0bdfc044ac Gallery final ✅ 3 luni în urmă
posts 642624b7d9 last fix for 006 3 luni în urmă
templates a39847cef2 Big refresh, clean(er) setup, decent readme 3 luni în urmă
.eleventyignore a39847cef2 Big refresh, clean(er) setup, decent readme 3 luni în urmă
.gitignore 69e282c2ce smol clean 3 luni în urmă
README.md f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
about.md 0bdfc044ac Gallery final ✅ 3 luni în urmă
bundle.css f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
eleventy.config.js f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
gallery.njk f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
image_show.njk f92859f810 Gallery: EXIF date for sorting 3 luni în urmă
index.md 0bdfc044ac Gallery final ✅ 3 luni în urmă
notes.md 0bdfc044ac Gallery final ✅ 3 luni în urmă
package.json 0bdfc044ac Gallery final ✅ 3 luni în urmă

README.md

unakt.cc

Mon blog tout à fait minimaliste pas encore tout à fait fonctionnel mais c'est pas grave comme y'a rien dessus... ou presque...

To install this

  1. Install Node
  2. clone the repo
  3. go to the folder
  4. type "npm install" Now npm run commands should work

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)

How-To

  1. Follow setup on Eleventy website then

  2. 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)

Notes

  • Gallery may only accept lowercase .jpg .jpeg .png extension ? maybe...
  • Gallery will only accept images with a valid EXIF Date (real photos) !

File Structure

  • _data - Photos are stored here and automagically added to website
  • _drafts - ignored md files from the builder
  • _site - whole blog rendered in html
  • includes - binaries & structure
  • layout - layouts
  • node_modules - lot of crap
  • posts - blog posts in markdown
  • templates - wut is this ? /shrug

I think that's it