edited post
This commit is contained in:
parent
290affc6a8
commit
73df1eb355
|
@ -73,8 +73,8 @@ params:
|
||||||
safari_pinned_tab: "https://blog.morgan.kr/favicon.ico"
|
safari_pinned_tab: "https://blog.morgan.kr/favicon.ico"
|
||||||
|
|
||||||
label:
|
label:
|
||||||
icon: /favicon.png
|
icon: /favicon-inv.png
|
||||||
icon_dark: /favicon-inv.png
|
icon_inv: /favicon.png
|
||||||
iconHeight: 24
|
iconHeight: 24
|
||||||
|
|
||||||
analytics:
|
analytics:
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
document.body.classList.add('dark');
|
document.body.classList.add('dark');
|
||||||
localStorage.setItem("pref-theme", 'dark');
|
localStorage.setItem("pref-theme", 'dark');
|
||||||
{{- if site.Params.label.icon_dark }}
|
{{- if site.Params.label.icon_dark }}
|
||||||
document.getElementById('main-logo').src = "{{site.Params.label.icon_dark}}";
|
document.getElementById('main-logo').src = "{{site.Params.label.icon_inv}}";
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue