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

volt 93c8555620 Gallery OK (need css fix) 3 月之前
_data 93c8555620 Gallery OK (need css fix) 3 月之前
_drafts a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
img a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
includes 93c8555620 Gallery OK (need css fix) 3 月之前
layouts 4c35f0834a gallery (functionnal but need cleaning) 3 月之前
posts 642624b7d9 last fix for 006 3 月之前
templates a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
.eleventyignore a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
.gitignore 69e282c2ce smol clean 3 月之前
README.md fc5b6f856e readme cleam 3 月之前
about.md a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
bundle.css 93c8555620 Gallery OK (need css fix) 3 月之前
eleventy.config.js 93c8555620 Gallery OK (need css fix) 3 月之前
gallery.njk 93c8555620 Gallery OK (need css fix) 3 月之前
index.md a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
notes.md a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前
package.json a39847cef2 Big refresh, clean(er) setup, decent readme 3 月之前

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

File Structure

  • _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