Commit Graph

188 Commits

Author SHA1 Message Date
Alexandros
5cf42a224f 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](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 (#25) 2019-02-20 20:30:20 +01:00
Alexandros
6ad74b6295 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).
2019-02-20 19:21:10 +01:00
Alexandros
895ce916d5 Re-add Series Taxonomy with 2nd config (#23) 2019-02-20 14:14:52 +01:00
Alexandros
433a25658e Disable French (#21)
Commit 93a7b4c had the side effect of causing existing theme demos that rely on the HugoBasicExample to display the French language posts.

So with this PR the French translation of the posts is disabled by default, to keep things for existing demos as before.

**NOTE**
When we are done with overhauling the HugoBasicExample we will need to add documentation in its README. 

For example in this case we will need to state that authors who wish to have a multilingual theme demo will need to remove `disableLanguages = ["fr"]` from the exampleSite config.
2019-02-19 17:07:25 +01:00
Alexandros
b92f88f27c Revert "Add Series Taxonomy (#19)" (#22)
This reverts commit 4e47e94a69.

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) (#11) 2019-02-17 11:28:24 +01:00
Alexandros
4e47e94a69 Add Series Taxonomy (#19)
Closes #18
2019-02-17 11:03:17 +01:00
Hanzei
278f6dee51 Add install instructions for single theme in README.md
Fixed #12
2018-08-08 22:11:05 +02: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
digitalcraftsman
f7270cb4e1 README: Fix typo in command to clone hugoBasicExample 2017-06-15 20:37:03 +02:00
attwad
7f0db69a6f Fix typo in command to clone hugoBasicExample 2017-06-15 22:06:38 +09:00
digitalcraftsman
8abbea4894 Update links in README due to the org transition 2017-06-13 19:23:18 +02:00
digitalcraftsman
217cd2cd8f Update links in README due to the org transition 2017-06-13 19:10:45 +02:00
Bjørn Erik Pedersen
d052d19001 Remove themeSite specific params from config 2015-07-10 09:53:54 +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
bep
52fd8d2c83 Add themes to .gitignore 2015-03-01 16:37:17 +01:00
bep
2865adaaf3 Set canonifyurls = true 2015-03-01 16:27:44 +01:00
Anthony Fok
0613d7c4f3 Some more tweaks to README.md 2015-02-11 11:06:44 -07:00
Anthony Fok
6d13296e55 Fix minor typo; updated URLs 2015-02-11 01:26:07 -07:00
Steve Francia
3e6d431113 Merge pull request #6 from stou/master 2014-12-03 08:48:14 +01:00
Rasmus Stougaard
6c9f85f0b6 Tweaked git ignore to exclude the generated public folder 2014-11-19 23:22:37 +07:00
Rasmus Stougaard
73b2f1ac08 Added layouts directory to avoid error when generating site
Hugo ouputs an error like:

ERROR: 2014/11/19 Walker:  lstat /path/to/HugoBasicExample/layouts: no such file or directory

when testing a new theme against this repo, unless the layouts folder is created first

Tested with hugo built from commit master (on commit 728d0fa32cb666264045783518cc6ded5c78f246)
2014-11-19 23:22:12 +07:00
spf13
c91c655da8 updated readme to reflect the new intent 2014-05-23 18:18:27 -04:00
spf13
4b5daeca6d themes moved to their own repos 2014-05-23 16:55:53 -04:00
spf13
c5f606805f adding archetypes to the existing themes 2014-05-23 15:45:21 -04:00
Steve Francia
7574de4439 Merge pull request #4 from dato/hyde_v2
Hyde theme: sync with upstream to v2.0.0
2014-05-23 15:36:19 -04:00
Dato Simó
c96f3256d3 Hyde theme: sync with upstream to v2.0.0.
CSS is now split into poole.css and hyde.css; chrome/sidebar.html updated.

Also cherry-pick:

  * poole/hyde@48b9d1f - Set a max-width for images
2014-05-15 00:34:40 +01:00
spf13
a570c1a01b including the static directory 2014-04-26 22:47:54 -06:00
spf13
8642e0116c small tweak to hyde read me 2014-04-26 16:41:16 -06:00
spf13
68df1d72de Adding the Herring Cove theme 2014-04-26 16:41:00 -06:00
spf13
6add981bc1 Adding a read me for the repository 2014-04-26 16:27:12 -06:00
spf13
e72d013a5f Adding the hyde theme 2014-04-26 16:25:13 -06: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
Steve Francia
efe6c4c5ed Initial commit 2014-04-26 14:46:54 -07:00