Commit Graph
10137 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen 4a2a8afff2 commands: Fix doLiveReload logic
Fixes #5754
2019-03-14 21:39:00 +01:00
Bjørn Erik Pedersen 79d517d86c deps: Update Viper 2019-03-13 10:42:43 +01:00
Moritz »mo.« Sauer 1dba24fde6 Clarify: summaryLength uses words not characters 2019-03-13 10:16:14 +01:00
Rodolfo Carvalho 8c54f45d6e Add missing punctuation 2019-03-12 21:31:12 +01:00
hfte d170004817 Remove Hugo Frontend caddy-plugin
StaticGen will be removed in version 2.0 of the caddy filebrowser plugin.
https://github.com/filebrowser/filebrowser/pull/575
2019-03-12 15:55:29 -04:00
Bjørn Erik Pedersen 34c49d788c hugolib: Adjust site benchmark
Having all the pages with shortcodes isn't realistic.
2019-03-12 20:27:50 +01:00
Christian Oliff a7094ae620 remove unneeded meta tags
```
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
```
I realise that these meta tags aren't doing any harm - but they are not needed at all and take up a few bytes of the page loading.

- The `HandheldFriendly` meta tag was used for a very old version of BlackBerry.
REF: https://developer.blackberry.com/playbook/html5/documentation/handheldfriendly.html

- The `MobileOptimized` meta tag was used for a very old version of Windows Mobile 5 / 6 (before even Windows Phone 7, 8 and Windows Mobile 10!).
2019-03-11 10:45:18 -04:00
Devin Schulz f8b0f31c6d Fix typo in cross references
logg -> log
2019-03-11 15:33:03 +01:00
peaceiris 61781bab93 Fix: use gh shortcode correctly 2019-03-11 15:32:47 +01:00
Bjørn Erik Pedersen 357bfca431 Update files.md
Closes https://github.com/gohugoio/hugo/issues/5741
2019-03-07 22:28:17 +01:00
Gitiot d1d2406cc6 Updated Hugo convert to clarify for and not ..
.. for configuration files.
2019-03-07 07:51:54 -05:00
Rodolfo Carvalho 86850f3c33 Fix typos in multilingual.md 2019-03-07 12:59:44 +01:00
Bjørn Erik Pedersen b9e75afd6c Update to Go 1.12
Fixes #5716
2019-03-07 10:26:26 +01:00
Salim B b68d0d892f Fix typo 2019-03-07 08:45:15 +01:00
Bjørn Erik Pedersen dfc72d61a5 Remove Gitter dev chat link
Almost every question we get there belong on https://discourse.gohugo.io/
2019-03-07 00:37:50 +01:00
Bjørn Erik Pedersen 02eaddc2fb tpl/tplimpl: Fix template truth logic
Before this commit, due to a bug in Go's `text/template` package, this would print different output for typed nil interface values:

```
{{ if .AuthenticatedUser }}User is authenticated!{{ else }}{{ end }}
{{ if not .AuthenticatedUser }}{{ else }}}User is authenticated!{{ end }}
```

This commit works around this by wrapping every `if` and `with` with a custom `getif` template func with truth logic that matches `not`, `and` and `or`.

Those 3 template funcs from Go's stdlib are now pulled into Hugo's source tree and adjusted to support custom zero values, e.g. types that implement `IsZero`.

This means that you can now do:

```
{{ with .Date }}{{ . }}{{ end }}
```

And it would work as expected.

