Skip to content

Feat: support for per-language logos (#27)

Silvio Rhatto requested to merge rhatto/onion-launchpad:feature/logos into main

Decide at build time if a per-language logo is available, otherwise fall back to the default logo in english.

The |asseturl filtering checks if the file exists. If not, it falls back to the default.

This requires:

  • A filename convention where fields are separated by underlines ("_") and that the last field before the extension is the TPO's language code.

  • That the fallback (default) logo is set to the english version (even if it does not exists).

This implementatio does not require a custom databag (!28 (closed)).

Merge request reports

Loading