Commit Graph

3019 Commits

Author SHA1 Message Date
adrian5 bd0a0207c4 Change wording on Page Resources documentation 2020-01-08 10:13:45 +01:00
Michael Hirsch, Ph.D d213b45994 linuxbrew was renamed to homebrew (#1004) 2020-01-07 17:39:49 +07:00
Bjørn Erik Pedersen dcb0925f8e Update index.md 2020-01-05 21:00:41 +01:00
hugoreleaser 2dc66f13cc releaser: Add release notes to /docs for release of 0.62.2
[ci skip]
2020-01-05 18:50:35 +00:00
Bjørn Erik Pedersen ed5b07df30 docs: Document the new autoHeadingIDType setting
See #6707
See #6616
2020-01-05 12:10:12 +01:00
github-actions[bot] bd0e15bb60 Optimised images with calibre/image-actions 2020-01-01 20:53:36 +01:00
Patrick Kollitsch 59830ea44a Remove comments from quickstart code samples
- the code samples are prefixed with text that explains what the code samples do, so there is no need for bash-comments in the sample code
- I also moved the comment about getting GIT out of a code sample and into it's own little section after the first time use of `git`
- lots of double newlines removed.
2020-01-01 20:53:36 +01:00
Bjørn Erik Pedersen 1cbbd26a99 Update index.md 2020-01-01 19:34:49 +01:00
Bjørn Erik Pedersen bcf3de764b Update index.md 2020-01-01 19:34:15 +01:00
Bjørn Erik Pedersen 0956bde218 Merge branch 'temp621' 2020-01-01 18:56:44 +01:00
hugoreleaser 28d604756a releaser: Add release notes to /docs for release of 0.62.1
[ci skip]
2020-01-01 17:38:22 +00:00
Alex Earnshaw c895f12e7f Fix statement about version installed with apt-get (#854)
* Fix statement about version installed with apt-get

When I use `sudo apt-get install hugo` on Ubuntu this installs the non-extended version, not the extended version as this page states. After installing this way the version I have is:
```
hugo version
Hugo Static Site Generator v0.40.1 linux/amd64 BuildDate: 2018-04-25T17:16:11Z
```

* Clarify what gets installed on bionic/disco

Added a heads up that what gets installed by apt-get seems to depend on your version. Added specific info for Ubuntu bionic and disco
2020-01-02 00:00:17 +07:00
Michael Marturana e96928e383 Updated quickstart to split theme download and theme config add into separate blocks (#967)
* split downloading the theme and adding it to config into two steps.

* fixed typo in new text
2020-01-01 23:42:07 +07:00
David Fernandes e099c1ad63 changed ".Title" to ".URL" (#972)
From what I've understood in this Documentation it should be referencing the .URL and not the .Title
2020-01-01 23:36:38 +07:00
petrkajzar bea71280d9 Fix small typing error (#1001)
This only fixes a small typing error (_our_ -> _your_).
2020-01-01 23:24:33 +07:00
Sanmay Joshi 9c28c422ee Correct hyperlink for 'markdownify' function
### Changes
added a slash '/', so that link is referenced from root of the domain and not current page

### Previously
```
**Note** that this method is more powerful than the similar [markdownify](functions/markdownify/) function as it also supports [Render Hooks](/getting-started/configuration-markup/#markdown-render-hooks) and it has options to render other markup formats.
```
### Now
```
**Note** that this method is more powerful than the similar [markdownify](/functions/markdownify/) function as it also supports [Render Hooks](/getting-started/configuration-markup/#markdown-render-hooks) and it has options to render other markup formats.
```
2019-12-31 09:59:49 +01:00
Florian Feldmann cf3844a06f Corrected small conjugation mistake (#996) 2019-12-30 22:47:43 +07:00
Florian Gerlinghoff 8b9c1d4f21 Added remarks about additional parameters in ref/relref (#995)
* Added remark about additional params to ref.md

* Added remark about additional params to relref.md

* Fixed typo in ref.md
2019-12-28 21:39:08 +01:00
Agrim Prasad ca06c9a56e Fix illegal character in render-link.html example
Closes #993
2019-12-28 16:34:04 +01:00
Bjørn Erik Pedersen 7a85c789b9 Update RenderString.md 2019-12-24 16:55:46 +01:00
Salim B 69df3b17e6 Update configuration-markup.md
Minor formatting improvements.
2019-12-24 11:15:12 +01:00
Regis Philibert 43e9222a2a Revert "Add shortcodes to note comparing with markdownify"
This reverts commit 2bd5bc2d71.
2019-12-23 20:31:32 +01:00
Regis Philibert 2bd5bc2d71 Add shortcodes to note comparing with markdownify 2019-12-23 19:53:40 +01:00
Bjørn Erik Pedersen ddfee60b7f Update configuration-markup.md 2019-12-23 16:38:17 +01:00
Shohei Ueda f87c35fe2e docs: Remove extra double quotation 2019-12-23 15:29:09 +01:00
Bjørn Erik Pedersen 5ca5cc15f6 Update index.md 2019-12-23 14:22:55 +01:00
Bjørn Erik Pedersen 6e457f5eca Update configuration-markup.md 2019-12-23 14:01:51 +01:00
Bjørn Erik Pedersen 12df3c0fc9 Update configuration-markup.md 2019-12-23 14:01:05 +01:00
Bjørn Erik Pedersen 91977fd96e Update configuration-markup.md 2019-12-23 13:54:06 +01:00
Henrique Dias 377b8954a5 Update configuration-markup.md 2019-12-23 13:52:07 +01:00
Salim B 99d691b5ee Update hosting-on-render.md
Mention GitLab besides GitHub.
2019-12-23 13:51:32 +01:00
Bjørn Erik Pedersen ccf855b220 Update index.md 2019-12-23 12:23:23 +01:00
Bjørn Erik Pedersen a945acc423 Update index.md 2019-12-23 12:22:11 +01:00
Bjørn Erik Pedersen f4caa07f5f Release 0.62.0 2019-12-23 11:41:22 +01:00
hugoreleaser 79d18276fb releaser: Add release notes to /docs for release of 0.62.0
[ci skip]
2019-12-23 10:23:27 +00:00
Bjørn Erik Pedersen 9db1a08d18 Merge commit '8a4005cf2b0ef34265ff8051a6b76226685fc226' 2019-12-22 22:51:45 +01:00
Bjørn Erik Pedersen 0ad20d226a Add a page about Hugo's Security Model
Fixes #984
2019-12-22 22:31:24 +01:00
Bjørn Erik Pedersen 79e5562234 docs: More on hooks 2019-12-21 11:59:36 +01:00
Bjørn Erik Pedersen 5088c54df0 tpl: Do not return any value in errorf
Fixes #6653
2019-12-21 10:26:14 +01:00
Bjørn Erik Pedersen 98c8c8638e tpl: Add a warnf template func
Fixes #6628
2019-12-21 10:23:00 +01:00
Frank Taillandier 0dee16d11c Link to Régis Full Partials series 2019-12-20 14:02:19 +01:00
Bjørn Erik Pedersen 138782808d Update partialCached.md 2019-12-20 12:36:03 +01:00
John Zaitseff 626e53b550 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 f92f77c5d4 Preserve HTML Text for link render hooks
The context now have two text methods:

* Text - rendered
* PlainText

Fixes #6629
2019-12-18 22:55:19 +01:00
Bjørn Erik Pedersen 6db9c52b15 docs: Footnote 2019-12-18 16:37:43 +01:00
Bjørn Erik Pedersen 16801db3b5 Add render template hooks for links and images
This commit also

* revises the change detection for templates used by content files in server mode.
* Adds a Page.RenderString method

Fixes #6545
Fixes #4663
Closes #6043
2019-12-18 11:44:40 +01:00
Bjørn Erik Pedersen 0facb823c9 Merge commit '2e711a28c71e8667258e5ab824f9b9a71c261b0a' 2019-12-15 10:37:36 +01:00
P.F. Hawkins af4b7ac5b4 Remove mention of Amber and Ace
Amber and Ace are deprecated and soon to be removed from the next version. There's no need to advertise a feature that's going away.
2019-12-14 18:44:03 +01:00
Igor Bubelov c841e9207f Exif docs corrections (#978)
* Fix spelling issue

* Add missing {{ end }} in Exif example
2019-12-13 11:03:15 +01:00
Christian Oliff 0f82420b86 Change cache assets default example to 1 year
Why a year?
The short answer is, the protocol doesn’t allow any value longer than a year. In the absence of a “cache this asset forever” header, a year is the longest possible time we can cache for.

REF: https://ashton.codes/set-cache-control-max-age-1-year/
2019-12-12 13:06:06 +01:00