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 2bd5bc2d71d42d72608566d4d3299558c4f8f803.
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
7d4f308d6f
Fix Netlify config
2019-12-23 12:11:27 +01:00
Bjørn Erik Pedersen
f4caa07f5f
Release 0.62.0
v0.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
54f0e87767
Update image-actions.yml
2019-12-22 22:34:17 +01:00
Bjørn Erik Pedersen
94e5cad02b
Update image-actions.yml
2019-12-22 22:33:56 +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
Bjørn Erik Pedersen
4a9d76cead
docs: Regen docshelper
2019-12-19 23:48:01 +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
Gavin D. Howard
79bf8ed4cd
markup/tableofcontents: Add config option for ordered list
2019-12-12 07:48:40 +01:00
Bjørn Erik Pedersen
676dc6e12e
Release 0.61.0
v0.61.0
2019-12-11 10:10:49 +01:00
Bjørn Erik Pedersen
a1d9fb18a3
Merge commit '79c5d7053486f540b6219e693d5590f2c4c3937a'
2019-12-11 10:00:46 +01:00
hugoreleaser
1b9e675cd5
releaser: Add release notes to /docs for release of 0.61.0
...
[ci skip]
2019-12-11 08:26:33 +00:00
Florian Gerlinghoff
5b95cbc8a6
Fixed suffixIsRemoved error in code samples ( #975 )
...
When `suffix = "<suffix>"` in the config.toml while adding or modifying
a media type, an error occurs: "MediaType.Suffix is removed. [...]".
I changed the code samples to use `suffixes` instead and adjusted the
surrounding descriptions to represent the change.
2019-12-11 14:27:00 +07:00
Yuriy Oborozhnyi
59b2c245b9
Fix Usage section in toc.md to consider Goldmark TOC settings
2019-12-10 23:52:14 +01:00
Yuriy Oborozhnyi
fd38286737
Add link on how to configure TOC w/ Goldmark
2019-12-10 23:52:14 +01:00