Skip to content

szorfein/zola-cook

Repository files navigation

zola-cook

A static site with famillial cooking recipes in french (some cooking recipes are very hard to translate and quantity to convert in oz, cup or other... Just to annoying :)), made with zola and deployed with edgio.

beercss is used to build a nice ui interface with material design.

Many images used on the site come from unsplash, others are stored on imagekit.io.

Install

The site is deployed with edgio, you need to install the cli tool:

npm install @edgio/cli

Build

Add content to the public/ dir:

zola build

And deploy:

./node_modules/.bin/edgio deploy

Deployed

Site deployed at: https://szorfein-zola-cook-default.edgio.link

Responsive image

imagekit use a website analyzer: https://imagekit.io/website-analyzer

In resume, in order to reduce image size, all metadatas are erased using mat2:

$ mat2 example.jpeg

And images are compressed and formatted in webp using cwebp:

$ cwebp -q 80.00 example.cleaned.jpeg -o example.webp

Docs: unsplash, imagekit.

Sitemap

After deployed, new sitemap is valided by clicking on https://www.google.com/ping?sitemap=https://szorfein-zola-cook-default.edgio.link/sitemap.xml

Good links