summaryrefslogtreecommitdiffstats
path: root/docs
Commit message (Collapse)AuthorAge
* images: Add option for vertical alignment to images.TextPranshu Gaba6 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 Pedersen6 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
|
* helpers: Add Chroma styles to docs.yamlJoe Mooring2025-02-08
| | | | Closes #13360
* 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
|
* output: Fix docshelper template lookup order for AMP pagesJoe Mooring2024-08-28
| | | | Fixes #12797
* Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrderBjørn Erik Pedersen2024-08-17
| | | | See #12776
* 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
* docs: Regen docshelperBjørn Erik Pedersen2024-08-09
|
* 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
* markup/goldmark: Add the Hugo Goldmark Extras "delete" extensionJoe Mooring2024-06-18
| | | | | | | | | | | | | | | | | | | 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
* deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0Joe Mooring2024-06-08
| | | | Closes #12580
* config: Remove extraneous BuildConfig settingJoe Mooring2024-05-21
| | | | Closes #12519
* docs: Regen docshelperBjørn Erik Pedersen2024-05-14
|
* markup/goldmark: Support extras extensionJoe Mooring2024-05-10
| | | | | | | | | Enables inclusion of these HTML elements in Markdown: - Inserted Text (++inserted++) - Mark Text (==marked==) - Subscript (H~2~O) - Superscript (1^st^)
* commands: Add gen chromastyles --lineNumbersTableStyle flagJoe Mooring2024-04-20
| | | | | | For symmetry, also rename --linesStyle to --lineNumbersInlineStyle. Closes #12393
* docs: Regen docshelperBjørn Erik Pedersen2024-04-16
|
* all: Fix duplicate words in commentsEitan Adler2024-04-11
|
* tpl/tplimpl: Optionally exclude content from sitemapJoe Mooring2024-04-02
| | | | | | | | | | | | | | 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 <kolappannathan@users.noreply.github.com> Co-authored-by: felicianotech <FelicianoTech@gmail.com>
* tpl/tplimpl: Update Google Analytics template and configJoe Mooring2024-03-26
| | | | | | | | | | | | | | | | 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