Skip to content

Commit

Permalink
Changing url back to /blog (#5)
Browse files Browse the repository at this point in the history
I thought that i found a bug in the theme but it was a config error.
I reported it in:
luizdepra/hugo-coder#204

But i got redirected to:
luizdepra/hugo-coder#186
That was the solution, this commit implements it.
  • Loading branch information
NissesSenap authored Aug 8, 2019
1 parent f38cd26 commit 24b483f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ pygmentscodefencesguesssyntax = true
series = "series"
tag = "tags"

# linkedin = "edvin-norling-54832135"
# strava = "28887261"
# email = "[email protected]"
# Overwrite posts to blogs, i don't like the posts url
[permalinks]
posts = "/blog/:filename"

[[params.social]]
name = "Github"
Expand Down Expand Up @@ -106,7 +106,7 @@ pygmentscodefencesguesssyntax = true
[[languages.en.menu.main]]
name = "Blog"
weight = 2
url = "/posts/"
url = "/blog/"

#[[languages.en.menu.main]]
#name = "Projects"
Expand Down
4 changes: 4 additions & 0 deletions content/posts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Blog
url: /blog/
---

0 comments on commit 24b483f

Please sign in to comment.