Commit Graph
9406 Commits
Author SHA1 Message Date
Anthony Fok e161ea09d3 Add one more Chinese file to workaround reflect: Zero(nil)
in theme/layouts/page/documentation-home.html
2018-05-03 19:35:46 -06:00
Anthony Fok b595b3a210 Add more Chinese translation 2018-05-03 19:31:19 -06:00
Anthony Fok 56e4e95d9e Use lang.Merge to "fill in the gaps" for untranslated pages
For example, to get pages under the About Hugo section to show up
on https://gohugo.io/zh/about/.

This commit is non-exhaustive; more work is necessary.

Also bump theme min_version to 0.38 due to the use of the new
lang.Merge function.
2018-05-03 18:53:52 -06:00
Anthony Fok 650fac3a4e Squashed 'themes/gohugoioTheme/' changes from a1768ebb..f31a3dc8
f31a3dc8 Fix problem where non-ASCII menu links cannot be triggered
e1cff357 Add eSolia as new sponsor
cfedbdde Adjust gray color of tab vs pane in code-toggle.
d9ba8d66 Rebuild Chroma CSS
22ec76a4 Add code toggler
cf139e3a Merge commit '7ae9cf2ccb3eecc1ff50f686925249d01cf37c6c'
c03ab1e9 Revert "Anchorify headings up to h4"
de01837f Anchorify headings up to h4

git-subtree-dir: themes/gohugoioTheme
git-subtree-split: f31a3dc8b65e76e8827caf1ad998404e933314d0
2018-05-03 16:47:11 -06:00
Anthony Fok ef079406cf Merge commit '650fac3a4e7d256f4505402ab44cfc3c804b8dea' 2018-05-03 16:47:11 -06:00
suren 322eff8999 Add Chinese language for menus
See #461
2018-05-03 16:44:06 -06:00
Kaushal Modi d90b886e08 Fix Markdown table syntax in previous commit 2018-05-03 12:48:39 -04:00
Kaushal Modi 737f3dfca5 Update the leaf bundle vs branch bundle table
Ref: https://discourse.gohugo.io/t/question-about-content-folder-structure/11822/4?u=kaushalmodi
2018-05-03 12:45:53 -04:00
Anthony Fok 09fa1bc4e8 Clarify that .Now is obsolete
And fix typo: `now` should be without leading dot.

Fixes #470
2018-05-03 00:32:49 -06:00
Anthony Fok 879ea3f6a2 Make release notes somewhat more consistent 2018-05-02 23:59:28 -06:00
Hélène Martin a4b71fb840 Fix typo
This could either be "check out Hugo's themes" or "check out the Hugo themes". I think the latter reads better.
2018-05-03 07:05:35 +02:00
Hélène Martin c4200dd0eb Fix typo
This could either be "check out Hugo's themes" or "check out the Hugo themes". I think the latter reads better.
2018-05-03 07:05:35 +02:00
Hélène Martin a6816db775 Fix typo
This could either be "check out Hugo's themes" or "check out the Hugo themes". I think the latter reads better.
2018-05-03 07:05:35 +02:00
Anthony Fok 0113e2051d Move 0.40.2-relnotes into content/en/news
(Oops, missed it in commit 77578f5bfc)
2018-05-02 22:22:48 -06: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
Anthony Fok 4dcf7c7092 Fix "reflect: Zero(nil)" error in showcase
when a showcase bundle does not yet exist for a new language,
for when our website goes multilingual.

Special thanks to @bep for the suggested fix.

