Commit Graph
5719 Commits
Author SHA1 Message Date
Ryan Watters b4cd9e6338 Finish up last of hosting-and-deployment transfer from old site 2017-02-20 00:48:36 -06:00
Ryan Watters 0a76c785b6 Add finished Quick Start 2017-02-20 00:10:41 -06:00
Ryan Watters 9acdc1bb4a Remove breaking relrefs in quickstart 2017-02-19 19:05:24 -06:00
Ryan Watters fb1911e071 Consolidate all install pages into single page 2017-02-19 18:57:53 -06:00
Ryan Watters d40ebc681f Add mac install guide 2017-02-19 17:40:32 -06:00
Ryan Watters 3483642a9b Remove wercker yml validation ref - 404 2017-02-19 16:54:03 -06:00
Ryan Watters 16513c9a62 Add wercker tutorial as example for reviewers 2017-02-19 16:45:08 -06:00
Bjørn Erik Pedersen 3d4e99ed50 config: Remove unused var 2017-02-19 20:08:36 +01:00
Abdó Roig-Maranges 02b120d1bd hugolib: Discard current language based on .Lang()
Otherwise we fail to skip the current language in translations
for paginated pages.

Fixes #2972
2017-02-19 15:00:18 +01:00
Bjørn Erik Pedersen 6809ea1e7c hugolib: Fix .Site.LastChange
This commit makes sure that the `.Site.LastChange` is fetched from the latest page modification date.

Previously, this value was fetched from the last page in the default page sort, which may not be the last by date
if weight is set.

Fixes #2909
Closes #2910
2017-02-19 13:48:21 +01:00
Bjørn Erik Pedersen a0b3d9db16 hugolib: Add temporary date parse test
To debug the irregular Windows test failure.

See #3059
2017-02-19 13:19:15 +01:00
Bjørn Erik Pedersen 2ea242d5fe hugolib: Minor Go vet fix 2017-02-19 10:33:28 +01:00
Anton Staaf 07e8588b0d hugolib: Fix regression of .Truncated evaluation in manual summaries
This fixes the behavior of .Truncated that was introduced with commit
bef496b97e which was later broken.  The
desired behavior is that .Truncated would evaluate to false when there
was nothing after the user defined summary marker.

This also adds a simple unit test to ensure that this feature isn't
broken again.  The check for content after the user defined summary
marker is done on the raw content instead of the working copy because
some of the markup renderers add elements after the marker, making it
difficult to determine if there is actually any content.

The behavior (evaluating to false when there is no content, just
summary) is also now documented.
2017-02-19 10:11:49 +01:00
Anton Staaf 99fbc75e7a hugolib: Fix regression of .Truncated evaluation in manual summaries
This fixes the behavior of .Truncated that was introduced with commit
bef496b97e which was later broken.  The
desired behavior is that .Truncated would evaluate to false when there
was nothing after the user defined summary marker.

This also adds a simple unit test to ensure that this feature isn't
broken again.  The check for content after the user defined summary
marker is done on the raw content instead of the working copy because
some of the markup renderers add elements after the marker, making it
difficult to determine if there is actually any content.

The behavior (evaluating to false when there is no content, just
summary) is also now documented.
2017-02-19 10:11:49 +01:00
Ryan Watters ec3c19975d Fix broken links in features page 2017-02-19 02:38:25 -06:00
Ryan Watters 2b06eb88c0 Fix odd syntax highlighting in cross references doc 2017-02-19 02:28:23 -06:00
Ryan Watters ce58bedeb8 Fix local files shortcode 2017-02-19 02:23:37 -06:00
Ryan Watters 1890155a0a Add shortcode from live site for readfile example in local files template 2017-02-19 02:17:46 -06:00
Ryan Watters b8fba275b3 Add shortcode from live site for readfile example in local files template 2017-02-19 02:15:42 -06:00
Bjørn Erik Pedersen 9416fdd334 hugolib: Add missing page kind to allKinds 2017-02-19 09:15:30 +01:00
Ryan Watters ed70c14a2b Add shortcode from live site for readfile example in local files template 2017-02-19 02:12:33 -06:00
Ryan Watters 4e159ed50c Fix featherlight to avoid icon images 2017-02-19 01:57:49 -06:00
Ryan Watters 3bedf1e23d Add featherlight for body copy images 2017-02-19 01:51:29 -06:00
John Feminella 6791d75c7d hugolib: Enhance .Param to permit arbitrarily nested parameter references
The Param method currently assumes that its argument is a single,
distinct, top-level key to look up in the Params map. This enhances the
Param method; it will now also attempt to see if the key can be
interpreted as a nested chain of keys to look up in Params.

