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

2783 Commits

Author SHA1 Message Date
8fa871a05f all: Remove dead code 2016-10-13 13:51:16 +02:00
766c82a6bb Add context to asciidoc/-tor error logging
Add DocumentName (path to the file being rendered) to RenderingContext
and use that information to include the path in the error print.

See #2399
Closes #2567
2016-10-13 13:48:43 +02:00
9f9b93af2c Add logging of asciidoc/-tor errors
Add logging of the errors which asciidoc and asciidoctor output to their
stderr stream when converting asciidoc documents. Note that
asciidoctor's exit code may be SUCCESS even if there are ERROR messages
in its stderr output (tested with Asciidoctor 0.1.4 and 1.5.5).
Therefore log the stderr output whenever it is non-empty.

See #2399
2016-10-13 13:48:30 +02:00
998034faad Log on error in translation file
Fixes #2562
2016-10-12 16:54:29 +02:00
eb00c621e0 tpl: Remove the spamming template errors
Fixes #2343
2016-10-12 10:12:15 +02:00
8ddd95e361 tpl: Factor out double Lookup in executeTemplate 2016-10-12 08:26:39 +02:00
474eb454df tpl: Add partialCached template function
Supports an optional variant string parameter so that a given partial
will be cached based upon the name+variant.

Fixes #1368
Closes #2552
2016-10-11 23:56:06 +02:00
d2bc64bee3 Add draft test
See #2549
2016-10-11 18:12:28 +02:00
5355ddf621 docs: Remove deleted article "Hugo on Netlify — Insanely Fast Deploys" 2016-10-10 21:00:41 +02:00
bfe9b8708a docs: Add "Hugo on Netlify" article to press.md 2016-10-10 20:55:21 +02:00
8a63ebcb3d docs: Add shapeshed.com to the showcase 2016-10-10 20:42:29 +02:00
9d0b1320e0 docs: Add thecodeking.co.uk to the showcase 2016-10-10 20:38:55 +02:00
71422a7dee docs: Add Firebase Hosting to usage.md 2016-10-10 20:26:46 +02:00
df7b8b5c38 docs: Add Firebase Hosting to hosting providers 2016-10-10 20:26:02 +02:00
b3bcd78f4f docs: Add webhook to tools for deployments 2016-10-10 20:20:41 +02:00
8d50925820 docs: Mention GitLab hosting support 2016-10-10 20:14:23 +02:00
8b8a1e0a4c Fix broken build 2016-10-10 15:17:13 +02:00
0206be0275 hugolib: Prevent TestShortcodeTweet from accessing network
Overload `getJSON` and return mock response.  Also standardized error
reporting strings in tests.

Fixes #2359
2016-10-10 15:10:14 +02:00
7b0f92db0b vendor: Update Viper
See #2536
2016-10-10 13:41:14 +02:00
1f0877947e snap: Add "network-bind" plug for "hugo server" to work
See #2532
2016-10-09 10:10:50 -06:00
a7e2a04d5b docs: Add Forestry.io to the tools section 2016-10-09 14:20:14 +02:00
c2bf748ec5 docs: Refactor /docs to use the block keyword
Fixes #2226
2016-10-09 11:20:46 +02:00
56512e816f Allow to set cache dir in config file 2016-10-09 11:00:36 +02:00
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
cf5d2e2753 vendor: Revert latest Viper
See #2536
2016-10-08 19:05:41 +02:00
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
7cdd230e16 vendor: Update dependencies 2016-10-08 15:09:34 +02:00
a22294aa7c docs: Stylize "Mac OS" as "macOS" in v0.17 release notes 2016-10-07 10:43:34 -06:00
6195d8f79b docs: Fix grammar in v0.17 release notes
Also trimmed trailing whitespace.
2016-10-07 10:39:56 -06:00
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
d54d6633ad release: version bump to v0.18-DEV 2016-10-07 11:11:43 -04:00
e1e677f6da snapcraft.yaml: Bump version to 0.17 for release v0.17 2016-10-07 08:42:05 -06:00
fe2d246c73 commands: Bump min_version to 0.17 for "new theme" subcommand 2016-10-07 08:36:28 -06:00
5b9f488304 release: version bump to 0.17 2016-10-07 10:08:57 -04:00
8bc390d8de vendor: update viper to latest version 2016-10-07 10:05:27 -04:00
f9c70c0f89 add release notes for v0.17 2016-10-07 09:58:32 -04:00
57d7dd5bd9 docs: Add rahulrai.in to the showcase 2016-10-06 18:19:56 +02:00
fbce84450b Whitelist startinline pygments option 2016-10-06 14:59:49 +02:00
27d7aa5f10 travis: Reintroduce asciidoctor to build
Fixes #2524
2016-10-06 09:31:57 +02:00
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
00b3667f30 travis: Remove asciidoctor from build
It fails. Will have to investigate.
2016-10-05 14:36:50 +02:00
217d6ea605 travis: Fix asciidoctor build 2016-10-05 14:35:02 +02:00
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
b3a113b73a docs: Regenerate commands doc 2016-10-05 10:23:45 +02:00
2a4ed1c492 Add hugo env command
Useful for bug reports.

Fixes #2523
2016-10-05 10:20:25 +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
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
d9c1f1eee7 docs: Add Lipi to tools section 2016-10-01 11:43:38 +02:00