Fix warning on deprecated front matter key 'build'

This commit is contained in:
Andreas Deininger
2025-06-03 23:05:17 +02:00
parent 80e9daaf67
commit 8fdd687640
8 changed files with 12 additions and 12 deletions

View File

@@ -198,7 +198,7 @@ date: 2022-01-25
externalUrl: "https://medium.com/"
summary: "I wrote a post on Medium."
showReadingTime: false
_build:
build:
render: "false"
list: "local"
---
@@ -206,7 +206,7 @@ _build:
Along with the normal front matter parameters like `title` and `summary`, the `externalUrl` parameter is used to tell Blowfish that this is not an ordinary article. The URL provided here will be where visitors are directed when they select this article.
Additionally, we use a special Hugo front matter parameter `_build` to prevent a normal page for this content being generated - there's no point generating a page since we're linking to an external URL!
Additionally, we use a special Hugo front matter parameter `build` to prevent a normal page for this content being generated - there's no point generating a page since we're linking to an external URL!
The theme includes an archetype to make generating these external link articles simple. Just specify `-k external` when making new content.

View File

@@ -198,7 +198,7 @@ date: 2022-01-25
externalUrl: "https://medium.com/"
summary: "Medium に記事を投稿しました。"
showReadingTime: false
_build:
build:
render: "false"
list: "local"
---
@@ -206,7 +206,7 @@ _build:
`title``summary` などの通常の Front Matter パラメータに加えて、`externalUrl` パラメータは、これが通常の記事ではないことを Blowfish に伝えるために使用されます。ここに指定された URL は、訪問者がこの記事を選択した際にリダイレクトされる場所です。
さらに、特別な Hugo フロントマターパラメータ `_build` を使用して、このコンテンツの通常のページが生成されないようにします。外部リンクにリダイレクトするため、ページを生成する必要はありません。
さらに、特別な Hugo フロントマターパラメータ `build` を使用して、このコンテンツの通常のページが生成されないようにします。外部リンクにリダイレクトするため、ページを生成する必要はありません。
テーマには、外部リンク記事を簡単に作成するためのアーキタイプが含まれています。新しいコンテンツを作成する際に、`-k external` を指定するだけです。

View File

@@ -198,7 +198,7 @@ date: 2022-01-25
externalUrl: "https://medium.com/"
summary: "I wrote a post on Medium."
showReadingTime: false
_build:
build:
render: "false"
list: "local"
---
@@ -206,7 +206,7 @@ _build:
Along with the normal front matter parameters like `title` and `summary`, the `externalUrl` parameter is used to tell Blowfish that this is not an ordinary article. The URL provided here will be where visitors are directed when they select this article.
Additionally, we use a special Hugo front matter parameter `_build` to prevent a normal page for this content being generated - there's no point generating a page since we're linking to an external URL!
Additionally, we use a special Hugo front matter parameter `build` to prevent a normal page for this content being generated - there's no point generating a page since we're linking to an external URL!
The theme includes an archetype to make generating these external link articles simple. Just specify `-k external` when making new content.

View File

@@ -198,7 +198,7 @@ date: 2022-01-25
externalUrl: "https://medium.com/"
summary: "我在Medium上写了一篇文章。"
showReadingTime: false
_build:
build:
render: "false"
list: "local"
---
@@ -206,7 +206,7 @@ _build:
除了像 `title``summary` 这种普通的扉页参数外,需要设置 `externalUrl` 参数来告诉 Blowfish 这不是一篇普通的文章。访问者在访问后,会被重定向到这里提供的 URL。
此外,我们使用了 `_build` 参数来避免 Hugo 生成一个普通页面。因为我们是一个连接到外部的 URL生成页面是没有意义的。
此外,我们使用了 `build` 参数来避免 Hugo 生成一个普通页面。因为我们是一个连接到外部的 URL生成页面是没有意义的。
Hugo 中可以通过命令来快速生成一个外部链接的文件,在创建新的外部链接是,只需要指定 `-k external` 即可。这让生成外部链接文章变得更简单。

View File

@@ -4,7 +4,7 @@ date: 2019-01-24
externalUrl: "https://n9o.xyz/projects/"
summary: "The `externalUrl` front matter parameter can link to any URL."
showReadingTime: true
_build:
build:
render: "false"
list: "local"
type: 'sample'

View File

@@ -4,7 +4,7 @@ date: 2019-01-24
externalUrl: "https://n9o.xyz/projects/"
summary: "`externalUrl` 表示は任意の URL にリンクすることができます。"
showReadingTime: true
_build:
build:
render: "false"
list: "local"
type: 'sample'

View File

@@ -4,7 +4,7 @@ date: 2019-01-24
externalUrl: "https://n9o.xyz/projects/"
summary: "The `externalUrl` front matter parameter can link to any URL."
showReadingTime: true
_build:
build:
render: "false"
list: "local"
type: 'sample'

View File

@@ -4,7 +4,7 @@ date: 2019-01-24
externalUrl: "https://n9o.xyz/projects/"
summary: "`externalUrl` front matter 参数可以链接到任何外部 URL."
showReadingTime: true
_build:
build:
render: "false"
list: "local"
type: 'sample'