Add template for a custom page on root
SeaDve opened this issue · 2 comments
SeaDve commented
Feature Request
Summary
Add a template for a custom page on the root.
Motivation
For example, when a user may want to add an about page, they can simply use the template X.html
, instead of modifying the theme.
Detailed Description
I currently use a custom template to get around this, and it is implemented like the following:
{% extends "base.html" %}
{% block main_content %}
{{ macros_page_header::page_header(title=section.title) }}
<br>
{{ section.content | safe }}
{% endblock main_content %}
welpo commented
SeaDve commented
Oh, last time I checked it wasn't there. That's exactly what I was looking for. Closing this. Thankss!