Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

better documentation of template dirs #16372

Open
@nerdoc

Description

@nerdoc

In e.g. the template docs for consent, there are the "template dirs" mentioned , but it is not said (from a newcomer perspective) where these template dirs are - the template docs tell me where to put them IMHO.

Given this yaml block...

user_consent:
  template_dir: privacy_policy_templates

...I would think that there must be a "privacy_policy_templates" directory within the custom user templates directory, with my config:

templates:
  custom_template_directory: "/home/myuser/synapse/templates/"

I have /home/myuser/synapse/templates/ and a /home/myuser/synapse/templates/privacy_policy_templates directories, and in the latter an en directory with a 1.0.html file.
But they are not found.

I think there is a misconfiguration, but the docs here are not clear IMHO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Docsthings relating to the documentationT-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions