112 Commits

Author SHA1 Message Date
Henk Verlinde
2ce21c34b2
Update configuration-markup.md (add rel="noopener") 2020-05-11 12:09:12 +02:00
Christian Oliff
b760aceb1e HTTPS external links in docs 2020-04-22 17:57:26 +02:00
Henry Suryawirawan
376befc9a1
Fix typo (#1084) 2020-04-14 10:10:05 +09:00
Renato Byrro
1121f74a54 Update install guide with Scoop extended 2020-04-10 22:14:01 +02:00
Bjørn Erik Pedersen
8988aa6fac
Merge branch 'postprocess' 2020-04-10 11:37:05 +02:00
Bjørn Erik Pedersen
664b2a0fac
Document resources.PostProcess and buildStats 2020-04-10 10:07:21 +02:00
Bjørn Erik Pedersen
0fab3ba24e Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02' 2020-04-10 09:06:04 +02:00
daanasma
19f44e150f
fix typo (#1077)
devlopment -> development
2020-04-09 10:18:53 +09:00
Bjørn Erik Pedersen
57eb278974 Merge commit 'c494c37a4523fbf2db6274dc87e0877fd5bec24b' 2020-03-31 22:11:54 +02:00
adrian5
9b480ebb73 Fix typo 2020-03-25 13:35:58 +01:00
Stéphane Wirtel
dcc7afef70 fix typo in getting started 2020-03-24 17:31:37 +01:00
Bjørn Erik Pedersen
7cff413481
Merge branch 'temp680' 2020-03-21 13:15:58 +01:00
Bjørn Erik Pedersen
0f98184b09 Some minify configuration adjustments 2020-03-20 20:35:57 +01:00
Vojtěch Káně
7950d0ad1f Mention resources folder in the "Directory structure" docs. 2020-03-20 16:03:33 +01:00
Andrew Medworth
a87aa44eca Don't set GOPATH when building from source
Now that go.mod exists, setting GOPATH to the root of the Hugo source results in commands like "go get" giving the error "$GOPATH/go.mod exists but should not". Hugo should now be built outside the GOPATH.
2020-03-15 17:10:48 +01:00
Bjørn Erik Pedersen
3fb1376d11 docs: Doument the server config 2020-03-09 20:36:00 +01:00
Piotr Śliwka
988f7d5c2d Document default enableInlineShortcodes value
As described in https://gohugo.io/templates/shortcode-templates/#inline-shortcodes
2020-03-08 20:17:48 +01:00
Bjørn Erik Pedersen
74ccdaaf5e
Merge branch 'temp660' 2020-03-03 17:17:50 +01:00
Bjørn Erik Pedersen
0624ac1982 Add build.UseResourceCacheWhen
Fixes #6993
2020-03-03 13:29:58 +01:00
Marcin Zajączkowski
6925cda306 Handle corner case with rendering text as code in URL
Without `| safeHTML` for `[`hrefTargetBlank`](http://example.com/hugo-docs) doesn't work`
links text it is rendered verbatimly as `<code>hrefTargetBlank</code>`. After my change it
would use default styling for code.
2020-02-20 12:20:53 +01:00
Bjørn Erik Pedersen
696543e13d
Update usage.md
Closes #1024
2020-01-27 18:41:20 +01:00
Wooseop Kim
835ddd9c23 Fix broken link 2020-01-16 12:16:45 +01:00
Benjamin Gandhi-Shepard
f900a2ce0a Add render-image code example and edit wording
Code example included for making a render-image.html template
2020-01-09 17:51:54 +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
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
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
Agrim Prasad
ca06c9a56e Fix illegal character in render-link.html example
Closes #993
2019-12-28 16:34:04 +01:00
Salim B
69df3b17e6 Update configuration-markup.md
Minor formatting improvements.
2019-12-24 11:15:12 +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
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
Bjørn Erik Pedersen
79e5562234 docs: More on hooks 2019-12-21 11:59:36 +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
Gavin D. Howard
79bf8ed4cd markup/tableofcontents: Add config option for ordered list 2019-12-12 07:48:40 +01:00
Atishay Jain
ea339f2d67 Added external learning resources including Hugo In Action book. 2019-12-07 19:43:15 +01:00
Bjørn Erik Pedersen
25a7110237
Merge branch 'temp60' 2019-11-27 11:29:40 +01:00
Lupe CM
779e5108e8 Update installing.md 2019-11-27 08:57:21 +01:00
Bjørn Erik Pedersen
ded74f0982 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
7427a1fc52
Update configuration.md 2019-11-13 09:30:48 +01:00
Bjørn Erik Pedersen
a623ccfd10
Update quick-start.md
Fixes #862
2019-10-30 20:37:24 +01:00
Stefano Chiodino
fc4c885137 Add extended version choco instructions (#703)
Specify how to install the extended version using chocolatey
2019-10-22 21:16:40 +07:00