81 Commits

Author SHA1 Message Date
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
d087cf3068
Update image docs for 0.58 2019-09-04 17:33:09 +02:00
Bjørn Erik Pedersen
9d6ac714de
Fix shortcode 2019-07-27 17:35:00 +02:00
Bjørn Erik Pedersen
cfda93bc34
Update gomodules-info.html 2019-07-25 19:53:38 +02:00
Bjørn Erik Pedersen
3fdb45b3cd docs: Add Hugo Modules docs 2019-07-25 13:21:30 +02:00
Rodolfo Carvalho
de7ab636bc Use actual width in image processing examples
The image processing examples are rendered within containers with a
'nested-img' parent CSS class, which by default makes images responsive
by resizing them to the size of their containers.

That doesn't work well for the examples as the small images end up
stretched.

Since there can be other images in the same 'nested-img' context, we
keep that class in the parent and set the example images width to auto,
such that they will render with their actual size.

On small screens, larger images will still be sized down via the
max-width property.

Fixes #812
2019-06-18 17:02:21 +02:00
Bjørn Erik Pedersen
0f2bf195ef
Adjust shortcodes for 0.55
Took the easy approach.

Fixes #783
2019-04-09 12:33:09 +02:00
Bjørn Erik Pedersen
5ea938ad60
Remove some Scratch 2018-08-29 11:03:31 +02:00
Bjørn Erik Pedersen
8da3572409
Content and images for the 5th birthday blog post 2018-07-04 13:07:31 +02:00
Bjørn Erik Pedersen
c5a5250a1b
Use the new go-html-template Chroma lexer 2018-04-02 15:07:01 +02:00
Bjørn Erik Pedersen
2de831f4b9
Add the full list of Chroma lexers 2018-04-02 14:44:35 +02:00
Kaushal Modi
6bfc17cfcb Update few links to now point to gohugoio organization repos
Ref: https://github.com/gohugoio/hugoDocs/issues/6
2018-03-16 16:03:32 -04:00
Bjørn Erik Pedersen
7cfd530d24
Revise the archetype docs
Fixes #11
2018-03-07 11:12:28 +01:00
Bjørn Erik Pedersen
0bd5121250
Improve the Netlify versioning docs 2018-02-12 09:31:14 +01:00
Bjørn Erik Pedersen
ba51fe66dd
Finish the Maintenance section
Closes #339
2018-02-11 14:16:16 +01:00
Didier GEORGIEFF
e9b0c710c9
Add latest changes in new spotlight section 2018-02-11 13:36:48 +01:00
Bjørn Erik Pedersen
dce236ad12
Wrap up the bundle etc. edits for now
@kaushalmodi we need wait a little with the page-bundles.md -- there are some terms there that I think will confuse more than it helps.
2018-01-31 10:57:42 +01:00
Bjørn Erik Pedersen
6299d6dbb5
Update the imgproc shortcode 2018-01-31 10:19:33 +01:00
Bjørn Erik Pedersen
d5e7c03e20
Rework the layouts doc 2018-01-19 10:14:56 +01:00
Bjørn Erik Pedersen
ddb7d8fae0
Fix spelling in error message 2018-01-02 14:20:03 +01:00
Bjørn Erik Pedersen
a6d39884c4
Add image processing examples 2018-01-02 12:46:11 +01:00
budparr
05aaee8cec Remove background color from code shortcode
Background color is not necessary with Chroma.css
2017-09-30 10:09:31 +02:00
digitalcraftsman
7062ae075b Remove Press and Articles page 2017-07-28 20:19:56 +02:00
Bjørn Erik Pedersen
7440616b1b Add new and simpler quickstart
Fixes #75
2017-07-23 18:43:20 +02:00
Bjørn Erik Pedersen
e4824eb3fe Fix the output shortcode and its usage
Passing the shortcode into the Markdown processor just to get pre and code tags does not make much sense.
2017-07-21 13:06:11 +02:00
Bjørn Erik Pedersen
8eef09d270 Add Pygments configuration
Closes #61
2017-07-20 11:51:45 +02:00
Bjørn Erik Pedersen
4e0bca2b1e Remove the needsexamples construct
We need to rework the whole template func docs and, while a good idea, this does not fit into that.
2017-07-16 15:13:35 +02:00
Bjørn Erik Pedersen
29ba55bfe6 Some more copy edits 2017-07-15 13:14:22 +02:00
Bjørn Erik Pedersen
52deebf63d next: Cleanup after the big merge 2017-07-14 08:55:51 +02:00
Bjørn Erik Pedersen
6b07427fc8 next: Final step of merge 2017-07-14 08:55:50 +02:00
Bjørn Erik Pedersen
45f33bf6a1 Merge branch 'reword' of hugo-docs-concept into next
Big thanks to @anthonyfok for his work on fixing all the commit messages!
2017-07-14 08:45:12 +02:00
Bjørn Erik Pedersen
eb283cb07f docs: Update layout references to gohugoio/hugo 2017-06-13 18:56:22 +02:00
Ryan Watters
d05edb0fe0 Move all shortcodes out of theme and into project dir 2017-06-04 16:55:36 -05:00
Ryan Watters
c940f08f84 Remove duplicate custom output pages 2017-06-01 17:27:41 -05:00
Bjørn Erik Pedersen
706b2f7fa5 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
Bud Parr
50c24e070d Move to theme folder 2017-03-25 17:49:34 -04:00
Ryan Watters
2dab2351d5 Test adding events to codeblocks 2017-03-23 23:17:13 -05:00
Ryan Watters
ff2931c60d Remove all bloat from video sass partial 2017-03-19 19:20:39 -05:00
Ryan Watters
594a96919f Add yt shortcode 2017-03-19 18:58:39 -05:00
Ryan Watters
190dcb592a Improve admonition semantics 2017-03-18 15:52:01 -05:00
Ryan Watters
902d336b99 Move articles to data file called in datatable shortcode
Fixes rdwatters/hugo-docs-concept#19
2017-03-13 17:56:25 -05:00
Ryan Watters
60c2babf0e Attempt to fix scroll on focus issues in iOS 2017-03-09 18:06:29 -06:00
Ryan Watters
f7ff4eefd8 Update doc contrib guideline 2017-03-07 15:33:26 -06:00
Ryan Watters
3a3828d7e9 Update doc contribute guidelines 2017-03-07 15:28:39 -06:00
Ryan Watters
d5b49fe3c4 Fix toc 2017-03-02 15:36:43 -06:00
Ryan Watters
9dc11d3b0c Add SVGs and slide animations to homepage 2017-03-02 01:31:59 -06:00
Ryan Watters
2c07f13308 Add styles for different languages in code blocks 2017-03-01 03:23:44 -06:00
Ryan Watters
d0c7f01df8 Tweak code blocks 2017-03-01 01:57:51 -06:00
Ryan Watters
0366c01b34 Switch to new Typekit "Museo Sans" fonts 2017-02-28 23:26:34 -06:00
Ryan Watters
f0ebb43d66 Remove headings from note and warning entirely 2017-02-28 21:48:22 -06:00