2023-03-03 23:13:05 +01:00
2023-02-28 20:47:52 +01:00
2019-11-06 01:25:41 +01:00
2019-11-06 01:25:41 +01:00
2019-11-06 01:25:41 +01:00
2019-11-06 01:25:41 +01:00

Lektor recipes

Static site generator for recipes; built upon Lektor.

screenshot

Features

  • Responsive design (desktop, mobile, print)
  • Mobile Web-Application
  • Multi-language (DE & EN, more can be added)
  • Blazing fast due to minimal data usage
  • Indexed (group by time, tags, difficulty, or ingredients)
  • PDF export (if LuaLaTex is installed)
  • static search (not yet, but coming soon…)

Install

  1. Download Lektor and follow the instructions.

  2. Clone this repository and change to the root directory.

  3. Run make dev server to run a local server and preview the page.

  4. For distribution run make build deploy and add an official deploy.

Modify

Thanks to Lektor you have a simple content management system (see screenshot below). A few things to note:

  1. Measurements have to be added manually to settings. Don't forget to pluralize (c, cup, cups, etc.)

  2. You can add ingredient groups if the line ends with a colon (:)

  3. The preferred image size is 800x600. Please scale all images down to save bandwidth. Try to keep an aspect ratio of 4:3 for the first image, or it will be cropped on the recipe overview page! All other images will be shown unmodified in whatever aspect ratio is provided (individual recipe page)

Also, see Lektor docs and jinja2 template documentation.

screenshot

screenshot

Description
A static site generator (lektor) template for recipes
Readme 5 MiB
Languages
Python 51.4%
HTML 16.1%
TeX 14%
CSS 11.9%
Makefile 5.4%
Other 1.2%