This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
hugo-PaperMod
Watch
1
Star
0
Fork
0
You've already forked hugo-PaperMod
mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced
2023-12-21 10:22:58 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b3742c5b52
hugo-PaperMod
/
content
/
post
/
_index.md
3 lines
56 B
Markdown
Raw
Normal View
History
Unescape
Escape
Remove SymLink Add Aliases (#26) This PR reverts commit 6ad74b6 and instead adds the following under `content/post/_index.md`: ``` aliases = ["posts","articles"] ``` Basically the symlink from #24 duplicated all posts in theme demos, so it needs to be removed. Aliases on the other hand thanks to the Netlify Redirect Output Format defined in the gohugoio theme over [here](https://github.com/gohugoio/hugoThemesSite/blob/4320e757c9f8fce5e265c725bd1e9bd061f70753/config.toml#L21-L31) and [here](https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/index.redir) become 301 redirects, so they hopefully offer a solution to the issue of the various themes using different sections in their demos that I described in https://github.com/gohugoio/hugoBasicExample/pull/24
2019-02-21 00:53:36 +01:00
+++
Add more Aliases (#29)
2019-02-21 14:29:43 +01:00
aliases = ["posts","articles","blog","showcase"]
Remove SymLink Add Aliases (#26) This PR reverts commit 6ad74b6 and instead adds the following under `content/post/_index.md`: ``` aliases = ["posts","articles"] ``` Basically the symlink from #24 duplicated all posts in theme demos, so it needs to be removed. Aliases on the other hand thanks to the Netlify Redirect Output Format defined in the gohugoio theme over [here](https://github.com/gohugoio/hugoThemesSite/blob/4320e757c9f8fce5e265c725bd1e9bd061f70753/config.toml#L21-L31) and [here](https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/index.redir) become 301 redirects, so they hopefully offer a solution to the issue of the various themes using different sections in their demos that I described in https://github.com/gohugoio/hugoBasicExample/pull/24
2019-02-21 00:53:36 +01:00
+++
Reference in New Issue
Copy Permalink