Commit Graph
9524 Commits
Author SHA1 Message Date
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
狂飙 dbfd3333bb Fix typo in # anchor links (#936)
Remove all trailing `/` slash in `#` anchor links.
Find `(\[.*\]:.*#.*)/$` and replace with `$1` to do the work.
2019-10-09 20:33:30 +07:00
Bjørn Erik Pedersen 339ee37143 Simplify test output to simplify diffing 2019-10-09 10:49:52 +02:00
Bjørn Erik Pedersen f10db101a1 hugofs: Add FileMeta.String
To make the page listing easier to compare.
2019-10-09 10:30:09 +02:00
Anthony Fok b401858ebd deps: Update minify to v2.5.2
- v2.5.1 removes import comments, solving a build error with Go 1.13
  in GOPATH mode (used Debian packaging for example)
- v2.5.2 no longer converts polyline/rect/polygon/line to path
  as it has been reported to break a SVG referenced by CSS,
  see tdewolff/minify#260

The test case for Min SVG in TestResourceChains is updated accordingly.

Fixes pocc/tshark.dev#33
2019-10-09 09:01:08 +02:00
Joshua Schwartz a3e1b0ae48 Fix typo in _index.md (#935)
There was a stray apostrophe in the possessive "its".
2019-10-08 16:20:15 +07:00
Anthony Fok 39ed33fceb resources: Fix image test error on s390x, ppc64* and arm64
In TestImageOperationsGolden, tolerate slight floating-point rounding
differences due to the use or non-use of "fused multiply and add" (FMA)
instruction on different architectures.

Special thanks to @disintegration for the solution in goldenEqual();
see https://github.com/disintegration/gift/issues/20

Fixes #6387
2019-10-07 21:52:43 +02:00
Niklas Fasching 020a6fbd7f Add BaseFs to RenderingContext
The org mode renderer supports including other files [1]. We don't want to
allow reading of arbitrary files (go-org defaults to ioutil.ReadFile [2]) but want
to make use of the FileSystem abstractions hugo provides. For starters we will
allow reading from the content directory only

[1]: e.g. `#+INCLUDE: ./foo.py src python` includes `foo.py` as a python source
block.
2019-10-07 17:30:15 +02:00
Niklas Fasching b152216d5c deps: Update go-org
- add support for latex fragments
- allow customization of ReadFile method for includes (#+INCLUDE: ...)
2019-10-07 17:30:15 +02:00
Bjørn Erik Pedersen 64ec8c8904 media: Use + to create the Type string 2019-10-06 22:20:58 +02:00
Brian MacKinney 231b2f094e Update types.md. closes #897 2019-10-06 19:40:53 +02:00
Clemens Tolboom 16470a1749 Make link to git install more logically. (#699)
I was wondering what kind of tool `Git installed` was.
2019-10-06 19:16:13 +07:00
XhmikosR 44d4a8508d Update index.md (#894)
Fix indentation
2019-10-06 19:07:12 +07:00
Andrew Schleifer 2af9f3598f Give some uses for languageCode (#772)
The current description is entirely circular.
2019-10-06 19:03:17 +07:00
Liam OBrien 65f8898133 Site source link broken in Cocoon & Cosy showcase (#925)
The link https://github.com/divinerites/cocoon is broken. Removed "siteSource" from the front matter. Corrected two small typos.
2019-10-06 18:57:13 +07:00
Jamie Tanna 8c6e4a071e deps: Upgrade to latest version of emoji dependency
To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.

Note that we also need to update our tests, as the underlying emoji that
is rendered has changed.

Follow-up to #6391. (170f18d935 and
2df5d202c6)
2019-10-05 22:58:53 +02:00
Jamie Tanna c466b88c99 deps: Upgrade to latest version of emoji dependency
To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.

Note that we also need to update our tests, as the underlying emoji that
is rendered has changed.

Follow-up to #6391. (170f18d935 and
2df5d202c6)
2019-10-05 22:58:53 +02:00
Bjørn Erik Pedersen 2df5d202c6 Revert "deps: Upgrade to latest version of emoji dependency"
This reverts commit 170f18d935.
2019-10-05 19:25:25 +02:00
Jamie Tanna 170f18d935 deps: Upgrade to latest version of emoji dependency
To add support for new emojis in Hugo, we need to upgrade our internal
dependency on the emoji package.
2019-10-05 18:47:35 +02:00
Brian MacKinney 540c59ce7d Clarify config directory structure 2019-10-05 11:21:08 +02:00
Bjørn Erik Pedersen 15a0364d39 readme: Update Architectures 2019-10-04 20:55:10 +02:00
Tom Doe 15a2eaab5e Update isset.md (#900)
Added a sentence to the warning in regards to accessing front matter keys from within shortcodes.
2019-10-05 00:32:18 +07:00
Ricky de Laveaga 99e3ada464 Typo in quick-start.md commend => command (#899)
* Typo in quick-start.md commend => command
* add missing the
2019-10-05 00:30:38 +07:00
Amal Jose 82481167d0 Update README.md (#930)
Added a PR badge which points to contribution guide
2019-10-04 22:50:18 +07:00
Seshal Jain 1a6a29c221 Correct typo in configuration.md (#927) 2019-10-04 19:26:08 +07:00
Brian Hogan 673f90045f Fix typo
Intro had a couple extra words.
2019-10-03 19:09:42 +02:00
Brian Hogan 08da9387f8 Fleshed out explanations in rsync deployment
Added some additional explanations and split up a couple command blocks to make things more clear to people less experienced with this kind of deployment.
2019-10-03 19:08:16 +02:00
Garret Kelly 674e81ae87 deploy: Add ability to invalidate Google Cloud CDN 2019-10-03 16:53:45 +02:00
Anthony Fok 298092d516 resources: Ensure same dirinfos sort order in TestImageOperationsGolden
Fix filename mismatch errors on Debian auto-building machines
possibly due to different directory order on ext4 vs tmpfs file systems.
2019-10-03 16:48:22 +02:00
Bjørn Erik Pedersen 15f2ab26c2 Update themes.md 2019-10-02 12:18:31 +02:00
Bjørn Erik Pedersen fbbbc3d2ba Remove the "New in 0.32" page
It should be well covered elsewhere.
2019-10-02 10:45:30 +02:00
Bjørn Erik Pedersen 019ae38483 Update bug_report.md 2019-09-30 20:09:49 +02:00
Bjørn Erik Pedersen 329e88db1f Support typed bool, int and float in shortcode params
This means that you now can do:

    {{< vidur 9KvBeKu false true 32 3.14 >}}

And the boolean and numeric values will be converted to `bool`, `int` and `float64`.

If you want these to be  strings, they must be quoted:

    {{< vidur 9KvBeKu "false" "true" "32" "3.14" >}}

Fixes #6371
2019-09-29 23:22:41 +02:00
Liam OBrien bb5104ce43 Correct broken link to MathJax configuration
Current link https://docs.mathjax.org/en/latest/configuration.html is broken. Updated link is https://docs.mathjax.org/en/latest/web/configuration.html.
2019-09-29 10:46:21 +02:00
Bjørn Erik Pedersen 8a151824a3 Update page.md 2019-09-28 17:32:27 +02:00
Liam OBrien 69a3112b93 Broken link to ISRG in Let's Encrypt Showcase 2019-09-28 12:20:59 +02:00