17 Commits

Author SHA1 Message Date
Salim B
497ea32247 Use Hugo version badge shortcode 2021-05-01 14:52:10 +02:00
Farai Gandiya
49e7964096 Added where .RegularPagesRecursive was added
Seems like there isn't a way to render shortcodes in a readfile.
2020-05-27 23:19:48 +02:00
Farai Gandiya
a92296e314 Fixed the new-in shortcode in pages-vs-site-pages 2020-05-27 22:01:21 +02:00
Farai Gandiya
051e1267c3 Documented .RegularPagesRecursive
Addresses #1116
2020-05-27 22:01:21 +02:00
Bjørn Erik Pedersen
23aa57d806 Fix crashes for 404 in IsAncestor etc.
Fixes #6931
2020-02-22 13:36:04 +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
Kaushal Modi
f76edaab07 Update description of .Pages based on its new behavior in Hugo 0.57+
Also document the new `.RegularPages` now available in all pages,
starting from Hugo v0.57.0.

Fixes https://github.com/gohugoio/hugoDocs/issues/890.
2019-08-16 09:50:48 -04:00
Kaushal Modi
795e2a24e3 Add the missing <small> tag
Fixes https://github.com/gohugoio/hugoDocs/issues/891.
2019-08-16 09:35:56 -04:00
Bjørn Erik Pedersen
e765084dd6
Update sectionvars.md 2019-05-03 15:04:50 +02:00
Bjørn Erik Pedersen
e08be4d81e
Update sectionvars.md 2019-05-03 15:04:27 +02:00
arrtchiu
371ff6c12b Add skipHTML option to blackfriday config 2019-03-04 11:27:18 +01:00
Kaushal Modi
a28255bf32 Clarify the meaning of .Pages vs .Site.Pages
Fixes https://github.com/gohugoio/hugoDocs/issues/398.
2018-07-20 11:05:03 -04:00
Kaushal Modi
c0430f8f97 Update MenuEntry properties documentation
Fixes https://github.com/gohugoio/hugoDocs/issues/423
2018-07-11 17:36:37 -04:00
Stefan Neuhaus
a6b9f654a2 Add a BlackFriday option for rel="noreferrer" on external links
Add a configuration option "noreferrerLinks". When set to "true" the "HTML_NOREFERRER_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "noreferrer" value for their "rel" attribute.

See #4722
2018-05-29 16:54:43 +02:00
Stefan Neuhaus
edb7865168 Add a BlackFriday option for rel="nofollow" on external links
Add a configuration option "nofollowLinks". When set to "true" the "HTML_NOFOLLOW_LINKS" flag is being passed to Blackfriday. Thereby all *absolute* links will get a "nofollow" value for the "rel" attribute.

Fixes #4722
2018-05-28 01:21:36 +02:00
Kaushal Modi
820d8b5815 Clarify the true behavior of hrefTargetBlank #blackfriday
Fixes https://github.com/gohugoio/hugoDocs/issues/428

Ref: https://discourse.gohugo.io/t/internal-links-in-same-tab-external-links-in-new-tab/11048/8?u=kaushalmodi
2018-05-22 12:12:11 -04:00
Anthony Fok
77578f5bfc
Move content/ into new contentDir content/en/
in preparation for adding new translations such as Chinese.

Paths for "readfile" shortcode are adjusted accordingly.

See #461
2018-05-01 11:23:28 -06:00