The _config.yaml file at the root of the
source file directory contains configuration for
the website generation.
Contents:
| Key | Value |
box_colours |
Set of RGB box colours |
colours |
Map of names to colour values |
dimensions |
Map of names to array of dimensions to use at different page sizes |
erb |
Path to .erb template files |
layouts |
Path to layout definition files |
root_url |
Web address to generated website |
section_gap |
Gaps between page section |
An example config.yaml file:
--- dimensions: icon: [[96, 72],[128, 96],[192, 144],[240, 180]] image: [[360, 270],[360, 270],[748,561],[1024,768]] logo: [[350, 54],[748,120],[1250,196],[1880,300]] overlay: [[350, 240],[600,450],[800,600],[1024,768]] landscape: [[96, 72],[128, 96],[192, 144],[240, 180]] portrait: [[72, 96],[96, 128],[144, 192],[180, 240]] section_gap: [10, 10, 10, 10] erb: /Users/peter/Website/erb root_url: https://alofmethbin.com/Articles/ colours: anchor: "#00CCCC" body: "#404040" code: "#FFA500" emphasized: magenta here: white hover: "#AAFFFF" index: "#303030" logo: white page: "#101010" quoted: cyan text: "#DDDD00" box_colours: - [255,255,0] - [0,255,255] - [255,70,255] - [97,255,0] - [255,152,23] - [102,102,255] - [255,17,17] widths: browser: [360, 768, 1280, 1920] content: [350, 748, 1250, 1880] logo: /logo.webp logo_vertical: top logo_horizontal: right favicon: /favicon.png layouts: /Users/peter/Website/Layouts