See #461
Fixes gohugoio/gohugoioTheme#90
2018-05-01 10:43:31 -06:00
Adam Jones b6ededf059 Update CONTRIBUTING.md
Fix typos, simplify language
2018-05-01 18:02:08 +02:00
Bjørn Erik Pedersen 63dd255054 Release 0.40.2 2018-04-30 08:57:13 +02:00
hugoreleaser 2076c0d56b releaser: Prepare repository for 0.41-DEV
[ci skip]
2018-04-30 06:50:00 +00:00
hugoreleaser 8f83233367 releaser: Prepare repository for 0.41-DEV
[ci skip]
2018-04-30 06:50:00 +00:00
hugoreleaser 8b03c51eae releaser: Prepare repository for 0.41-DEV
[ci skip]
2018-04-30 06:50:00 +00:00
hugoreleaser 070fe565e9 releaser: Add release notes to /docs for release of 0.40.2
[ci skip]
2018-04-30 06:47:41 +00:00
hugoreleaser 9fab87505a releaser: Add release notes to /docs for release of 0.40.2
[ci skip]
2018-04-30 06:47:41 +00:00
hugoreleaser 5a9d1324d8 releaser: Add release notes to /docs for release of 0.40.2
[ci skip]
2018-04-30 06:47:41 +00:00
hugoreleaser 4ce52e913e releaser: Bump versions for release of 0.40.2
[ci skip]
2018-04-30 06:47:41 +00:00
hugoreleaser 83648c666d releaser: Bump versions for release of 0.40.2
[ci skip]
2018-04-30 06:47:41 +00:00
hugoreleaser f1269a6d00 releaser: Bump versions for release of 0.40.2
[ci skip]
2018-04-30 06:47:41 +00:00
Bjørn Erik Pedersen 669b3d3a99 Release 0.40.2 2018-04-30 08:42:04 +02:00
hugoreleaser 317d81ec48 releaser: Add release notes draft for 0.40.2
Rename to *-ready.md to continue. [ci skip]
2018-04-30 06:39:05 +00:00
Bjørn Erik Pedersen 655983a22d Reset .Page.Scratch on live-reload
Fixes #4683
2018-04-30 08:21:22 +02:00
Dustin Metzgar 41907c4876 Fix typos in syntax-highlighting.md 2018-04-29 13:38:25 +02:00
Bjørn Erik Pedersen 001a28c2f9 Fix .WordCount, .FuzzyWordCount, .ReadingTime when summary marker is set
This bug was introduced in Hugo 0.40. It is when you use the `<!--more-->` summary marker.

Note that this affects the word stats only. The related `PlainWords`, `Plain`, `Content` all return correct values.

Fixes #4675
Fixes #4682
2018-04-29 10:58:58 +02:00
James Rhea 91753ef3dd Add missing backtick
Changed hidecaption` to `hidecaption`
2018-04-28 23:24:53 +02:00
Anthony Fok b772743013 Remove duplicate release notes (0.27, 0.27.1, 0.35) 2018-04-27 11:52:52 -06:00
Anthony Fok 6e00da3163 Remove obsolete content/release-notes/ directory
Now provided by content/news/.
2018-04-27 11:44:51 -06:00
Anthony Fok 00a6d8c029 Change en dash back to -- in 0.38.2-relnotes 2018-04-27 11:37:28 -06:00
Samer Kanjo 51b32dc000 Update archetypes.md
The lookup path for themes was not correct. Added archetypes to the theme lookup path.
2018-04-25 19:35:44 +02:00
Bjørn Erik Pedersen d0e5c23074 Release 0.40.1 2018-04-25 15:45:39 +02:00
hugoreleaser 4538a6d5b1 releaser: Prepare repository for 0.41-DEV
[ci skip]
2018-04-25 13:23:15 +00:00
hugoreleaser e6434d1041 releaser: Prepare repository for 0.41-DEV
[ci skip]
2018-04-25 13:23:15 +00:00
hugoreleaser 391f59f996 releaser: Prepare repository for 0.41-DEV
[ci skip]
2018-04-25 13:23:15 +00:00
hugoreleaser 91b391d708 releaser: Add release notes to /docs for release of 0.40.1
[ci skip]
2018-04-25 13:20:44 +00:00
hugoreleaser 9389b29735 releaser: Add release notes to /docs for release of 0.40.1
[ci skip]
2018-04-25 13:20:44 +00:00
hugoreleaser 459935b291 releaser: Add release notes to /docs for release of 0.40.1
[ci skip]
2018-04-25 13:20:44 +00:00
hugoreleaser e0979d143a releaser: Bump versions for release of 0.40.1
[ci skip]
2018-04-25 13:20:44 +00:00
hugoreleaser 32979e28a0 releaser: Bump versions for release of 0.40.1
[ci skip]
2018-04-25 13:20:44 +00:00
hugoreleaser b5dafb0f23 releaser: Bump versions for release of 0.40.1
[ci skip]
2018-04-25 13:20:44 +00:00
Bjørn Erik Pedersen 88cb2697e2 Release 0.40.1 2018-04-25 15:17:21 +02:00
hugoreleaser 6fb2d30d21 releaser: Add release notes draft for 0.40.1
Rename to *-ready.md to continue. [ci skip]
2018-04-25 12:58:03 +00:00
Bjørn Erik Pedersen 288c396439 hugolib: Fix some shortcode vs .Content corner cases
This is a follow-up to #4632. There were some assumptions in that implementation that did not hold water in all situations.

This commit simplifies the content lazy initalization making it more robust.

Fixes #4664
2018-04-25 08:56:46 +02:00