John Zaitseff
158e7ec204
Fix incorrect MIME type from image/jpg to image/jpeg
...
According to multiple sources, both official ([IANA] and [RFC2046]) and
otherwise (eg, [Mozilla] and [Wikipedia]), the official MIME type for
JPEG images is `image/jpeg`, not `image/jpg`. Change Hugo to match.
[IANA]: https://www.iana.org/assignments/media-types/media-types.xhtml#image
[RFC2046]: https://tools.ietf.org/html/rfc2046
[Mozilla]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
[Wikipedia]: https://en.wikipedia.org/wiki/JPEG
2019-12-19 18:02:11 +01:00
Bjørn Erik Pedersen
67f3aa72cf
Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a'
2019-12-15 10:37:36 +01:00
Gavin D. Howard
4c804319f6
markup/tableofcontents: Add config option for ordered list
2019-12-12 07:48:40 +01:00
Bjørn Erik Pedersen
bfb9613a14
Add Goldmark as the new default markdown handler
...
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo.
If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration:
```toml
[markup]
defaultMarkdownHandler="blackfriday"
```
Fixes #5963
Fixes #1778
Fixes #6355
2019-11-23 14:12:24 +01:00
Bjørn Erik Pedersen
27aef3f1fb
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
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
23adc0c2d9
docs: Regenerate data helpers
2019-07-24 09:39:12 +02:00
Bjørn Erik Pedersen
cee181c3a6
docs: Regenerate docs helper
2019-05-02 14:26:02 +02:00
Bjørn Erik Pedersen
75b16e30ec
docs: Regenerate docs helper
2019-04-20 15:20:08 +02:00
Bjørn Erik Pedersen
b6a60f718e
output: Add missing JSON tag
2019-03-28 20:59:09 +01:00
Bjørn Erik Pedersen
bfdc44964a
docs: Regenerate docshelper data
...
Closes #5799
2019-03-28 09:49:54 +01:00
Bjørn Erik Pedersen
ddc15ed41b
Merge commit '5e078383a787e8b5ec3ba73f05ea4130840afbe2'
2019-02-01 09:01:04 +01:00
Bjørn Erik Pedersen
486bc46a52
docs: Regenerate the docs helper
2018-11-02 13:36:09 +01:00
Bjørn Erik Pedersen
b7ca3e1b3a
Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'
2018-09-14 08:35:23 +02:00
Bjørn Erik Pedersen
c74b0f8f9b
docs: Update theme documentation
...
See #4460
2018-06-12 07:38:41 +02:00
David E. Wheeler
019bd5576b
tpl/strings: strings.RuneCount
2018-06-04 20:47:03 +03:00
David E. Wheeler
13435a6f60
tpl: Add strings.Repeat
2018-06-03 09:55:37 +03:00
Bjørn Erik Pedersen
1b9dc52ef5
Merge commit 'd2ec1a06df8ab6b17ad05cb008d5701b40327d47'
2018-04-21 23:02:48 +02:00
Bjørn Erik Pedersen
10c33c17cd
docs: Generate docshelper data
...
And fix build ...
2018-04-02 08:52:42 +02:00
Bjørn Erik Pedersen
95d62004a0
Merge commit 'c0290655825e7bb36e13fb39f89d85b392cf1adc'
2018-03-11 20:40:26 +01:00
Bjørn Erik Pedersen
158e1151cd
Merge commit '337d0c5f516ee085205e8abefdb7f87e6d33ca05'
2018-01-31 11:08:08 +01:00
Bjørn Erik Pedersen
5c31e0c341
Merge commit 'ecf5e081b5540e69f4af330233f39a07baf53846'
2017-10-15 10:20:55 +02:00
Bjørn Erik Pedersen
932ae52709
Merge commit '61c27b58b353c73772aae572c7d822fdfdf7791b'
2017-09-25 09:02:42 +02:00
Bjørn Erik Pedersen
a1900826b9
Merge commit 'ec4e6f9df2ab9ffdc62a3f59675369096e0d3f77' as 'docs'
2017-08-10 17:18:22 +02:00
Bjørn Erik Pedersen
d384c661fe
docs: Re-integrate
2017-08-10 17:17:07 +02:00
Bjørn Erik Pedersen
22b213b1a4
Merge commit 'e81208265bb3cdb7606d051a23d83aeebcb7d34d'
2017-08-06 17:24:51 +02:00
Bjørn Erik Pedersen
1c18f3fc49
Merge commit '50ec65fbe1a48475d3320775dab2c47389c02114'
2017-07-31 09:21:24 +02:00
Bjørn Erik Pedersen
a358b33f26
docs: Regenerate the docs helpers
2017-07-06 10:36:13 +02:00
Bjørn Erik Pedersen
a7765bb3c1
Merge commit 'dd78d5b23fe597f4461aa4199401b4e07c0612e2' as 'docs'
2017-06-26 20:46:06 +02:00
Bjørn Erik Pedersen
8be3934b59
docs: Remove
...
Docs site is moved to https://github.com/gohugoio/hugoDocs
Will be re-added here as a Git submodule.
2017-06-14 10:32:16 +02:00
Bjørn Erik Pedersen
a119ef693f
tpl/time: Re-add the time example
2017-05-20 11:41:43 +03:00
Bjørn Erik Pedersen
42fbded105
docs: Regenerate docs helper
2017-05-18 21:38:16 +03:00
James
e92ce83d5e
docs: Update references to JSON
...
Looks like this was a bad copy/paste where CSV should've been JSON
2017-05-18 07:55:15 +02:00
Bjørn Erik Pedersen
cff2f31334
tpl: Add some GoDoc info to template func docs
...
Closes #3418
2017-05-04 10:46:19 +02:00
Cameron Moore
f604076de1
tpl/images: Fix embedded sync.Mutex
2017-05-02 09:17:14 +02:00
Bjørn Erik Pedersen
690b0f8ff5
tpl: Add docshelper for template funcs
...
And fix some other minor related issues.
Updates #3418
2017-05-01 21:44:15 +02:00
Bjørn Erik Pedersen
9ebbf1b054
docs: Add docs about output format linking
...
Fixes #3301
Fixes #3302
2017-04-08 16:33:20 +02:00
Bjørn Erik Pedersen
3c405f5172
all: Document the Output Formats feature
...
This commit also adds a new command, docshelper, with some utility funcs that adds a JSON datafiles to /docs/data that would be a pain to create and maintain by hand.
Fixes #3242
2017-04-07 10:52:16 +02:00