Commit graph

2610 commits

Author SHA1 Message Date
Chase Adams
3616fb629b command: Fix hugo new for multiple architectures
Changes `%q` to `%s`. `%q` was safely escaping the `\` in windows so that it was printing `\\`. Uses `filepath.Join` for example filepath so that the output is OS specific and since this required splitting up the multiline string, it's refactored into a separate function..

Fixes #2401
2016-10-09 10:59:07 +02:00
Bjørn Erik Pedersen
cf5d2e2753 vendor: Revert latest Viper
See #2536
2016-10-08 19:05:41 +02:00
Bjørn Erik Pedersen
1c214fcb7c Add quiet mode
Needed to run benchmarks without the stats getting in the way of the benchmark stats.

Fixes #1218
2016-10-08 18:26:16 +02:00
Bjørn Erik Pedersen
7cdd230e16 vendor: Update dependencies 2016-10-08 15:09:34 +02:00
Anthony Fok
a22294aa7c docs: Stylize "Mac OS" as "macOS" in v0.17 release notes 2016-10-07 10:43:34 -06:00
Cameron Moore
6195d8f79b docs: Fix grammar in v0.17 release notes
Also trimmed trailing whitespace.
2016-10-07 10:39:56 -06:00
Anthony Fok
1adfaf4972 snapcraft.yaml: Bump version to 0.18-DEV
and set grade to "devel" for the new development series.
2016-10-07 10:12:46 -06:00
Steve Francia
d54d6633ad release: version bump to v0.18-DEV 2016-10-07 11:11:43 -04:00
Anthony Fok
e1e677f6da snapcraft.yaml: Bump version to 0.17 for release 2016-10-07 08:42:05 -06:00
Anthony Fok
fe2d246c73 commands: Bump min_version to 0.17 for "new theme" subcommand 2016-10-07 08:36:28 -06:00
Steve Francia
5b9f488304 release: version bump to 0.17 2016-10-07 10:08:57 -04:00
Steve Francia
8bc390d8de vendor: update viper to latest version 2016-10-07 10:05:27 -04:00
Steve Francia
f9c70c0f89 add release notes for v0.17 2016-10-07 09:58:32 -04:00
Rahul Rai
57d7dd5bd9 docs: Add rahulrai.in to the showcase 2016-10-06 18:19:56 +02:00
Kim Gressens
fbce84450b Whitelist startinline pygments option 2016-10-06 14:59:49 +02:00
Bjørn Erik Pedersen
27d7aa5f10 travis: Reintroduce asciidoctor to build
Fixes #2524
2016-10-06 09:31:57 +02:00
Anthony Fok
f8e968b2d1 snapcraft.yaml: Change grade from "devel" to "stable"
So that the snap can be uploaded to the Candidate channel
in the Ubuntu store, now that the 0.17 release is impending.
2016-10-05 07:01:57 -06:00
Bjørn Erik Pedersen
00b3667f30 travis: Remove asciidoctor from build
It fails. Will have to investigate.
2016-10-05 14:36:50 +02:00
Bjørn Erik Pedersen
217d6ea605 travis: Fix asciidoctor build 2016-10-05 14:35:02 +02:00
Bjørn Erik Pedersen
f37f57a814 travis: Lock asciidoctor to 1.5.4
1.5.5 (the newly released) seems to break.
2016-10-05 14:11:56 +02:00
Bjørn Erik Pedersen
b3a113b73a docs: Regenerate commands doc 2016-10-05 10:23:45 +02:00
Bjørn Erik Pedersen
2a4ed1c492 Add hugo env command
Useful for bug reports.

Fixes #2523
2016-10-05 10:20:25 +02:00
Pine
80367ea218 docs: Us vs you 2016-10-03 00:45:23 +02:00
Mark D. Blackwell
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
Tim Rourke
ffbf3dd319 doc: Improving language in archetypes doc 2016-10-01 15:05:38 +02:00
Andrew Speed
0721a9c730 Update Dockerfile to pull in missing test dependency
Add the missing github.com/fortytw2/leaktest dependency required for
hugo_site_tests.
2016-10-01 13:02:35 +02:00
digitalcraftsman
d9c1f1eee7 docs: Add Lipi to tools section 2016-10-01 11:43:38 +02:00
Bjørn Erik Pedersen
bf0dfa3e2d Fix URL in multilanguage sitemap index
Fixes #2509
2016-09-30 16:24:57 +02:00
digitalcraftsman
d30c6a26d1 docs: Fix typo in tutorials/how-to-contribute-to-hugo.md 2016-09-28 17:27:18 +02:00
digitalcraftsman
50c43c36f1 Contributing: Link the "How to contribute" tutorial 2016-09-28 17:25:24 +02:00
digitalcraftsman
0043b48658 docs: Add notes about multilingual menus 2016-09-28 17:19:33 +02:00
digitalcraftsman
78e5263ca9 Readme: Clarify usage of Gitter 2016-09-28 14:51:40 +02:00
patdhlk
e36b0305ca docs: Add tryo labs article to press.md 2016-09-28 12:37:52 +02:00
Bjørn Erik Pedersen
614dd2aa16 Deprecate PageMeta.WordCount etc.
Fix #2503
2016-09-28 11:05:21 +02:00
Bjørn Erik Pedersen
59df7db764 Fix half-broken self-closing shortcodes
Fixes #2498
2016-09-27 21:11:34 +02:00
Joseph Anderson
8b0d16b8d9 docs: Fix typo on hosting-on-gitlab
Corrects "github" typo to "gitlab"
2016-09-27 16:22:42 +02:00
Anthony Fok
6b4d3263b6 commands: Revise instructions after "hugo new site"
mainly to fit inside 80-column wide terminal windows.

See #1164
2016-09-26 14:23:57 -06:00
Bjørn Erik Pedersen
0c223d9c7a vendor: Update Viper
See #2495
2016-09-26 17:06:58 +02:00
Bjørn Erik Pedersen
a61b1497c6 vendor: Update cast
See #2495
2016-09-26 10:50:38 +02:00
Bjørn Erik Pedersen
a0167d838e Fix leaky goroutine
By making the err chan buffered so both go routines can return.

Also make sure that any errors are logged.

Fixes #2488
2016-09-23 19:04:19 +02:00
Bjørn Erik Pedersen
63a6da06d8 Make multilingual respect DisableSitemap
Fixes #2485
2016-09-23 10:30:55 +02:00
Bjørn Erik Pedersen
73894cca56 Add TestChangeDefaultLanguage 2016-09-21 14:09:41 +02:00
Bjørn Erik Pedersen
2071d470e6 tpl: Polish i18n tests
* Make the type/var names more specific. They live in the test namespace, but there are other tests there.
* Camel case variable
* Small change suggested by Golint
2016-09-20 13:22:56 +02:00
Mitchell Cohen
e7e2a1ca02 tpl: Improve tests and docs for i18n 2016-09-20 11:11:57 +02:00
Bjørn Erik Pedersen
e7ff5c2d6a vendor: Update go-toml
Fixes #2439
2016-09-20 10:35:11 +02:00
Bjørn Erik Pedersen
608b90da8d vendor: Update dependencies 2016-09-19 23:24:36 +02:00
Bjørn Erik Pedersen
894b69dba5 Remove some unused vars 2016-09-19 22:14:15 +02:00
Bjørn Erik Pedersen
9c017e512e commands: Add some band-aid to convert
Fixes #2458
2016-09-19 10:52:07 +02:00
Bjørn Erik Pedersen
2105e42aca tpl: Set i18n bundle once per test run
No real practical difference, but more clear.
2016-09-19 02:44:21 +02:00
Cameron Moore
6e692f2d11 Add vendoring with govendor 2016-09-19 00:10:10 +02:00