Manually Settings the file_path in Render Engine

11 Sep 2025 21:21

Based on Dan's suggestion if you need to create a non-slugified file_path in render engine, you can just use the path_name attribute.

In my current site:

@app.page
class _404(Page):
    template = "404.html"
    path_name = "_404.html"