From f2a39a7fddaf954931ae0c1d2d50fb16b218e0db Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 3 Sep 2022 14:05:26 +0800 Subject: [PATCH] :art: Style(link): modify external link icon color --- layouts/partials/plugin/link.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/plugin/link.html b/layouts/partials/plugin/link.html index 96d6a0ab..1dbaa233 100644 --- a/layouts/partials/plugin/link.html +++ b/layouts/partials/plugin/link.html @@ -41,12 +41,12 @@ | and (eq ((strings.HasSuffix .Content ``) | or (strings.HasSuffix .Content `):`)) false) -}} {{- if .Download -}} - {{- dict "Class" "fa-solid fa-cloud-download-alt fa-fw ms-1" | partial "plugin/icon.html" -}} + {{- dict "Class" "fa-solid fa-cloud-download-alt fa-fw ms-1 text-secondary" | partial "plugin/icon.html" -}} {{- else -}} - {{- dict "Class" "fa-solid fa-external-link-alt fa-fw fa-xs ms-1" | partial "plugin/icon.html" -}} + {{- dict "Class" "fa-solid fa-external-link-alt fa-fw fa-xs ms-1 text-secondary" | partial "plugin/icon.html" -}} {{- end -}} {{- else if .Download }} - {{- dict "Class" "fa-solid fa-download fa-fw ms-1" | partial "plugin/icon.html" -}} + {{- dict "Class" "fa-solid fa-download fa-fw ms-1 text-secondary" | partial "plugin/icon.html" -}} {{- end -}} {{- else -}}