Skip to content

How to organize template overrides? #2129

Answered by squidfunk
NicolasMassart asked this question in Q&A
Discussion options

You must be logged in to vote
  1. The files that are packaged are essentially the files in the material folder.
  2. The files from src are commented and may include some meta tags that are replaced during the build process. It's always safer to take the files from material.
  3. You can change the templates as you like, but note that HTML comments may persist when you don't minify your source and remove them programmatically. This is why the comments of all files are stripped before writing them to the material folder.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@NicolasMassart
Comment options

@squidfunk
Comment options

@NicolasMassart
Comment options

Answer selected by NicolasMassart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants