6980 Commits

Author SHA1 Message Date
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
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
Bjørn Erik Pedersen
2db0e53cd0
Merge commit '9c36cff15224f6cbd19058ad61311229b7a23c83' 2018-12-07 21:27:36 +01:00
Bjørn Erik Pedersen
9c36cff152 Squashed 'themes/gohugoioTheme/' changes from 68ddff44..b8202f53
b8202f53 Use 'w' units instead of 'x' for responsive images in showcase

git-subtree-dir: themes/gohugoioTheme
git-subtree-split: b8202f539d57b5e8e2c740cfde3d5f5e5f66e3b6
2018-12-07 21:27:35 +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
Bjørn Erik Pedersen
0c0f583b8d
Add stale config 2018-11-29 10:04:18 +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 v0.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
c5925250d5 releaser: Prepare repository for 0.53-DEV
[ci skip]
2018-11-28 14:08:36 +00:00
hugoreleaser
d000b04a21 releaser: Add release notes to /docs for release of 0.52
[ci skip]
2018-11-28 14:06:31 +00:00
hugoreleaser
4bb983a0ac releaser: Bump versions 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
budparr
6c64c374c5 Whitelist CSS modules from purge
PurgeCSS removes unused CSS from the output. This PR only uses PurgeCSS on the base utility classes to avoid unexpected issues where JS or content-based classes get removed.
2018-11-25 20:14:32 +01:00
budparr
817a872b9b Improve search icon position 2018-11-25 20:14:32 +01:00
budparr
cf86ff1c7b Add minification and resource cache clear to build command 2018-11-25 20:14:32 +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
Bud Parr
714d3ca91c Fix minification issues
* Move Gopher SVG from partial to image

In minification, Gopher gets wonked. This may also help build times with minification.

fixes #604

* Add margin around external link icon

In minification the links got pushed up against the nav item.

ref #604

* Move Hugo logo in footer/hero to image from partial

This may help with build-time when using minification.

* Move gopher image from site to theme static folder

I put this in the wrong directory in commit: 0e2f2f8f33588f826f26c3b3a581f1014a3d41ac

* Add alt tag copy to Gopher image
2018-11-12 15:29:05 +01:00
Bjørn Erik Pedersen
cd1e961dad Revert "Add Elasticsearch/bonsai.io to services doc."
This reverts commit c0b3a1af0354e3aa9979cc00ae8630d7f0be63dc.
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 v0.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
423e7f5c85 releaser: Prepare repository for 0.52-DEV
[ci skip]
2018-11-07 10:11:48 +00:00
hugoreleaser
c6f2d6ae15 releaser: Add release notes to /docs for release of 0.51
[ci skip]
2018-11-07 10:09:43 +00:00
hugoreleaser
5bbb556dc3 releaser: Bump versions 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
Bjørn Erik Pedersen
b8672f3d45 docs: Document symdiff
Closes https://github.com/gohugoio/hugoDocs/issues/659
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
4bc6071e61 docs: Document complement
Closes https://github.com/gohugoio/hugoDocs/issues/658
2018-11-07 10:38:58 +01:00
Bjørn Erik Pedersen
d1baab7529 docs: Re-generate CLI docs 2018-11-05 14:18:45 +01:00