Skip to content

Commit

Permalink
chore: remove discontinued icons
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 19, 2025
1 parent 60232ad commit 753d76d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 74 deletions.
25 changes: 0 additions & 25 deletions config-examples/en/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 0 additions & 17 deletions config-examples/zh-cn/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)、社交网络发现
Expand Down
17 changes: 0 additions & 17 deletions config-examples/zh-tw/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)、社交網路發現
Expand Down
15 changes: 0 additions & 15 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,6 @@
<meta name="application-name" content="{{ .Site.Title }}" />
<link rel="manifest" href="{{ $manifest | relURL }}" />

{{ if .Site.Params.enableSafariMask }}
{{- $safariMaskIcon := "icons/safari-pinned-tab.svg" -}}
{{- $safariMaskColor := .Site.Params.safariMaskColor -}}
<link rel="mask-icon" href="{{ $safariMaskIcon | relURL }}" color="{{ $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") -}}
<meta name="msapplication-starturl" content="{{ $msApplicationStartURL }}" />
<meta name="msapplication-TileColor" content="{{ $msApplicationTileColor }}" />
<meta name="msapplication-TileImage" content="{{ $msApplicationTileImage }}" />
{{ end }}

<!-- Atom / RSS -->
{{ with .OutputFormats.Get "SectionsAtom" -}}
<link rel="{{ .Rel }}" type="{{ .MediaType }}" href="{{ .Permalink }}" title="{{ $.Site.Title }}" />
Expand Down

0 comments on commit 753d76d

Please sign in to comment.