Commit Graph

4 Commits

Author SHA1 Message Date
Alexandros 4560a0169a Update Warning for Theme Links (#676)
The advice in this page is actually the opposite. Relative URLs output the wrong URL for theme assets on the Hugo website.

See relevant advice in the repository's [README](https://github.com/gohugoio/hugoThemes#common-permalink-issues)

I hadn't noticed this page (if I had noticed I would have sent a PR earlier because the advice offered here is plain wrong).

The reason I am merging this PR right away is due to [this](https://github.com/gohugoio/hugoThemes/issues/504#issuecomment-443253163) comment by a confused theme author. 

If you feel that this could be improved feel free to reword and amend as you see fit but the bottom line is that for themes that are going to be published on Hugo Themes authors should create absolute paths in their templates.

cc: @bep @digitalcraftsman @kaushalmodi
2018-11-30 23:04:21 +02:00
Lorenz Cuno Klopfenstein c9a8f0190c Improve theme components documentation 2018-06-13 17:17:38 +02:00
Bjørn Erik Pedersen 48cc2d51fd docs: Update theme documentation
See #4460
2018-06-12 07:38:41 +02:00
Anthony Fok 77578f5bfc Move content/ into new contentDir content/en/
in preparation for adding new translations such as Chinese.

Paths for "readfile" shortcode are adjusted accordingly.

See #461
2018-05-01 11:23:28 -06:00