Fixes #2598
2017-02-19 08:50:08 +01:00
John Feminella b2e3748a4e hugolib: Enhance .Param to permit arbitrarily nested parameter references
The Param method currently assumes that its argument is a single,
distinct, top-level key to look up in the Params map. This enhances the
Param method; it will now also attempt to see if the key can be
interpreted as a nested chain of keys to look up in Params.

Fixes #2598
2017-02-19 08:50:08 +01:00
Ryan Watters 44e00b623c Fix broken images originally used in how to contribute tutorial 2017-02-19 01:38:28 -06:00
Ryan Watters e028978d8c Update broken links 2017-02-19 01:32:39 -06:00
Ryan Watters 55aae645d6 Fix shortcode language in local file templates that was breaking Netlify build 2017-02-19 01:26:47 -06:00
Ryan Watters 2cb5ad8edd Update shortcode and shortcode templates, both of which need much more work 2017-02-19 01:21:23 -06:00
Ryan Watters 56ecb233b5 Add just a shit ton of content 2017-02-19 00:57:13 -06:00
Ryan Watters 949bbd030f Update functions front matter 2017-02-18 18:02:18 -06:00
Bjørn Erik Pedersen 6d2281c8ea hugolib: Add disableKinds option
Fixes #2534
2017-02-18 22:53:23 +01:00
Bjørn Erik Pedersen e096917f87 appveyor: Add go version 2017-02-18 22:15:25 +01:00
Bjørn Erik Pedersen 13ca0b4c95 appveyor: Fix build, take 2 2017-02-18 22:08:10 +01:00
Bjørn Erik Pedersen 3dade5de09 appveyor: Fix build 2017-02-18 22:07:17 +01:00
Bjørn Erik Pedersen b360f9b30e appveyor: Print Go environment 2017-02-18 21:56:03 +01:00
Ryan Watters be1bb5fcf5 Make further improvements to Go Template Primer 2017-02-18 02:16:50 -06:00
Bjørn Erik Pedersen bdc02edfa8 tplimpl: Fix issue with recursive templates
Fixes #2927
2017-02-18 09:08:40 +01:00
Ryan Watters e24c1af277 Make further improvements to Go Template Primer 2017-02-18 02:04:36 -06:00
Bjørn Erik Pedersen 4493e8ed9f hugolib: Fix issue with taxonomies when only some have content page
Fixes #2992
2017-02-18 08:37:11 +01:00
Ryan Watters 960707a4a0 Update amber and ace sections 2017-02-18 01:12:57 -06:00
Bjørn Erik Pedersen 07ab7ae3d2 hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
Ryan Watters fa1e478041 Update archetypes content 2017-02-17 20:43:00 -06:00
Ryan Watters 82c02b8414 Update content sections admonition 2017-02-17 20:33:06 -06:00
Ryan Watters bec195d1ac Fix page title issues with functions section 2017-02-17 20:23:49 -06:00
Ryan Watters a1ca69b9d6 Fix broken tox on markdown and support pages page 2017-02-17 20:14:22 -06:00
Ryan Watters bd3b1b5365 Make further fixes to shortcodes 2017-02-17 20:10:26 -06:00
Ryan Watters e9c7e0549a Fix order of built in shortcodes 2017-02-17 19:59:28 -06:00
Ryan Watters 605508d43d Fix content footer next and prev links 2017-02-17 19:36:24 -06:00
Ryan Watters ce3eb287df Fix toc sidebar, add icons to site nav, and add prev/next links 2017-02-17 19:08:50 -06:00