Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoBasicExample.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros <onedrawingperday@users.noreply.github.com>2019-02-20 21:21:10 +0300
committerdigitalcraftsman <digitalcraftsman@users.noreply.github.com>2019-02-20 21:21:10 +0300
commit6ad74b6295a8d8022019ab4b680b0b8b7a8545d0 (patch)
treea3f717063574b24af4e69ccaf702904ac732d4a7
parent895ce916d584a1543a15fbd1e77c4cd383155874 (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/posts1
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