diff --git a/config-examples/en/config.toml b/config-examples/en/config.toml index e0918ef7..1403e4ef 100644 --- a/config-examples/en/config.toml +++ b/config-examples/en/config.toml @@ -578,31 +578,6 @@ uglyURLs = false themeColor = "#fff" themeColorDark = "#16171d" - enableSafariMask = false - safariMaskColor = "#2a6df4" - # ATTENTION: Since https://realfavicongenerator.net/ - # no longer supports generating - # safari-pinned-tab.svg (600x600 px), - # please generate your own icon - # if necessary, move it to the - # ~/blog/static/icons/ directory, - # and finally rename it to - # safari-pinned-tab.svg. - # Otherwise, it will default to - # the icon provided by MemE. - - enableMsApplication = false - msApplicationTileColor = "#fff" - # ATTENTION: Since https://realfavicongenerator.net/ - # no longer supports generating - # mstile-150x150.png (150x150 px), - # please generate your own icon - # if necessary, move it to the - # ~/blog/static/icons/ directory, - # and finally rename it to - # mstile-150x150.png. - # Otherwise, it will default to - # the icon provided by MemE. ###################################### # HTML Head Meta, SEO & Social Discovery diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml index 93de63d0..e4819a91 100644 --- a/config-examples/zh-cn/config.toml +++ b/config-examples/zh-cn/config.toml @@ -527,23 +527,6 @@ uglyURLs = false themeColor = "#fff" themeColorDark = "#16171d" - enableSafariMask = false - safariMaskColor = "#2a6df4" - # 注意:由于 https://realfavicongenerator.net/ - # 不再支持生成 safari-pinned-tab.svg (600x600 px), - # 若启用功能, 请自行生成图标。 - # 然后将其移动到 ~/blog/static/icons/ 目录下, - # 并重命名为 safari-pinned-tab.svg。 - # 否则,将默认使用 MemE 提供的图标。 - - enableMsApplication = false - msApplicationTileColor = "#fff" - # 注意:由于 https://realfavicongenerator.net/ - # 不再支持生成 mstile-150x150.png (150x150 px), - # 若启用功能, 请自行生成图标。 - # 然后将其移动到 ~/blog/static/icons/ 目录下, - # 并重命名为 mstile-150x150.png。 - # 否则,将默认使用 MemE 提供的图标。 ###################################### # 网页头部元数据、搜索引擎优化(SEO)、社交网络发现 diff --git a/config-examples/zh-tw/config.toml b/config-examples/zh-tw/config.toml index 4fba3056..91a3b004 100644 --- a/config-examples/zh-tw/config.toml +++ b/config-examples/zh-tw/config.toml @@ -527,23 +527,6 @@ uglyURLs = false themeColor = "#fff" themeColorDark = "#16171d" - enableSafariMask = false - safariMaskColor = "#2a6df4" - # 注意:由於 https://realfavicongenerator.net/ - # 不再支援生成 safari-pinned-tab.svg (600x600 px), - # 若啟用功能, 請自行生成圖示。 - # 然後將其移到 ~/blog/static/icons/ 目錄下, - # 並重新命名為 safari-pinned-tab.svg。 - # 否則,將預設使用 MemE 提供的圖示。 - - enableMsApplication = false - msApplicationTileColor = "#fff" - # 注意:由於 https://realfavicongenerator.net/ - # 不再支援生成 mstile-150x150.png (150x150 px), - # 若啟用功能, 請自行生成圖示。 - # 然後將其移到 ~/blog/static/icons/ 目錄下, - # 並重新命名為 mstile-150x150.png。 - # 否則,將預設使用 MemE 提供的圖示。 ###################################### # 網頁頭部元資料、搜尋引擎最佳化(SEO)、社交網路發現 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a897df8e..78b834e0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -66,21 +66,6 @@ - {{ if .Site.Params.enableSafariMask }} - {{- $safariMaskIcon := "icons/safari-pinned-tab.svg" -}} - {{- $safariMaskColor := .Site.Params.safariMaskColor -}} - - {{ end }} - - {{ if .Site.Params.enableMsApplication }} - {{- $msApplicationStartURL := partial "utils/relative-url.html" (dict "$" . "filename" "") -}} - {{- $msApplicationTileColor := .Site.Params.msApplicationTileColor -}} - {{- $msApplicationTileImage := partial "utils/relative-url.html" (dict "$" . "filename" "icons/mstile-150x150.png") -}} - - - - {{ end }} - {{ with .OutputFormats.Get "SectionsAtom" -}}