Skip to content

how to set a custom template for all pages inside a certain directory? #3270

Answered by avaris
plgruener asked this question in Q&A
Discussion options

You must be logged in to vote

See EXTRA_PATH_METADATA:

EXTRA_PATH_METADATA = {
    'A': {'template': 'page_a'},
    'B': {'template': 'page_b'},
    # ...
}

Replies: 1 comment 2 replies

Comment options

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

@plgruener
Comment options

Answer selected by plgruener
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