Handle custom urls by using ghost-slug id

This commit is contained in:
2022-01-26 04:46:18 +01:00
parent 1e6cbd574f
commit dfe60f241a
3 changed files with 32 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ const (
URLPostfix = "aspx"
URLRoot = "/"
URLSlug = "/<slug:[^/\\.]*>." + URLPostfix
URLIndex = "/index." + URLPostfix
URLBlog = "/blog." + URLPostfix
URLPost = "/post." + URLPostfix