Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoDocs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-12Make CLI command summaries meaningful (#1886)Joe Mooring
Closes #109
2022-06-16Check for nil Chroma .AliasesBjørn Erik Pedersen
2022-04-08cSpell config update (#1700)Christian Oliff
2022-03-25Update image processing (#1625)Joe Mooring
2022-03-09add `.html` suffix to partial usage and referencesBrennan Angel
2022-03-03add missing %sYannic Haupenthal
2022-03-03fix link to latest release noteYannic Haupenthal
since the release notes were moved to GitHub: https://gohugo.io/news/no-more-releasenotes-here/
2022-02-28Adjust diagram docsv0.93.0Bjørn Erik Pedersen
2022-02-28Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'Bjørn Erik Pedersen
2022-02-27CodeblockContext method renamesBjørn Erik Pedersen
Fixes #9577
2022-02-25Move the Goat template to the correct placeBjørn Erik Pedersen
Updates #7765
2022-02-24Add Markdown diagrams and render hooks for code blocksBjørn Erik Pedersen
You can now create custom hook templates for code blocks, either one for all (`render-codeblock.html`) or for a given code language (e.g. `render-codeblock-go.html`). We also used this new hook to add support for diagrams in Hugo: * Goat (Go ASCII Tool) is built-in and enabled by default; just create a fenced code block with the language `goat` and start draw your Ascii diagrams. * Another popular alternative for diagrams in Markdown, Mermaid (supported by GitHub), can also be implemented with a simple template. See the Hugo documentation for more information. Updates #7765 Closes #9538 Fixes #9553 Fixes #8520 Fixes #6702 Fixes #9558
2022-02-23requires -> require typo fix (#1666)Luke Rijk de Waal
2022-02-23Allow images to be cropped without being resizedJohn Elliott
Introduces the Crop method for image processing which implements gift.CropToSize. Also allows a smartCrop without resizing, and updates the documentation. Fixes #9499
2022-01-12Merge commit 'a8e9fc699a6ff7d578f97a7c553ce844efad8fdb'Bjørn Erik Pedersen
2022-01-11docs: Add dependency table to maintainance pageBjørn Erik Pedersen
See #8949
2022-01-04layouts: Use .File.PathBjørn Erik Pedersen
2021-12-09Add frontmatter param to code-toggle shortcode (#1601)Joe Mooring
Closes #1598
2021-12-05Add id attribute to h2 elements (#1590)Joe Mooring
Prior to this change, it was not possible to link to headings. For example, this link wasn't functional: functions/lang/#langformatnumber
2021-11-04Remove blank lines from code-toggle output (#1564)Joe Mooring
2021-07-29tpl/lang: Add new localized versions of lang.FormatNumber etc.Bjørn Erik Pedersen
Fixes #8820
2021-06-14Misc config loading fixesBjørn Erik Pedersen
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster: ``` BenchmarkDefaultConfigProvider/Viper-16 252418 4546 ns/op 2720 B/op 30 allocs/op BenchmarkDefaultConfigProvider/Custom-16 450756 2651 ns/op 1008 B/op 6 allocs/op ``` Fixes #8633 Fixes #8618 Fixes #8630 Updates #8591 Closes #6680 Closes #5192
2021-05-03Avoid scratch usageSalim B
2021-05-03Rename scratch varSalim B
2021-05-03Update usage instructionsSalim B
2021-05-03Rename and refactor shortcodeSalim B
2021-05-03Strip leading whitespacesSalim B
2021-05-03Add `insertpages` shortcodeSalim B
This is an improvement over the `readfiles` shortcode in that it allows to insert content files that contain shortcodes themselves. This new shortcode is used to fix a regression introduced in https://github.com/gohugoio/hugoDocs/pull/1442 (`new-in` shortcode was not rendered as intended).
2021-05-01Trim newlines from .Inner in the 'code' shortcodeJoe Mooring
Closes #1437
2021-04-15Improve presentation of template lookup order (#1382)Joe Mooring
Closes #1374
2020-06-25Fix page kinds shortcode not rendering on Taxonomies page (#1158)Jessica Huynh
* remove trailing space after "terms" in page-kinds shortcode * use % style shortcode to render page-kinds markdown table
2020-06-23Merge branch 'temp73'Bjørn Erik Pedersen
2020-06-18Fix for broken link again (#1151)Christian Oliff
2020-06-18Fix broken link (#1144)max-re
2020-06-18Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomyBjørn Erik Pedersen
And we have taken great measures to limit potential site breakage: * For `disableKinds` and `outputs` we try to map from old to new values if possible, if not we print an ERROR that can be toggled off if not relevant. * The layout lookup is mostly compatible with more options for the new `term` kind. That leaves: * Where queries in site.Pages using taxonomy/taxonomyTerm Kind values as filter. * Other places where these kind value are used in the templates (classes etc.) Fixes #6911 Fixes #7395
2019-11-23Add Goldmark as the new default markdown handlerBjørn Erik Pedersen
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-09-04Update image docs for 0.58Bjørn Erik Pedersen
2019-07-27Fix shortcodeBjørn Erik Pedersen
2019-07-25Update gomodules-info.htmlBjørn Erik Pedersen
2019-07-25docs: Add Hugo Modules docsBjørn Erik Pedersen
2019-06-18Use actual width in image processing examplesRodolfo Carvalho
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-04-09Adjust shortcodes for 0.55Bjørn Erik Pedersen
Took the easy approach. Fixes #783
2018-08-29Remove some ScratchBjørn Erik Pedersen
2018-07-04Content and images for the 5th birthday blog postBjørn Erik Pedersen
2018-05-16Fix source link on maintainanceBjørn Erik Pedersen
2018-04-02Use the new go-html-template Chroma lexerBjørn Erik Pedersen
2018-04-02Add the full list of Chroma lexersBjørn Erik Pedersen
2018-03-16Update few links to now point to gohugoio organization reposKaushal Modi
Ref: https://github.com/gohugoio/hugoDocs/issues/6
2018-03-07Revise the archetype docsBjørn Erik Pedersen
Fixes #11
2018-02-13maintenance: Show last 30Bjørn Erik Pedersen