Fixes #5738
2019-03-06 22:52:38 +01:00
grahamjamesaddis bdf47e8da8 Update Travis config to work for forked builds 2019-03-05 14:26:49 +01:00
arrtchiu 371ff6c12b Add skipHTML option to blackfriday config 2019-03-04 11:27:18 +01:00
arrtchiu 75904332f3 Add skipHTML option to blackfriday config 2019-03-04 11:27:18 +01:00
Elliott Sales de Andrade 60c0eb4e89 Update stretchr/testify to 1.3.0. 2019-03-02 10:24:21 +01:00
Bjørn Erik Pedersen 8cba70e28c Document disableAliases
Closes https://github.com/gohugoio/hugo/issues/5722
2019-02-28 14:30:18 +01:00
Berin Larson c154c2f7b2 Rewrite relative action URLS
Fixes #5701
2019-02-26 11:31:34 +01:00
Anthony Metzidis 075b17ee1d Support Docker args TAGS, WORKDIR, CGO; speed up repetitive builds 2019-02-22 11:53:17 -08:00
Shohei Ueda 00e4402605 Remove extra whitespace 2019-02-20 15:07:08 +01:00
Bjørn Erik Pedersen b4148cd1d9 hugolib: Adjust test for Go 1.12 2019-02-19 21:47:38 +01:00
Alexandros 212d63e4cc Update with latest Theme Submission Guidelines (#744)
Closes #743 

- Added note that the content directory of an ExampleSite is now inherited from the HugoBasicExample for security reasons.
- Removed placeholder text for example README outline since there is no such outline.
- Instead I updated some of the points of what should be included in a README

cc: @digitalcraftsman
2019-02-17 11:01:16 +01:00
Juliano Appel Klein c24ea638ff Update frontends.md
Changing Hokus URL.
2019-02-15 20:19:09 +01:00
Bjørn Erik Pedersen 942bc19721 Add one more video 2019-02-13 13:14:11 +01:00
Bjørn Erik Pedersen 2e1e1091dd Update the rest of the videos
Closes #735
2019-02-13 12:45:23 +01:00
Bjørn Erik Pedersen a7dc70f2bd Add new installation video 2019-02-13 12:38:02 +01:00
Nikhil Swaminathan 1a78f84876 Hosting on AWS amplify 2019-02-07 19:00:56 +01:00
Anton Harniakou 908692fae5 Support nested keys/fields with missing values with the where function
Before this commit `where` would produce an error and bail building the
site. Now, `where` simply skips an element of a collection and does not
add it to the final result.

Closes #5637
Closes #5416
2019-02-06 19:53:34 +01:00
David Haberthür 112420c467 Fix typo
https://github.com/gohugoio/hugo/pull/5677, second try...
2019-02-04 22:19:19 +01:00
Bjørn Erik Pedersen 7e4b18c5ae commands: Update debouncer version 2019-02-02 14:05:28 +01:00
Jeff Delaney f723425e43 Add fireship.io bio to showcase 2019-02-02 10:10:00 +01:00
Iskander (Alex) Sharipov 483cf19d5d common/herrors: Fix args order in strings.TrimPrefix
Old code always returned "." or "" (if filepath.Ext(filename) returned ".").
Now it properly trims the prefix.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-02-02 09:55:31 +01:00
Iskander (Alex) Sharipov 7201042946 tpl: Fix strings.HasPrefix args order 2019-02-02 01:26:05 +01:00
Alexander Borsuk 574f43503c Fixed typo 2019-02-01 19:56:26 +01:00
Bjørn Erik Pedersen 88e0e0cb7d Release 0.54.0 2019-02-01 11:41:31 +01:00
Bjørn Erik Pedersen 303edf19e3 Merge branch 'temp54' 2019-02-01 11:32:57 +01:00
hugoreleaser c38debebd8 releaser: Prepare repository for 0.55.0-DEV
[ci skip]
2019-02-01 09:42:55 +00:00
hugoreleaser 5383fe458c releaser: Prepare repository for 0.55.0-DEV
[ci skip]
2019-02-01 09:42:55 +00:00
hugoreleaser 5c6c56fa1e releaser: Add release notes to /docs for release of 0.54.0
[ci skip]
2019-02-01 09:40:32 +00:00
hugoreleaser b1a82c61ab releaser: Add release notes to /docs for release of 0.54.0
[ci skip]
2019-02-01 09:40:32 +00:00
hugoreleaser f86e059506 releaser: Bump versions for release of 0.54.0
[ci skip]
2019-02-01 09:40:32 +00:00
hugoreleaser 6fe6b9c17f releaser: Bump versions for release of 0.54.0
[ci skip]
2019-02-01 09:40:32 +00:00
Bjørn Erik Pedersen 52cec0fb2d Release 0.54.0 2019-02-01 10:34:37 +01:00
hugoreleaser 23e52ea4c8 releaser: Add release notes draft for 0.54.0
Rename to *-ready.md to continue. [ci skip]
2019-02-01 09:31:43 +00:00
Bjørn Erik Pedersen 9b619dc023 releaser: Adjust patch logic
See #5639
2019-02-01 10:09:14 +01:00
Bjørn Erik Pedersen 6a2684fe4f Add the default cache configuration
So we can use it for testing.
2019-02-01 09:56:34 +01:00