* Fix: defines images alt text through file
* Homepage layout: single elements can be enabled/disabled
* Widgets: dehardcodes title. As a consequence, configuration files have
been renamed, widgets are now totally "generic" and could be reused
BREAKING CHANGES: requires new configuration file for home layout. Old
configuration file have been renamed due to dehardcoding.
Closes: #4#18
Conflicts: pull #13
Kudos: @Zekromaster for the dehardcoding
Custom footer is currently rendered through .RenderString, that defaults
to page's markup language, but page and footer could be written in two
different languages (eg. footer in Markdown and page in Asciidoc). In
this case the footer wouldn't be rendered correctly unless the markup
language used is specified. Now it is possible.
A part of the footer (copyright/author/date) is hardcoded, while the
other part is loaded from a TOML (included in example site) and rendered
through .RenderString
Closes: #8
Partials have been reorganized, to improve general understandability and
enhance code reuse (ex. when adding pages, the "wave" will be loaded as
a partial)
Due to previous commits, now the partials are being loaded for all the
pages through baseof.html, so it is not necessary to load them in the
index (this would result in double-loading)
Upgrades tailwindcss to latest stable (v3.0.24), creates a build
pipeline for tailwind.min.css (as of 3.x there is no more dist, files
have to be created by users), switches from loading from UNPKG to
hosting locally.
BREAKING CHANGE: tailwindcss version bumped from v1.9.6 to v3.0.24,
customization using deprecated functions will not work anymore
Updates: #15