https://github.com/Niols/scd.niols.fr
Revision f0acfe69a07237e2d8fe4c8fd0f5a5c854546736 authored by Nicolas Jeannerod on 07 October 2022, 13:07:02 UTC, committed by GitHub on 07 October 2022, 13:07:02 UTC
* Introduce jinja2; rewrite HTML header

* Rewrite HTML footer

* Depend on `j2cli` directly

* Rewrite tune template

* Ignore python cache

* Inherit templates instead of calling j2 several x

* Move j2 filters under `views/`

* Rewrite tunes template

* Rewrite dances template

* Reintroduce missing fonts

they were lost during the rebase

* Fix generation of trivial book

* Rewrite index & non-scddb templates

* Tiny Makefile fixes

* Replace dance list by a macro

The `{# no space -#}` bits are necessary. Without them, spacing is added
to the contents of `td` and the spacing plays a role in DataTable's
sorting functionality.

* Replace tune list by macro

* Replace book list by macro

* Use dance list macro in dances list

* Fix printing of trivial files

* Rewrite books template in j2

* Rewrite book template

* Rewrite dance template

* Move blockquote into div for devised by item

* Remove crap

* Fail when unexpected item type

* More error raising

* Fix errors; provide `error` macro

* Some fixes to the dance template

* Rewrite tune ly template

* Rewrite dance TeX template

* Exit `shtpen`
1 parent 3c843a3
History
Tip revision: f0acfe69a07237e2d8fe4c8fd0f5a5c854546736 authored by Nicolas Jeannerod on 07 October 2022, 13:07:02 UTC
Replace `shtpen` by `j2` for templating (#116)
Tip revision: f0acfe6
File Mode Size
.github
database
tests
views
.gitignore -rw-r--r-- 133 bytes
Makefile -rw-r--r-- 16.0 KB
README.org -rw-r--r-- 426 bytes
flake.lock -rw-r--r-- 564 bytes
flake.nix -rw-r--r-- 1.7 KB

README.org

back to top