Skip to content

How to tweak html code and the routes? #64

Answered by jlelse
naddika asked this question in Q&A
Discussion options

You must be logged in to vote

One example is

{{printf "/%v/%02d/%02d/%v" .Section .Year .Month .Slug}}

You can use the following variables:

.Section, .Slug, .Year, .Month, .Day and .BlogPath

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@naddika
Comment options

@jlelse
Comment options

@naddika
Comment options

@jlelse
Comment options

Answer selected by naddika
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants