Commit Graph

327 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen 70458ccf28 Formatting 2018-12-24 10:01:47 +01:00
Bjørn Erik Pedersen 06a5c11fc8 Release 0.53 2018-12-24 09:56:02 +01:00
hugoreleaser 29b223f781 releaser: Add release notes to /docs for release of 0.53
[ci skip]
2018-12-24 08:24:42 +00:00
Bjørn Erik Pedersen ec16b611e8 docs: Adjust CSV example
See #5555
2018-12-23 21:12:41 +01:00
Bjørn Erik Pedersen cecf97dfc6 Rename CSV option from comma to delimiter
See #5555
2018-12-23 21:09:09 +01:00
Bjørn Erik Pedersen 18d06df582 docs: Document transform.Unmarshal
Fixes #5556
2018-12-23 19:43:17 +01:00
Bjørn Erik Pedersen fdace78b57 docs: Regenerate CLI docs
Fixes #5544
2018-12-23 19:05:40 +01:00
Bjørn Erik Pedersen b8f84ac594 hugolib: Add .Name as a shortcode variable
Fixes #5546
2018-12-21 09:51:15 +01:00
Bjørn Erik Pedersen 6612dd1b82 Merge commit '5a83bf314f4c0ce1d61341e0a1df21c9998e8154' 2018-12-21 09:45:41 +01:00
Harry Weppner bd91d1cfdd Fix typo 2018-12-18 09:53:33 +01:00
Kaushal Modi 0d45ea9cf9 Fix order of arguments in another strings.TrimLeft example 2018-12-13 17:14:03 -05:00
Kaushal Modi 0982f65c15 Fix the order of arguments to strings.TrimRight 2018-12-13 17:12:36 -05:00
Jan Ulrich Hasecke f1f9b7cd63 Arguments in example 2018-12-13 17:01:18 -05:00
Benjamin Petersen 5d9c7327fd Fix shortcode example escape chars 2018-12-13 16:16:11 -05:00
Bjørn Erik Pedersen 9b211089fc docs: Regenerate CLI docs
Fixes #5507
2018-12-12 09:09:45 +01:00
Bjørn Erik Pedersen 9af46af3c7 Merge commit 'eb16165694f868d73e57b6aed5c26ba5e98229de' 2018-12-12 09:06:42 +01:00
Benjamin Petersen d1cf9adc41 Fix typo
See #684
2018-12-11 20:47:51 +01:00
Kaushal Modi 26e10a6903 Fix the name and arg mismatch between partial defn and call 2018-12-09 10:51:52 -05:00
Cameron Moore 12f46f356e tpl: Add reflect namespace
Add a reflect namespace that offers a two boolean functions for
testing if a value is a map or slice.

Fixes #4081
2018-12-07 23:29:37 +01:00
Bjørn Erik Pedersen 4b021eff81 Update lang.Merge.md 2018-12-07 16:40:48 +01:00
peaceiris b37af2916e Add title to yaml
Fixes #677
2018-12-02 16:46:01 +01:00
peaceiris a9a281233c Fixed incorrect usage of the code-toggle shortcode 2018-12-01 10:45:16 +01:00
Alexandros 4560a0169a Update Warning for Theme Links (#676)
The advice in this page is actually the opposite. Relative URLs output the wrong URL for theme assets on the Hugo website.

See relevant advice in the repository's [README](https://github.com/gohugoio/hugoThemes#common-permalink-issues)

I hadn't noticed this page (if I had noticed I would have sent a PR earlier because the advice offered here is plain wrong).

The reason I am merging this PR right away is due to [this](https://github.com/gohugoio/hugoThemes/issues/504#issuecomment-443253163) comment by a confused theme author. 

If you feel that this could be improved feel free to reword and amend as you see fit but the bottom line is that for themes that are going to be published on Hugo Themes authors should create absolute paths in their templates.

cc: @bep @digitalcraftsman @kaushalmodi
2018-11-30 23:04:21 +02:00
Bjørn Erik Pedersen 0305e3c6b7 Document .File.ContentBaseName 2018-11-29 21:14:50 +01:00
Bjørn Erik Pedersen 6d30c5aa1f Update configuration.md 2018-11-29 11:43:21 +01:00
Bjørn Erik Pedersen 158df174ad Document .Sites and .Sites.First
Fixes #657
2018-11-29 10:21:52 +01:00
Cameron Moore e2531afd8b Document path template functions
Fixes #452
2018-11-29 09:58:57 +01:00
Cameron Moore 4dd779057c Clarify that partialCached is per site/language
Fixes #665
2018-11-29 09:58:31 +01:00
Bjørn Erik Pedersen 19e5bbe0cb Update index.md 2018-11-28 16:46:46 +01:00
Bjørn Erik Pedersen 44b000857d Add missing dot 2018-11-28 16:33:56 +01:00
Bjørn Erik Pedersen a41300cf93 Release 0.52 2018-11-28 16:32:46 +01:00
Bjørn Erik Pedersen 2d1d92b88c Merge branch 'temp52' 2018-11-28 16:25:09 +01:00
hugoreleaser d000b04a21 releaser: Add release notes to /docs for release of 0.52
[ci skip]
2018-11-28 14:06:31 +00:00
Bjørn Erik Pedersen 36736ca280 tpl: Add "param" shortcode
Fixes #4010
2018-11-27 17:34:03 +01:00
Allison Zadrozny 378677aa65 Add Elasticsearch/bonsai.io to services doc.
Copy of this merged PR at [gohugoio/hugo](https://github.com/gohugoio/hugo/): [Add Elasticsearch/bonsai.io to services doc. #5427](https://github.com/gohugoio/hugo/pull/5427).
2018-11-27 16:54:21 +01:00
Bjørn Erik Pedersen 4c3fd4fa4d docs: Document inline shortcodes
See #4011
2018-11-27 16:14:09 +01:00
Bud Parr fd77e8df35 Update asset dependencies and adopt Hugo Pipes
* Swap src for assets directory

Assets directory is the default for Hugo Pipes

* Use "Typefaces" package

This method is cleaner because we can pull in our fonts with a require statement https://github.com/KyleAMathews/typefaces

* Use Hugo Pipes method of calling resources

* Update dependencies

* [wip]  Revamp Webpack

* Tweak Webpack for Tachyons

* Use simple build scripts

* Update dependencies

* Fix content that referenced files that don't exist

* Add all scripts

* Improve styles/js preload and cache

* Add to whitelist

* Add fonts to headers for preload

* Move preloads to header file

* Update styles

* Improve manifest usage

The manifest partial was in the site but not included in head

* Update readme

* Remove extra check on asset resources

* Call assets directly in header file
2018-11-25 17:08:43 +01:00
Bjørn Erik Pedersen cdbe97e8c3 Update render.md 2018-11-22 15:52:40 +01:00
Daniel Saunders b0e2792205 git command to update submodule to latest
This is how I update my themes. It took a while to find the commands that work, so I think it would be good to have them here for other users.
2018-11-16 09:56:09 +01:00
Bjørn Erik Pedersen a1cb98c129 cache/filecache: Add a :project placeholder
This allows for "cache per Hugo project", making `hugo --gc` work as expected, even if you have several Hugo projects running on the same PC.

See #5439
2018-11-14 23:14:51 +01:00
Bjørn Erik Pedersen 07c1b2b46f cache/filecache: Use time.Duration for maxAge
Fixes #5438
2018-11-14 23:14:50 +01:00
Bjørn Erik Pedersen ffa9b165ef Add AND as a title 2018-11-14 15:51:06 +01:00
Bjørn Erik Pedersen 6e7733b408 Add OR as a sub title to make it easier to find in search 2018-11-14 15:48:40 +01:00
Bjørn Erik Pedersen 72b6791a16 docs: Document the new file cache
See #5404
2018-11-13 14:29:45 +01:00
Bjørn Erik Pedersen cd1e961dad Revert "Add Elasticsearch/bonsai.io to services doc."
This reverts commit c0b3a1af03.
2018-11-09 23:12:27 +01:00
Allison Zadrozny 15a0cda6ed Add Elasticsearch/bonsai.io to services doc.
Hip hip for OSS! 🙌
2018-11-09 22:56:38 +01:00
Bjørn Erik Pedersen f931d86de1 Release 0.51 2018-11-07 12:16:58 +01:00
Bjørn Erik Pedersen e2ffe867a7 Merge branch 'temp51' 2018-11-07 12:10:42 +01:00
hugoreleaser c6f2d6ae15 releaser: Add release notes to /docs for release of 0.51
[ci skip]
2018-11-07 10:09:43 +00:00
Bjørn Erik Pedersen 3b2b172b98 docs: Document shortcode error handling
Closes https://github.com/gohugoio/hugoDocs/issues/660
2018-11-07 10:38:58 +01:00