Commit Graph

9059 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen a623ccfd10 Update quick-start.md
Fixes #862
2019-10-30 20:37:24 +01:00
Salim B de36e6f8f0 Clarify that print takes 1+ arguments
This was really not clear from the doc before.
2019-10-29 17:36:51 +01:00
flynnduism de439ab84e correct the themes url www.themes.gohugo.io > themes.gohugo.io
Signed-off-by: flynnduism <flynnduism@gmail.com>
2019-10-25 21:59:13 +02:00
Liam OBrien 806102d10d Remove homepage Tweet (Account no longer exists)
@carriecoxwell does not exist. Flagged in #953
2019-10-25 21:45:05 +02:00
Stefano Chiodino fc4c885137 Add extended version choco instructions (#703)
Specify how to install the extended version using chocolatey
2019-10-22 21:16:40 +07:00
Christian Oliff 1b1e8b33c2 Fix environment typo (#950)
> environvent

should be:

> environment
2019-10-22 21:15:02 +07:00
Christian Oliff 76932cb49a HTTPS relevant search link URLs (#951)
potentially safer and faster
2019-10-22 21:11:30 +07:00
Bjørn Erik Pedersen 2ef6bdfa42 Update theme 2019-10-21 18:27:39 +02:00
Christian Oliff 336a6468af Fix consecutive typo (#949) 2019-10-21 17:59:10 +07:00
Christian Oliff f44183ddb5 Fix corresponding typo (#948) 2019-10-21 17:57:45 +07:00
Bjørn Erik Pedersen 995bf00482 Update index.md 2019-10-21 12:16:28 +02:00
Bjørn Erik Pedersen e99758f799 Release 0.59.0 2019-10-21 12:12:28 +02:00
hugoreleaser 36517d1985 releaser: Add release notes to /docs for release of 0.59.0
[ci skip]
2019-10-21 09:38:50 +00:00
Bjørn Erik Pedersen 3acb75f89f Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e' 2019-10-21 10:52:23 +02:00
Bjørn Erik Pedersen 723da4a376 Vendor the theme
To make the /docs in the source project standalone.
2019-10-21 10:51:03 +02:00
Bjørn Erik Pedersen 8b3cb611ae Merge commit '5070ba6c9e6c492deade3c30cfe769b9dbf7151d' 2019-10-21 10:49:16 +02:00
Bjørn Erik Pedersen 0584815c8a Add a page about Pages methods (Next, Prev) 2019-10-21 10:47:03 +02:00
Bjørn Erik Pedersen 653dc8db55 Add note about default bgColor 2019-10-21 10:27:14 +02:00
Bjørn Erik Pedersen fd01278414 Merge commit 'b9bd35d72e14932fb6588ff62b90cddef0a060fc' as 'docs' 2019-10-21 10:22:28 +02:00
Bjørn Erik Pedersen 39121de4d9 docs: Replace /docs 2019-10-21 10:21:51 +02:00
Bjørn Erik Pedersen fdea5430f8 Merge branch 'temp59_' into next 2019-10-21 10:18:56 +02:00
Bjørn Erik Pedersen 180195aa34 cache/filecache: Recover from file corruption
Fixes #6401
2019-10-21 09:51:51 +02:00
Bjørn Erik Pedersen b2665ca27f resources/images: Allow to set background fill colour
Closes #6298
2019-10-20 22:06:58 +02:00
Bjørn Erik Pedersen 4b286b9d27 resources/images: Allow to set background fill colour
Closes #6298
2019-10-20 22:06:58 +02:00
Matt Cone 917226f98f fix typo in /getting-started/configuration/ 2019-10-20 10:36:47 +02:00
Darshan Baral 2e3db7c18c Added note about path separator
Having gone through https://discourse.gohugo.io/t/different-behavior-locally-vs-on-netlify/19266/5, I figured I'd add a note.
2019-10-18 08:55:01 +02:00
Conor Lawless d667eefc61 Removing unnecessary javascript
This block of javascript currently seems to break MathJax rendering (at least on my site, rendered and viewed under Chrome browser).  Just remove?

https://stackoverflow.com/questions/56648378/rendering-latex-on-hugo-websites-with-mathjax
2019-10-16 18:14:52 +02:00
Nicolas Martignoni 689f647baf media: Add common video media types
- See https://discourse.gohugo.io/t/resources-bytype-for-video-files/21285
2019-10-16 17:16:14 +02:00
Nicholas Whittaker 96a86531a8 Add syntax highlighting variables to list of all settings
The list of all configuration variables was missing some (newer?)
variables relating to syntax highlighting.

Some instances of `pygmentsCodeFences` used different captilisation,
and have been updated to match.
2019-10-16 08:54:03 +02:00
Bjørn Erik Pedersen 556179197f Update theme 2019-10-14 17:00:30 +02:00
Bjørn Erik Pedersen a20ced7f15 Update image cache 2019-10-14 16:50:55 +02:00
Bjørn Erik Pedersen 46cafdbaca examples: Replace .RSSLink
Fixes #6037
2019-10-14 09:30:09 +02:00
Bjørn Erik Pedersen 653e6856ea resources/page: Use binary search in Pages.Prev/Next if possible
This is obviously much faster for lager data sets:

```bash
name                         old time/op    new time/op    delta
SearchPage/ByWeight-100-4       267ns ± 4%     272ns ± 5%     ~     (p=0.457 n=4+4)
SearchPage/ByWeight-5000-4     10.8µs ± 3%     1.2µs ± 2%  -88.99%  (p=0.029 n=4+4)
SearchPage/ByWeight-10000-4    21.1µs ± 1%     1.4µs ±11%  -93.28%  (p=0.029 n=4+4)
```

See #4500
2019-10-13 12:36:17 +02:00
Bjørn Erik Pedersen f4f566edf4 Make Pages.Prev/Next work like the other Prev/Next methods
Fixes #4500
2019-10-13 12:36:17 +02:00
Bjørn Erik Pedersen 565c774fa4 Improve Next/Prev 2019-10-13 11:57:34 +02:00
Bjørn Erik Pedersen 2a2a4e8568 Update bio.md 2019-10-12 23:38:58 +02:00
Bjørn Erik Pedersen 55b3435204 Fix redirect loop 2019-10-12 23:09:11 +02:00
Cyril Bonnet 210c128f54 feat: Add Hapticmedia Blog to showcase 2019-10-12 23:05:36 +02:00
Zach Bayoff ea316f4b28 tpl: Add optional "title" attribute to iframe in Vimeo shortcode
Add an optional "title" attribute to the iframe in the vimeo shortcode. If one is not given, the title attribute will default to "vimeo video". It is imperative for iframes to have a non-empty "title" attribute in order to meet WCAG2.0 accessibility guidelines https://www.w3.org/TR/WCAG20-TECHS/H64.
2019-10-12 18:10:14 +02:00
Zach Bayoff 7b3edc2931 tpl: Add optional "title" attribute to iframe in Vimeo shortcode
Add an optional "title" attribute to the iframe in the vimeo shortcode. If one is not given, the title attribute will default to "vimeo video". It is imperative for iframes to have a non-empty "title" attribute in order to meet WCAG2.0 accessibility guidelines https://www.w3.org/TR/WCAG20-TECHS/H64.
2019-10-12 18:10:14 +02:00
Baibhav Vatsa 65b7d4221b tpl: Modify error messages of after, first, and last
Modified the messages functions after, first, and last threw on being passed invalid parameters (index or limit) to be more standardised and resemble what Go compiler would throw.

Fixes #6415
2019-10-12 18:07:46 +02:00
Baibhav Vatsa 0e75af74db tpl: Last now accepts 0 as limit
Modified the if conditional because of which last threw an error if 0 was passed as limit. The function now returns an empty slice if it is called with 0 as limit. The behavior of first and last is now the same when 0 is passed as limit. Also added tests to test the new behavior.

Fixes #6419
2019-10-11 20:34:51 +02:00
Bjørn Erik Pedersen 5f1aafafb4 Update feature_request.md 2019-10-11 16:43:00 +02:00
Liam OBrien 5d5031a901 Correct link syntax for JAMStack Themes link (#939)
See both #937 and #938 for original link.
2019-10-11 21:14:40 +07:00
Vazrupe (HyeonGyu Lee) a9762b5c48 common: Fix elements are doubling when append a not assignable type
Fixes #6188
2019-10-11 10:38:12 +02:00
Baibhav Vatsa 096a4b67b9 tpl: After now accepts 0 as index
Modified the if conditional because of which after threw an error if called with 0 as index. The function now returns the whole original slice if 0 is passed as an index. Also added tests to test the new behavior.

Fixes #6388
2019-10-11 08:35:27 +02:00
Brian Rinaldi 01527b1c58 Adding JAMStack themes to resources (#938)
linking specifically to the Hugo filtered list
2019-10-11 12:37:59 +07:00
Bjørn Erik Pedersen bc70f2bf12 helpers: Fix data race in global logger init
Fixes #6409
2019-10-10 16:07:53 +02:00
Bjørn Erik Pedersen 0d7b05be4c tpl: Make getJSON/getCVS accept non-string args
This broke for the Twitter simple shortcode now that Shortcodes accepts typed arguments.

Fixes #6382
2019-10-10 13:30:39 +02:00
Bjørn Erik Pedersen 71b18a0786 Update to Go 1.12.10 and 1.13.1
Fixes #6406
2019-10-10 09:50:44 +02:00