diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2019-02-20 21:21:10 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2019-02-20 21:21:10 +0300 |
commit | 6ad74b6295a8d8022019ab4b680b0b8b7a8545d0 (patch) | |
tree | a3f717063574b24af4e69ccaf702904ac732d4a7 | |
parent | 895ce916d584a1543a15fbd1e77c4cd383155874 (diff) |
Add posts symlink (#24)
Some themes like for example [Hyde Hyde](https://github.com/htr3n/hyde-hyde/tree/master/exampleSite/content) 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).
l--------- | content/posts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/posts b/content/posts new file mode 120000 index 0000000..04cc40b --- /dev/null +++ b/content/posts @@ -0,0 +1 @@ +post
\ No newline at end of file |