71 Commits

Author SHA1 Message Date
Alexandros
63e2524024 Refactor HugoBasicExample () 2019-03-08 17:28:41 +01:00
Alexandros
63f0ae9e4d Assign multiple content types () 2019-02-25 19:31:45 +01:00
Alexandros
7371797b1f Revert author parameter back to a string ()
This reverts the author front matter parameter back to a string in order to fix the 12 theme demos that broke with  

The demos that were supposed to be fixed in that PR were whiteListed with https://github.com/gohugoio/hugoThemes/pull/586
2019-02-25 19:28:21 +01:00
Alexandros
3dd21719f1 Update Content () 2019-02-23 17:27:49 +01:00
Alexandros
8357e46a5e Add Posts Type ()
This PR adds a `type = "posts"` for themes that need it. 

Most notably [Hyde Hyde](https://themes.gohugo.io/theme/hyde-hyde/) that currently has its index page empty will have it populated with posts once again.

If more themes need different content types I will see whether it is possible to turn `type` into an array to add more of these.
2019-02-22 08:46:58 +01:00
Alexandros
b3742c5b52 Add more Aliases () 2019-02-21 14:29:43 +01:00
Alexandros
7261cc00cf Move About menu item to config ()
This should fix the About menu item duplication in various theme demos like in [this one](https://themes.gohugo.io//theme/hermit/)
2019-02-21 14:05:15 +01:00
Alexandros
5cf42a224f Remove SymLink Add Aliases ()
This PR reverts commit 6ad74b6 and instead adds the following under `content/post/_index.md`:
```
aliases = ["posts","articles"]
```

Basically the symlink from  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](4320e757c9/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
Alexandros
d5a9c64a7c Move menu configuration in config.toml () 2019-02-20 20:30:20 +01:00
Alexandros
6ad74b6295 Add posts symlink ()
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).
2019-02-20 19:21:10 +01:00
Alexandros
895ce916d5 Re-add Series Taxonomy with 2nd config () 2019-02-20 14:14:52 +01:00
Alexandros
b92f88f27c Revert "Add Series Taxonomy ()" ()
This reverts commit 4e47e94a69eb67a37f0dd55a2b4eaad05bb8ffe3.

A [great number](https://app.netlify.com/sites/hugothemes/deploys/5c6936d1dddaef000819a6e8) of theme demos on the website broke because of this commit due to the following:

- Series is on the predefined frontmatter variable lists due to its use in the internal opengraph template.
- Series is predefined as an array whereas I entered it as a string.
- Also series needs to be defined as a Taxonomy in the config of an exampleSite. Since the config is inherited by theme authors if they have not defined the series taxonomy then their demo will again break.

**NOTE**
I will be more rigorous with testing before sending more PRs.

cc: @digitalcraftsman
2019-02-19 16:21:58 +01:00
Rémy Jacquin
93a7b4c297 Added french posts translation for testing internationalization (i18n) () 2019-02-17 11:28:24 +01:00
Alexandros
4e47e94a69 Add Series Taxonomy ()
Closes 
2019-02-17 11:03:17 +01:00
Anthony Fok
3b9de18696
Fix minor typos and update copyright year 2018-05-17 12:47:47 -06:00
Bjørn Erik Pedersen
405c351815
Update about.md 2018-03-09 15:55:05 +01:00
Bjørn Erik Pedersen
96cfc46abb Remove some outdated info 2017-06-16 00:33:48 +02:00
bep
d86276c292 Add some more content
And pagination config to show pagination in the themes that support that.
2015-03-08 14:29:02 +01:00
Anthony Fok
6d13296e55 Fix minor typo; updated URLs 2015-02-11 01:26:07 -07:00
spf13
3c34eb049f Adding a menu to the content example site 2014-04-26 16:24:08 -06:00
spf13
875efde235 Example site for themes 2014-04-26 16:00:10 -06:00