9059 Commits

Author SHA1 Message Date
狂飙
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. (170f18d9352d39213170dd9d5e947eb45854c84b and
2df5d202c6fc6eb18ee0b259c3dd1156094947c5)
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. (170f18d9352d39213170dd9d5e947eb45854c84b and
2df5d202c6fc6eb18ee0b259c3dd1156094947c5)
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 170f18d9352d39213170dd9d5e947eb45854c84b.
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
Bjørn Erik Pedersen
d155632caf
Update use-modules.md 2019-09-27 23:41:45 +02:00
Douglas Beal
0a692db73c Replace directive missing replace keyword 2019-09-27 22:57:23 +02:00
Bjørn Erik Pedersen
e073f4efb1
deps: Update Chroma
Closes #6279
2019-09-25 08:42:15 +02:00
Brian MacKinney
454a033dc5 github: Add issue templates and action 2019-09-25 08:40:04 +02:00
J. Ansorg
e5856e61d8 resources: Support output image format in image operations
The image format is defined as the image extension of the known formats,
excluding the dot.
All of 'img.Resize "600x jpeg"', 'img.Resize "600x jpg"',
and 'img.Resize "600x png"' are valid format definitions.
If the target format is defined in the operation definition string,
then the converted image will be stored in this format. Permalinks and
media type are updated correspondingly.
Unknown image extensions in the operation definition have not effect.

See #6298
2019-09-21 16:50:27 +02:00
XhmikosR
34dc06b032 tpl: Add rel="noopener" for external links
This could be a security and performance issue.

See https://developers.google.com/web/tools/lighthouse/audits/noopener
2019-09-21 10:08:47 +02:00
XhmikosR
2b1814ee58 tpl: Remove unneeded space 2019-09-21 10:06:15 +02:00
Bjørn Erik Pedersen
b0db64a032
Update site.md 2019-09-20 14:28:44 +02:00
Bjørn Erik Pedersen
0dedc1cc04
Hugo 0.58.3 v0.58.3 2019-09-19 17:56:34 +02:00
Bjørn Erik Pedersen
2d59168f65
Merge branch 'temp583' 2019-09-19 17:56:08 +02:00
hugoreleaser
8cb7a0d4db releaser: Prepare repository for 0.59.0-DEV
[ci skip]
2019-09-19 15:36:35 +00:00
hugoreleaser
9670a19cb0 releaser: Add release notes to /docs for release of 0.58.3
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
4aac02d49c releaser: Add release notes to /docs for release of 0.58.3
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
85376a757b releaser: Bump versions for release of 0.58.3
[ci skip]
2019-09-19 15:28:26 +00:00
hugoreleaser
0fd30f832b releaser: Add release notes for 0.58.3
[ci skip]
2019-09-19 15:28:26 +00:00