Skip to content
Snippets Groups Projects

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

Merged Silvio Rhatto requested to merge rhatto/onion-launchpad:feature/logos into main
  1. Jul 27, 2022
  2. Jul 21, 2022
    • Silvio Rhatto's avatar
      Feat: support for per-language logos (#27) · afafe0ec
      Silvio Rhatto authored
      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).
      Verified
      afafe0ec
Loading