gohugoio / hugoBasicExample

MIT License
281 stars 281 forks source link

Add posts symlink #24

Closed onedrawingperday closed 5 years ago

onedrawingperday commented 5 years ago

Some themes like for example Hyde Hyde have their content files under a section called posts

Currently the index page of these theme demos renders empty because there is no posts section in the HugoBasicExample.

So to fix this I have added a symlink called posts that points to the content files located under the post of the HugoBasicExample repo.

In theory this workaround can be used for other sections as well like e.g. articles etc (as long as it doesn't break anything).

cc: @digitalcraftsman