1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

956 Commits

Author SHA1 Message Date
b3a113b73a docs: Regenerate commands doc 2016-10-05 10:23:45 +02:00
80367ea218 docs: Us vs you 2016-10-03 00:45:23 +02:00
88ec7d88d1 docs: Improve home page
Organize CSS and Javascript files into directories, separating vendor
source code from home-grown.

Separate new properties and selectors in Bootstrap CSS (already edited
for Hugo) from:
1. Original property values; and
2. Changed property values.

For the home page:

1. Clarify the English text;
2. Add some element names to classes in CSS selectors (to speed loading);
3. Document the Owl Carousel and Highlight.js versions;
4. Add Owl Carousel's license;
5. Restore HTML comments to browser source views;
6. Make the beginning GitHub button transparent on focus (like the others);

7. For the final, colored Twitter and Github buttons:
  a. Remove the dotted box on focus; and
  b. Color them green on active.

8. To increase (layout/) source readability:
  a. Place `class` attributes before `href` attributes;
  b. In `class` attributes, place more-specific class names before
     less-specific; and
  c. Comment the beginnings and ends of Bootstrap rows.

9. To increase understandability during development:
  a. Document the meaning of CSS file, `HPstyles` by renaming it to
     `home-page-style`;
  b. Move inline styling to CSS stylesheets;
  c. Separate @media queries to a file;
  d. Separate the inline Owl Carousel custom Javascript to a file;
  e. Use regular Owl Carousel CSS files instead of minified ones; and
  f. Rename the wide, landscape desk background image filename from
     `desk-long` to `desk-wide`.
2016-10-01 22:19:22 -04:00
ffbf3dd319 doc: Improving language in archetypes doc 2016-10-01 15:05:38 +02:00
d9c1f1eee7 docs: Add Lipi to tools section 2016-10-01 11:43:38 +02:00
d30c6a26d1 docs: Fix typo in tutorials/how-to-contribute-to-hugo.md 2016-09-28 17:27:18 +02:00
0043b48658 docs: Add notes about multilingual menus 2016-09-28 17:19:33 +02:00
e36b0305ca docs: Add tryo labs article to press.md 2016-09-28 12:37:52 +02:00
8b0d16b8d9 docs: Fix typo on hosting-on-gitlab
Corrects "github" typo to "gitlab"
2016-09-27 16:22:42 +02:00
e7e2a1ca02 tpl: Improve tests and docs for i18n 2016-09-20 11:11:57 +02:00
4a79fa0c33 Revert the "standardize author data"
There were some breaking changes etc. that is too late to fix for 0.17.

Let us think this through and add proper author support for Hugo 0.18.

Fixes #2464

Revert "docs: Add documentation for author profiles"

This reverts commit b6673e5309685ae162fdef2dc39c3ce4385c6005.

Revert "Add First Class Author Support"

This reverts commit cf978c06496d99e76b08418422dda5797d90fed6.
2016-09-18 19:16:39 +02:00
83533a8881 docs: Improve Overview Configuration manual 2016-09-17 21:29:37 -04:00
b6673e5309 docs: Add documentation for author profiles 2016-09-17 13:14:05 +02:00
56afd943a8 docs: Add multilingual alias example 2016-09-17 11:23:47 +02:00
cf978c0649 Add First Class Author Support
Closes #1850
2016-09-17 00:49:24 +02:00
742911146a docs: Clarify difference between slug and url 2016-09-16 17:38:08 +02:00
e80453a991 tpl: Add EnableMissingTranslationPlaceholders option
Fixes #2451
2016-09-16 17:20:29 +02:00
0dd57b907b docs: List i18n folder in source organization 2016-09-16 17:13:59 +02:00
bca567faea docs: Clarify usecase of data files
Fixes #1769
2016-09-16 17:05:38 +02:00
0c49370ca0 docs: Fix example of displaying taxonomies
Fixes #2216
2016-09-16 16:43:50 +02:00
3410007dca docs: List multilingual tpl vars and show menu creation
Fixes #2436
2016-09-16 15:37:12 +02:00
9dab62c559 docs: List config options for multilingual feature 2016-09-16 14:36:54 +02:00
4e16a6d4fd docs: Fix markdown in content/extras/scratch.md 2016-09-15 11:35:39 -05:00
cdf1edd549 docs: Fix French translation in multilingual.md 2016-09-15 15:25:31 +02:00
0d1e96701f docs: Improve Traversing Local Files 2016-09-15 15:15:04 +02:00
e70cf1ace4 docs: Remove JPEG as format for showcase thumbnails 2016-09-11 18:18:28 +02:00
d5379fd1fe docs: Add davidyat.es to the showcase 2016-09-11 18:11:50 +02:00
eaf2f9bce5 Add TODO list support for Blackfriday
* Add CSS class to TODO list and list items
* Add a flag to turn task list support off

