Commit graph

10 commits

Author SHA1 Message Date
bogem
68ebf61613 examples: Update multilingual example
Use new i18n concept

Fixes #2417
2016-11-23 19:47:09 +01:00
Albert Nigmatzianov
f21e2f25c9 all: Unify case of config variable names
All config variables starts with low-case and uses camelCase.

If there is abbreviation at the beginning of the name, the whole
abbreviation will be written in low-case.
If there is abbreviation at the end of the name, the
whole abbreviation will be written in upper-case.
For example, rssURI.
2016-10-24 20:56:00 +02:00
Richard Metzler
5b40eeede1 examples: Add example for translation files 2016-07-29 20:21:52 +02:00
digitalcraftsman
f807953a27 Update Hugo examples 2015-12-26 20:02:21 -07:00
Egon Elbre
24d8ac1fc6 Fix multilingual styling with small screen. 2015-05-07 21:16:38 +02:00
Egon Elbre
9cd8673f3e Added missing files, make the site look better. 2015-05-07 21:16:38 +02:00
Egon Elbre
9123ac559e Fix multilingual site layouts/templates. 2015-05-07 21:16:38 +02:00
Anthony Fok
d397bc4f43 [Docs] Complete the transition from "indexes" to "taxonomies" (almost)
Also mention `.Site.Indexes` → `.Site.Taxonomies` as well as
the upcoming `.Site.Recent` → `.Site.Pages` transitions.
2015-01-29 12:48:14 -07:00
Anthony Fok
ac78d25240 A small fix and update to the multilingual example
Enclose `{{ .Content }}` with a `{{ if .IsPage }}` test to avoid
the "Content is not a field of struct type *hugolib.Node" error.
Thanks to @spf13 for the tip!  Fixes #366.

Also update example to Hugo v0.12 conventions:
- Convert config.yaml to config.toml to follow what
  `hugo new site /path/to/site` generates
- Rename layouts/chrome to layouts/partials
- Convert `template` calls to `partial` calls
- Add .gitignore to ignore the `public` directory
- Add README.md with pointers to discussions in issues
  to help bring newcomers up to speed with this multilingual example
2014-09-08 11:38:12 -04:00
Egon Elbre
8b84156f87 Example of a multilingual site. 2013-12-28 13:48:15 -05:00