No description
Find a file
2022-10-24 14:28:17 +02:00
.cache products: added hover animation 2022-09-19 12:11:15 +02:00
.vscode first commit? 2022-07-19 16:25:29 +02:00
src resized bkg 2022-10-24 14:28:17 +02:00
.eleventy.js iOS, macOS, firefox css tweaks; config and readme updates; 2022-10-24 14:17:02 +02:00
.gitignore reorged images, svgs, components; removed obsolete images, files; 2022-10-21 10:51:39 +02:00
.lazyimages.json lucy's feedback on 09/23 2022-09-23 17:49:15 +02:00
favicon.svg 10/9 notes from Lucy: header and link css; image and style tweaks; news page revamp; jobs empty template; firefox fixes; 2022-10-11 17:44:21 +02:00
index.js reorg css; color variables; reorg js; remove old code, comments 2022-10-21 16:19:18 +02:00
main.js first commit? 2022-07-19 16:25:29 +02:00
package-lock.json 10/9 notes from Lucy: header and link css; image and style tweaks; news page revamp; jobs empty template; firefox fixes; 2022-10-11 17:44:21 +02:00
package.json 10/9 notes from Lucy: header and link css; image and style tweaks; news page revamp; jobs empty template; firefox fixes; 2022-10-11 17:44:21 +02:00
readme.md iOS, macOS, firefox css tweaks; config and readme updates; 2022-10-24 14:17:02 +02:00

Start9 website

Architecture

  • 11ty for Static Site Generator

Serve for dev

npm run start

Open http://localhost:8080 to see the site. (8080+n will be used if 8080 is already in use, ad nauseum)

NOTE

Eleventy projects served in this way will re-build on save of any file in the project. Usually, any browser viewing the page will also hot-reload on build. However, this project stopped hot-reloading a couple of weeks ago. Have not been able to diagnose why. According to some threads I found, it's a bit of a black-box with many possible causes.

Deploy to production

You can see the results locally in production mode with:

npm run build

Now, your blog is ready to be deployed. All generated files are located at _site folder, which you can deploy with any hosting service. (I use https://coolify.io/ which allows me to auto-deploy by pushing to GitLab.)

Project structure

.
├── .eleventy.js       # Eleventy config
│
└── src
    ├── _data          # Eleventy data folder (supports .json and exported .js)
    ├── _includes
    │   └── components # landing sections and reuable components
    │   └── layouts    # page layouts
    │   └── svgs       # for including in njk templates
    └── assets         
        ├── fonts
        ├── images     
        ├── js         
        └── styles     # SCSS