Skip to content

Can you import a file/macro by default without {% include ... %} definition? #190

Answered by fralau
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

Absolutely. For your needs, check the documentation on post-production, for headers and footers. That would go into your module.py file.

Instead of inserting a string, you could of course read a file.

Replies: 7 comments 17 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Andre601
Comment options

Comment options

You must be logged in to vote
2 replies
@Andre601
Comment options

@fralau
Comment options

Answer selected by Andre601
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Andre601
Comment options

@Andre601
Comment options

Comment options

You must be logged in to vote
10 replies
@Andre601
Comment options

@fralau
Comment options

@Andre601
Comment options

@fralau
Comment options

@Andre601
Comment options

Comment options

You must be logged in to vote
2 replies
@Andre601
Comment options

@fralau
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
useful tip A how-to, good to know
2 participants