summaryrefslogtreecommitdiffstats
path: root/docs/content
Commit message (Collapse)AuthorAge
* images: Add option for vertical alignment to images.TextPranshu Gaba7 days
| | | | | | | | | | | | | | | | | | | | Add option ``aligny`` to specify the vertical alignment of the text with respect to the ``y`` offset from the top of the image. Possible values of ``aligny`` are ``top`` (default), ``center``, and ``bottom``. The height of the block of text is measured from the top of the first line to the baseline of the last line. - ``top``: (Current behaviour) The top of the first line of the block of text is at an offset of ``y`` from the top of the image. - ``center``: The vertical center of the block of text is at an offset of ``y`` from the top of the image. - ``bottom``: The baseline of the last line of the text is at an offset of ``y`` from the top of the image. Resolves #13414
* Merge commit 'b3d87dd0fd746f07f9afa6e6a2969aea41da6a38'Bjørn Erik Pedersen7 days
|
* Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'Bjørn Erik Pedersen2025-04-10
|
* resources/page: Revise the new contentbasename permalinks tokensBjørn Erik Pedersen2025-02-17
| | | | | | | | | | | | | | | | | | * Make it work for all pages, including those created from content adapters and not backed by a file. * Allow the `slug` to win, so the new tokens are: `:contentbasename`: 1. ContentBaseName `:slugorcontentbasename`: 1. Slug 2. ContentBaseName Note that a page will always have a `ContentBaseName`, so no need to fall back to e.g. the title. Closes #11722
* resources/page: Add :contentbasename and :contentbasenameorslug permalink tokensHenrique Dias2025-02-17
| | | | See #11722
* modules: Add GOAUTH to module configBjørn Erik Pedersen2025-02-13
| | | | Closes #13385
* js/esbuild: Add drop optionBjørn Erik Pedersen2025-02-13
| | | | Fixes #13362
* Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'Bjørn Erik Pedersen2025-02-13
|
* Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'Bjørn Erik Pedersen2025-01-23
|
* Merge commit '81a7b6390036138356773c87a886679c81c524e1'Bjørn Erik Pedersen2025-01-16
|
* docs: Regen CLI docsBjørn Erik Pedersen2025-01-16
|
* tpl/images: Change signature of images.QR to images.QR TEXT OPTIONSJoe Mooring2025-01-08
| | | | Closes #13230
* images.Text: Add "alignx" option for horizontal alignmentJulius Künzel2025-01-08
| | | | | | Add an "alignx" option to the images.Text to control whether the value of the "x" option is the left border of the text (current behaviour), the center of each line or the right border. Fixes #10849
* docs: Regen CLI docsBjørn Erik Pedersen2025-01-06
|
* Merge commit 'e9fbadacc3f09191e2e19f112a49777eeb8df06c'Bjørn Erik Pedersen2025-01-06
|
* tpl/images: Add images.QR functionJoe Mooring2025-01-06
| | | | Closes #13205
* Update gocloud and docs for S3-Compatible EndpointsChris Moultrie2024-12-22
|
* tpl/tplimpl: Update details shortcodeJoe Mooring2024-12-13
| | | | | | | | - Remove localization of default summary value - Add title attribute - Reformat to be consistent with other embedded templates - Simplify and improve integration test - Update documentation
* tpl/tplimpl: Add details shortcoderacehd2024-12-13
| | | | | | | | - Add new shortcode to render details HTML element. - Implement integration tests to check: default state, custom summary, open state, attribute sanitization, allowed attributes, and localization of default summary text. - Update docs to include details shortcode. Closes # 13090
* Merge commit 'e477373487abcccdbed95688e37aa74b9b8fc198'Bjørn Erik Pedersen2024-12-11
|
* dartsass: Add silenceDeprecations optionBjørn Erik Pedersen2024-11-18
| | | | Fixes #13045
* Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'Bjørn Erik Pedersen2024-11-18
|
* docs: Regen CLI docsBjørn Erik Pedersen2024-11-16
|
* docs: Regenerate CLI docsBjørn Erik Pedersen2024-11-14
|
* Merge commit 'de0df119b504a91c9e1f442b07954f366ffb2932'Bjørn Erik Pedersen2024-11-13
|
* docs: Regen CLI docsBjørn Erik Pedersen2024-10-15
|
* commands: Add "hugo build" as an alias for "hugo"Bjørn Erik Pedersen2024-09-30
| | | | Closes #11391
* Merge commit '39fd3b557014e339bc6c68a7ff34a7734a735ee0'Bjørn Erik Pedersen2024-09-04
|
* Add support for Obsidian type blockquote alertsBjørn Erik Pedersen2024-09-01
| | | | | | | | | | | | * 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
* Merge commit 'dec8cd4ada29218971743333f8ac662a9c06aad8'Bjørn Erik Pedersen2024-09-01
|
* tpl/transform: Make Plainify and ToMath return template.HTMLBjørn Erik Pedersen2024-08-11
| | | | | | | | 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
* Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'Bjørn Erik Pedersen2024-08-09
|
* math: Add trigonometric functions and some angle helper functionsraoulb2024-07-29
| | | | | | | | | | | | | | | | 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 <joe@mooring.com>
* source: Expose GitInfo BodyPeskyPotato2024-07-06
| | | | | | | 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
* Merge commit '8b9803425e63e1b1801f8d5d676e96368d706722'Bjørn Erik Pedersen2024-06-21
|
* deploy: Add stripIndexHtml target optionDietrich Epp2024-06-20
| | | | | | | | | | | | | | | | | | | 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
* commands: Add gen chromastyles --lineNumbersTableStyle flagJoe Mooring2024-04-20
| | | | | | For symmetry, also rename --linesStyle to --lineNumbersInlineStyle. Closes #12393
* docs: Regen CLI docsBjørn Erik Pedersen2024-03-16
|
* docs: Fix hyphens and grammar in synopsis of command 'hugo server'Andreas Deininger2024-03-07
|
* js: Support JSX and JSXImportSourceOptionsBenjamin Altpeter2024-02-23
| | | | Fixes #12118
* Merge commit '2658a71e1b6fe24a8b754a62ce0398a09d270d86'Bjørn Erik Pedersen2024-02-19
|
* Add images.Dither filterJoe Mooring2024-02-11
| | | | Closes #8598
* docs: Regen CLI docsBjørn Erik Pedersen2024-02-07
|
* Merge commit '6efb279bfacbd7304cef994be8181c6f804e7dd4'Bjørn Erik Pedersen2024-02-07
|
* Merge commit '9b0050e9aabe4be65c78ccf292a348f309d50ccd' as 'docs'Bjørn Erik Pedersen2024-01-27
| | | | | | | | ``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
* docs: Prepare for new sub treeBjørn Erik Pedersen2024-01-27
| | | | See #11925
* Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'Bjørn Erik Pedersen2024-01-26
|
* parser/metadecoders: Accumulate org keywords into arraysAugust Feng2024-01-25
| | | | Closes #11743
* parser/metadecoders: Add CSV lazyQuotes option to transform.UnmarshalJoe Mooring2024-01-16
| | | | | | | 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
* tpl/math: Add math.Rand template functionJoe Mooring2023-12-29
| | | | Closes #11833