mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
This commit is contained in:
@@ -4,7 +4,7 @@ _comment: Do not remove front matter.
|
||||
|
||||
## PageInner details
|
||||
|
||||
{{< new-in 0.125.0 >}}
|
||||
{{< new-in 0.125.0 />}}
|
||||
|
||||
The primary use case for `PageInner` is to resolve links and [page resources](g) relative to an included `Page`. For example, create an "include" shortcode to compose a page from multiple content files, while preserving a global context for footnotes and the table of contents:
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Render hooks
|
||||
linkTitle: In this section
|
||||
|
||||
description: Create render hooks to override the rendering of Markdown to HTML.
|
||||
categories: []
|
||||
keywords: []
|
||||
|
@@ -12,7 +12,7 @@ weight: 30
|
||||
toc: true
|
||||
---
|
||||
|
||||
{{< new-in 0.132.0 >}}
|
||||
{{< new-in 0.132.0 />}}
|
||||
|
||||
## Context
|
||||
|
||||
@@ -24,13 +24,13 @@ Blockquote render hook templates receive the following [context](g):
|
||||
|
||||
###### AlertTitle
|
||||
|
||||
{{< new-in 0.134.0 >}}
|
||||
{{< new-in 0.134.0 />}}
|
||||
|
||||
(`template.HTML`) Applicable when [`Type`](#type) is `alert`, this is the alert title. See the [alerts](#alerts) section below.
|
||||
|
||||
###### AlertSign
|
||||
|
||||
{{< new-in 0.134.0 >}}
|
||||
{{< new-in 0.134.0 />}}
|
||||
|
||||
(`string`) Applicable when [`Type`](#type) is `alert`, this is the alert sign. Typically used to indicate whether an alert is graphically foldable, this is one of `+`, `-`, or an empty string. See the [alerts](#alerts) section below.
|
||||
|
||||
|
@@ -78,7 +78,7 @@ Code block render hook templates receive the following [context](g):
|
||||
|
||||
###### PageInner
|
||||
|
||||
{{< new-in 0.125.0 >}}
|
||||
{{< new-in 0.125.0 />}}
|
||||
|
||||
(`page`) A reference to a page nested via the [`RenderShortcodes`] method. [See details](#pageinner-details).
|
||||
|
||||
|
@@ -41,7 +41,7 @@ title = true
|
||||
|
||||
###### PageInner
|
||||
|
||||
{{< new-in 0.125.0 >}}
|
||||
{{< new-in 0.125.0 />}}
|
||||
|
||||
(`page`) A reference to a page nested via the [`RenderShortcodes`] method. [See details](#pageinner-details).
|
||||
|
||||
|
@@ -59,7 +59,7 @@ block = true
|
||||
|
||||
###### PageInner
|
||||
|
||||
{{< new-in 0.125.0 >}}
|
||||
{{< new-in 0.125.0 />}}
|
||||
|
||||
(`page`) A reference to a page nested via the [`RenderShortcodes`] method. [See details](#pageinner-details).
|
||||
|
||||
@@ -122,7 +122,7 @@ wrapStandAloneImageWithinParagraph = false
|
||||
|
||||
## Default
|
||||
|
||||
{{< new-in 0.123.0 >}}
|
||||
{{< new-in 0.123.0 />}}
|
||||
|
||||
Hugo includes an [embedded image render hook] to resolve Markdown image destinations. Disabled by default, you can enable it in your site configuration:
|
||||
|
||||
|
@@ -38,7 +38,7 @@ Link render hook templates receive the following context:
|
||||
|
||||
###### PageInner
|
||||
|
||||
{{< new-in 0.125.0 >}}
|
||||
{{< new-in 0.125.0 />}}
|
||||
|
||||
(`page`) A reference to a page nested via the [`RenderShortcodes`] method. [See details](#pageinner-details).
|
||||
|
||||
@@ -90,7 +90,7 @@ To include a `rel` attribute set to `external` for external links:
|
||||
|
||||
## Default
|
||||
|
||||
{{< new-in 0.123.0 >}}
|
||||
{{< new-in 0.123.0 />}}
|
||||
|
||||
Hugo includes an [embedded link render hook] to resolve Markdown link destinations. Disabled by default, you can enable it in your site configuration:
|
||||
|
||||
|
@@ -12,7 +12,7 @@ weight: 80
|
||||
toc: true
|
||||
---
|
||||
|
||||
{{< new-in 0.132.0 >}}
|
||||
{{< new-in 0.132.0 />}}
|
||||
|
||||
## Overview
|
||||
|
||||
|
@@ -12,7 +12,7 @@ weight: 90
|
||||
toc: true
|
||||
---
|
||||
|
||||
{{< new-in 0.134.0 >}}
|
||||
{{< new-in 0.134.0 />}}
|
||||
|
||||
## Context
|
||||
|
||||
|
Reference in New Issue
Block a user