Добавил параметр [permalinks]
posts = "/:year/:slug/"
This commit is contained in:
@@ -2,4 +2,5 @@
|
|||||||
date = '{{ .Date }}'
|
date = '{{ .Date }}'
|
||||||
draft = true
|
draft = true
|
||||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -118,3 +118,6 @@ draft = false
|
|||||||
[services]
|
[services]
|
||||||
[services.googleAnalytics]
|
[services.googleAnalytics]
|
||||||
ID = "" # Укажите ваш ID Google Analytics, например "G-XXXXXXXXXX"
|
ID = "" # Укажите ваш ID Google Analytics, например "G-XXXXXXXXXX"
|
||||||
|
|
||||||
|
[permalinks]
|
||||||
|
posts = "/:year/:slug/"
|
||||||
Reference in New Issue
Block a user