mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
chore: hotlinkFeatureImages -> hotlinkFeatureImage
This commit is contained in:
@@ -23,10 +23,10 @@ disableImageOptimizationMD = false
|
|||||||
disableTextInHeader = false
|
disableTextInHeader = false
|
||||||
# backgroundImageWidth = 1200
|
# backgroundImageWidth = 1200
|
||||||
|
|
||||||
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
|
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
|
||||||
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
|
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
|
||||||
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
|
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
|
||||||
hotlinkFeatureImages = false
|
hotlinkFeatureImage = false
|
||||||
|
|
||||||
# highlightCurrentMenuArea = true
|
# highlightCurrentMenuArea = true
|
||||||
# smartTOC = true
|
# smartTOC = true
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ disableTextInHeader = false
|
|||||||
defaultBackgroundImage = "/img/background.svg"
|
defaultBackgroundImage = "/img/background.svg"
|
||||||
defaultFeaturedImage = "/img/featured.svg"
|
defaultFeaturedImage = "/img/featured.svg"
|
||||||
defaultSocialImage = "/img/blowfish_banner.png"
|
defaultSocialImage = "/img/blowfish_banner.png"
|
||||||
hotlinkFeatureImages = false
|
hotlinkFeatureImage = false
|
||||||
|
|
||||||
highlightCurrentMenuArea = true
|
highlightCurrentMenuArea = true
|
||||||
smartTOC = true
|
smartTOC = true
|
||||||
@@ -84,8 +84,8 @@ fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384",
|
|||||||
showTableOfContents = true
|
showTableOfContents = true
|
||||||
showRelatedContent = true
|
showRelatedContent = true
|
||||||
relatedContentLimit = 9
|
relatedContentLimit = 9
|
||||||
showTaxonomies = true
|
showTaxonomies = true
|
||||||
showAuthorsBadges = true
|
showAuthorsBadges = true
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email", "line"]
|
sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email", "line"]
|
||||||
showZenMode = true
|
showZenMode = true
|
||||||
@@ -130,7 +130,7 @@ fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384",
|
|||||||
groupByYear = false
|
groupByYear = false
|
||||||
cardView = true
|
cardView = true
|
||||||
cardViewScreenWidth = false
|
cardViewScreenWidth = false
|
||||||
|
|
||||||
[firebase]
|
[firebase]
|
||||||
#apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY"
|
#apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY"
|
||||||
#authDomain = "blowfish-21fff.firebaseapp.com"
|
#authDomain = "blowfish-21fff.firebaseapp.com"
|
||||||
@@ -173,4 +173,4 @@ fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384",
|
|||||||
# userId = ""
|
# userId = ""
|
||||||
|
|
||||||
[advertisement]
|
[advertisement]
|
||||||
# adsense = ""
|
# adsense = ""
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
||||||
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
||||||
| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image if available. |
|
| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image if available. |
|
||||||
| `hotlinkFeatureImages` | `false` | Hotlink external images in article feature images and article cards. Those images will not be processed by Hugo. |
|
| `hotlinkFeatureImage` | `false` | Hotlink external images in article feature images and article cards. Those images will not be processed by Hugo. |
|
||||||
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
||||||
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
||||||
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
| `defaultBackgroundImage` | _未設定_ | `background` ホームページレイアウトと `background` ヒーロースタイルの両方のデフォルトの背景画像です。 |
|
| `defaultBackgroundImage` | _未設定_ | `background` ホームページレイアウトと `background` ヒーロースタイルの両方のデフォルトの背景画像です。 |
|
||||||
| `defaultFeaturedImage` | _未設定_ | 記事全体のすべての `featured` 画像のデフォルトの背景画像です。ローカルの `featured` 画像によってオーバーライドされます。 |
|
| `defaultFeaturedImage` | _未設定_ | 記事全体のすべての `featured` 画像のデフォルトの背景画像です。ローカルの `featured` 画像によってオーバーライドされます。 |
|
||||||
| `defaultSocialImage` | _未設定_ | ソーシャルメディア共有(Open Graph と Twitter)用のデフォルト画像。ローカルの `featured` 画像によってオーバーライドされます。 |
|
| `defaultSocialImage` | _未設定_ | ソーシャルメディア共有(Open Graph と Twitter)用のデフォルト画像。ローカルの `featured` 画像によってオーバーライドされます。 |
|
||||||
| `hotlinkFeatureImages` | `false` | 記事のアイキャッチ画像や記事カードで外部画像をホットリンクします。これらの画像は Hugo によって処理されません。 |
|
| `hotlinkFeatureImage` | `false` | 記事のアイキャッチ画像や記事カードで外部画像をホットリンクします。これらの画像は Hugo によって処理されません。 |
|
||||||
| `highlightCurrentMenuArea` | _未設定_ | メインメニューのメニュー項目が選択されているときにマークを付けます。 |
|
| `highlightCurrentMenuArea` | _未設定_ | メインメニューのメニュー項目が選択されているときにマークを付けます。 |
|
||||||
| `smartTOC` | _未設定_ | スマート目次をアクティブにします。表示されている項目が強調表示されます。 |
|
| `smartTOC` | _未設定_ | スマート目次をアクティブにします。表示されている項目が強調表示されます。 |
|
||||||
| `smartTOCHideUnfocusedChildren` | _未設定_ | スマート目次がオンになっている場合、フォーカスされていないときに、テーブルのより深いレベルが非表示になります。 |
|
| `smartTOCHideUnfocusedChildren` | _未設定_ | スマート目次がオンになっている場合、フォーカスされていないときに、テーブルのより深いレベルが非表示になります。 |
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
||||||
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
||||||
| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image. |
|
| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image. |
|
||||||
| `hotlinkFeatureImages` | `false` | Hotlink external images in article feature images and article cards. Those images will not be processed by Hugo. |
|
| `hotlinkFeatureImage` | `false` | Hotlink external images in article feature images and article cards. Those images will not be processed by Hugo. |
|
||||||
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
||||||
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
||||||
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ Blowfish 提供了大量控制主题功能的配置参数,下面的表格中
|
|||||||
| `defaultBackgroundImage` | 无 | 设置默认背景图,用于 `background` 和 `hero` 布局下的主页。 |
|
| `defaultBackgroundImage` | 无 | 设置默认背景图,用于 `background` 和 `hero` 布局下的主页。 |
|
||||||
| `defaultFeaturedImage` | 无 | 设置默认背景图片,用于所有文章的`featured`图片,可以通过文章目录中的 `featured` 图片替换。 |
|
| `defaultFeaturedImage` | 无 | 设置默认背景图片,用于所有文章的`featured`图片,可以通过文章目录中的 `featured` 图片替换。 |
|
||||||
| `defaultSocialImage` | 无 | 社交媒体分享(Open Graph 和 Twitter)使用的默认图片,可以通过文章目录中的 `featured` 图片替换。 |
|
| `defaultSocialImage` | 无 | 社交媒体分享(Open Graph 和 Twitter)使用的默认图片,可以通过文章目录中的 `featured` 图片替换。 |
|
||||||
| `hotlinkFeatureImages` | `false` | 在文章特色图片和文章卡片中外链图片。这些图片不会被 Hugo 处理。 |
|
| `hotlinkFeatureImage` | `false` | 在文章特色图片和文章卡片中外链图片。这些图片不会被 Hugo 处理。 |
|
||||||
| `highlightCurrentMenuArea` | 无 | 当菜单被选择时,标记主菜单中的菜单项。 |
|
| `highlightCurrentMenuArea` | 无 | 当菜单被选择时,标记主菜单中的菜单项。 |
|
||||||
| `smartTOC` | 无 | 开启智能目录,视图中的项目将会被高亮显示。 |
|
| `smartTOC` | 无 | 开启智能目录,视图中的项目将会被高亮显示。 |
|
||||||
| `smartTOCHideUnfocusedChildren` | 无 | 当开启智能目录,如果目录级别不再被聚焦时,将会隐藏更深层次的目录。 |
|
| `smartTOCHideUnfocusedChildren` | 无 | 当开启智能目录,如果目录级别不再被聚焦时,将会隐藏更深层次的目录。 |
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
{{ with $page }}
|
{{ with $page }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
{{ with $page }}
|
{{ with $page }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
{{ with $page }}
|
{{ with $page }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
{{ with $page }}
|
{{ with $page }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ $featuredURL := "" }}
|
{{ $featuredURL := "" }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ $featuredURL := "" }}
|
{{ $featuredURL := "" }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{ $featuredURL := "" }}
|
{{ $featuredURL := "" }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
{{ $featuredURL := "" }}
|
{{ $featuredURL := "" }}
|
||||||
{{ with .Params.featureimage }}
|
{{ with .Params.featureimage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $featuredURL = . }}
|
{{ $featuredURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $featured = resources.GetRemote . }}
|
{{ $featured = resources.GetRemote . }}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{{ $defaultFeaturedImageURL := "" }}
|
{{ $defaultFeaturedImageURL := "" }}
|
||||||
{{ with site.Params.defaultFeaturedImage }}
|
{{ with site.Params.defaultFeaturedImage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $defaultFeaturedImageURL = . }}
|
{{ $defaultFeaturedImageURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $defaultFeaturedImage = resources.GetRemote . }}
|
{{ $defaultFeaturedImage = resources.GetRemote . }}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
{{ $defaultBackgroundImageURL := "" }}
|
{{ $defaultBackgroundImageURL := "" }}
|
||||||
{{ with site.Params.defaultBackgroundImage }}
|
{{ with site.Params.defaultBackgroundImage }}
|
||||||
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
|
||||||
{{ if site.Params.hotlinkFeatureImages }}
|
{{ if site.Params.hotlinkFeatureImage }}
|
||||||
{{ $defaultBackgroundImageURL = . }}
|
{{ $defaultBackgroundImageURL = . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $defaultBackgroundImage = resources.GetRemote . }}
|
{{ $defaultBackgroundImage = resources.GetRemote . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user