Fixes #2269
2016-09-09 13:08:20 +02:00
5ef45bec63 docs: Fix typos in multilingual section 2016-09-08 15:54:26 +02:00
2f7e8df5ba docs: Fix spelling: HasTranslations > IsTranslated 2016-09-06 18:32:20 +03:00
93717aac5c docs: Get the variable and funcs re multilingual up-to-date 2016-09-06 18:32:20 +03:00
d1212307f2 doc: Fix TOML vs YAML in multilang section
Updates ##2309
2016-09-06 18:32:19 +03:00
7610844004 Add IsTranslated to Node and Page
Makes the templates simpler.

See #2309
2016-09-06 18:32:19 +03:00
f1e1cdab3f Improve i18n string handling
* Fall back to default language on missing translation file
* Add a i18n-warnings build flag
* If that flag is set, print a parseable and greppable string on missing translation strings

See #2303
2016-09-06 18:32:19 +03:00
8da040342e Render main content language in root by default
Fixes #2312
2016-09-06 18:32:18 +03:00
54141f71dd Improve language handling in URLs
The current "rendering language" is needed outside of Site. This commit moves the Language type to the helpers package, and then used to get correct correct language configuration in the markdownify template func.
This commit also adds two new template funcs: relLangURL and absLangURL.

See #2309
2016-09-06 18:32:18 +03:00
2079a23dd8 Make it possible to configure Blackfroday per language
See #2309
2016-09-06 18:32:17 +03:00
90de511017 Make taxonomies configurable per language
See #2312
2016-09-06 18:32:17 +03:00
f0b91852ea Rework the multilingual docs
And in the same go adjusted some minor parts of the language API:

Add LanguagePrefix alias to Node and rename the Multilingual config section to Languages.

See #2309
2016-09-06 18:32:17 +03:00
ec33732fbe Add multilingual support in Hugo
Implements:
* support to render:
  * content/post/whatever.en.md to /en/2015/12/22/whatever/index.html
  * content/post/whatever.fr.md to /fr/2015/12/22/whatever/index.html
* gets enabled when `Multilingual:` is specified in config.
* support having language switchers in templates, that know
  where the translated page is (with .Page.Translations)
  (when you're on /en/about/, you can have a "Francais" link pointing to
   /fr/a-propos/)
  * all translations are in the `.Page.Translations` map, including the current one.
* easily tweak themes to support Multilingual mode
* renders in a single swift, no need for two config files.

Adds a couple of variables useful for multilingual sites

Adds documentation (content/multilingual.md)

Added language prefixing for all URL generation/permalinking see in the
code base.

Implements i18n. Leverages the great github.com/nicksnyder/go-i18n lib.. thanks Nick.
* Adds "i18n" and "T" template functions..
2016-09-06 18:32:15 +03:00
faa3472fa2 docs: Fix typo in Quickstart guide
To publish a post, draft status should be changed to `false`.
2016-09-06 14:34:46 +02:00
ccc51fe764 docs: Add open.cinegy.com to the showcase 2016-09-06 14:32:33 +02:00
723d4656b5 docs: Add Vim/Emacs plugin to tools section 2016-09-04 15:22:05 +02:00
a48ac6e945 docs: Clarify first level URL generation 2016-09-03 15:32:29 +02:00
0614a59b0f docs: Improve Quickstart guide
Fixes #2331.
2016-09-03 15:19:01 +02:00
696c67b04a docs: Clarify Creating a New Theme 2016-09-01 20:34:00 -04:00
bb1812b6af docs: Mention theme config option on Usage page 2016-09-01 17:22:50 +02:00
8e1bcea82f docs: Update documentation for URLs
Using absolute URLs overrides relative URL behavior. This should be explicit in the docs.
2016-08-30 01:26:21 -04:00
7cb8107735 docs: Correct spelling for "parameters" in partials.md 2016-08-29 12:25:53 +02:00
38d034df38 docs: Document shuffle template func
Fixes #2393.
2016-08-29 12:22:37 +02:00