DEV Community

Discussion on: Create a Static Blog Using Python Flask

Collapse
 
pythonvishal profile image
Vishal Chopra • Edited

great article. So for example if we try to follow 127.0.0.1:5000/blogpost.html, the route will look for a file called blogpost.md in the pages directory.

How to use custom permalink?

Like in jekyll, we can add permalink markdown as shown below:
title: "hello world"
author: "vishal"
permalink: "my-custom-permalink-here"

Can you help me to add a custom permalink in individual pages like Jekyll? Thanks.