aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
AgeCommit message (Collapse)Author
2024-11-18dartsass: Add silenceDeprecations optionBjørn Erik Pedersen
Fixes #13045
2024-11-18Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'Bjørn Erik Pedersen
2024-11-16docs: Regen CLI docsBjørn Erik Pedersen
2024-11-14docs: Regenerate CLI docsBjørn Erik Pedersen
2024-11-13Merge commit 'de0df119b504a91c9e1f442b07954f366ffb2932'Bjørn Erik Pedersen
2024-10-15docs: Regen CLI docsBjørn Erik Pedersen
2024-09-30commands: Add "hugo build" as an alias for "hugo"Bjørn Erik Pedersen
Closes #11391
2024-09-04Merge commit '39fd3b557014e339bc6c68a7ff34a7734a735ee0'Bjørn Erik Pedersen
2024-09-01Add support for Obsidian type blockquote alertsBjørn Erik Pedersen
* Make the alert type parsing more flexible to support more types * Add `AlertTitle` and `AlertSign` (for folding) Note that GitHub will not render callouts with alert title/sign. See https://help.obsidian.md/Editing+and+formatting/Callouts Closes #12805 Closes #12801
2024-09-01Merge commit 'dec8cd4ada29218971743333f8ac662a9c06aad8'Bjørn Erik Pedersen
2024-08-28output: Fix docshelper template lookup order for AMP pagesJoe Mooring
Fixes #12797
2024-08-17Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrderBjørn Erik Pedersen
See #12776
2024-08-11tpl/transform: Make Plainify and ToMath return template.HTMLBjørn Erik Pedersen
None of these are useful as plain strings in the templates, which forces the users to do `transform.Plainify "foo" | safeHTML`. If people have trust issues with the output of these functions, they need to just stop using them. Closes #8732
2024-08-09docs: Regen docshelperBjørn Erik Pedersen
2024-08-09Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'Bjørn Erik Pedersen
2024-07-29math: Add trigonometric functions and some angle helper functionsraoulb
This commit adds these new template functions in the `math` namespace: math.Acos math.Asin math.Atan math.Atan2 math.Cos math.Pi math.Sin math.Tan math.ToDegrees math.ToRadians Co-authored-by: Joe Mooring <[email protected]>
2024-07-06source: Expose GitInfo BodyPeskyPotato
Updated bep/gitmap to v1.4.0, to get commit message's Body. Added Body to GitInfo struct. Docs upated with commit body example. Fixes #10905
2024-06-21Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'Bjørn Erik Pedersen
2024-06-20deploy: Add stripIndexHtml target optionDietrich Epp
This new configuration parameter causes paths matching "<dir>/index.html" to be stored as "<dir>/" remotely. This simplifies the cloud configuration needed for some use cases, such as CloudFront distributions with S3 bucket origins. Before this change, users must configure their S3 buckets as public websites (which is incompatible with certain authentication / authorization schemes), or users must add a CloudFormation function to add index.html to the end of incoming requests. After this change, users can simply use an ordinary CloudFront distribution (no additional code) with an ordinary S3 bucket origin (and not an S3 website). This adds tests to ensure that functionality like matchers is unaffected by this change. I have also tested that the functionality works as expected when deploying to a real S3 / CloudFront website. Closes #12607
2024-06-18markup/goldmark: Add the Hugo Goldmark Extras "delete" extensionJoe Mooring
With Goldmark v1.7.1 and earlier, the Goldmark "strikethrough" extension was triggered by wrapping text within a pair of double-tilde characters. With Goldmark v1.7.2 and later, to provide full GFM compatibility, the Goldmark "strikethrough" extension is triggered by wrapping text within a pair of single- or double-tilde characters. This change created a conflict with the Hugo Goldmark Extras "subscript" extension. When enabling the Hugo Goldmark Extras "subscript" extension, if you want to render subscript and strikethrough text concurrently, you must: 1. Disable the Goldmark "strikethrough" extension 2. Enable the Hugo Goldmark Extras "delete" extension Closes #12597
2024-06-08deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0Joe Mooring
Closes #12580
2024-05-21config: Remove extraneous BuildConfig settingJoe Mooring
Closes #12519
2024-05-14docs: Regen docshelperBjørn Erik Pedersen
2024-05-10markup/goldmark: Support extras extensionJoe Mooring
Enables inclusion of these HTML elements in Markdown: - Inserted Text (++inserted++) - Mark Text (==marked==) - Subscript (H~2~O) - Superscript (1^st^)
2024-04-20commands: Add gen chromastyles --lineNumbersTableStyle flagJoe Mooring
For symmetry, also rename --linesStyle to --lineNumbersInlineStyle. Closes #12393
2024-04-16docs: Regen docshelperBjørn Erik Pedersen
2024-04-11all: Fix duplicate words in commentsEitan Adler
2024-04-02tpl/tplimpl: Optionally exclude content from sitemapJoe Mooring
Define global inclusion/exclusion in site configuration, and override via front matter. For example, to exclude a page from the sitemap: [sitemap] disable = true # default is false Closes #653 Closes #12282 Co-authored-by: kolappannathan <[email protected]> Co-authored-by: felicianotech <[email protected]>
2024-03-26tpl/tplimpl: Update Google Analytics template and configJoe Mooring
Google Analytics 4 (GA4) replaced Google Universal Analytics (UA) effective 1 July 2023. See https://support.google.com/analytics/answer/11583528. Changes: - Update tpl/tplimpl/embedded/templates/google_analytics.html - Remove tpl/tplimpl/embedded/templates/google_analytics_async.html - Remove extraneous config settings Closes #11802 Closes #10093
2024-03-16docs: Regen CLI docsBjørn Erik Pedersen
2024-03-16docs: Regen docshelperBjørn Erik Pedersen
2024-03-07docs: Fix hyphens and grammar in synopsis of command 'hugo server'Andreas Deininger
2024-02-23js: Support JSX and JSXImportSourceOptionsBenjamin Altpeter
Fixes #12118
2024-02-19Merge commit '2658a71e1b6fe24a8b754a62ce0398a09d270d86'Bjørn Erik Pedersen
2024-02-18docs: Regen docshelperBjørn Erik Pedersen
2024-02-11Add images.Dither filterJoe Mooring
Closes #8598
2024-02-07docs: Regen CLI docsBjørn Erik Pedersen
2024-02-07docs: Regenerate docshelperBjørn Erik Pedersen
2024-02-07Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4'Bjørn Erik Pedersen
2024-01-31docs: Make null booleans falsy in the docs helperBjørn Erik Pedersen
2024-01-31docs: Regen docs helperBjørn Erik Pedersen
2024-01-27Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'Bjørn Erik Pedersen
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
2024-01-27docs: Prepare for new sub treeBjørn Erik Pedersen
See #11925
2024-01-26docs: Regen docshelperBjørn Erik Pedersen
2024-01-26Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'Bjørn Erik Pedersen
2024-01-25parser/metadecoders: Accumulate org keywords into arraysAugust Feng
Closes #11743
2024-01-25deps: Update github.com/tdewolff/minify/v2 v2.20.9 => v2.20.13James Tatum
KeepConditionalComments was deprecated in the upstream library and replaced with KeepSpecialComments. This new option reflects that both conditional comments and Server Side Include comments can be optionally stripped by the minifier. As with KeepConditionalComments, the minifier is configured not to strip them by default.
2024-01-16parser/metadecoders: Add CSV lazyQuotes option to transform.UnmarshalJoe Mooring
If true, a quote may appear in an unquoted field and a non-doubled quote may appear in a quoted field. It defaults to false. Closes #11884
2023-12-29tpl/math: Add math.Rand template functionJoe Mooring
Closes #11833
2023-12-20resources/images: Create AutoOrient image filterJoe Mooring
Closes #11717