소스 검색

Add favicons to site head

Apis Necros 2 년 전
부모
커밋
61b08e8e6d
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      layouts/partials/head.html

+ 8 - 0
layouts/partials/head.html

@@ -12,6 +12,14 @@
 	{{- $title := print .Title " - " .Site.Title }}
 	{{ if .IsHome }} {{ $title = .Site.Title }} {{ end }}
 	<title>{{ $title }}</title>
+	
+	<!-- favicons -->
+	<link rel="apple-touch-icon" sizes="180x180" href="/imgs/favicons/apple-touch-icon.png">
+	<link rel="icon" type="image/png" sizes="32x32" href="/imgs/favicons/favicon-32x32.png">
+	<link rel="icon" type="image/png" sizes="16x16" href="/imgs/favicons/favicon-16x16.png">
+	<link rel="manifest" href="/site.webmanifest">
+	<meta name="msapplication-TileColor" content="#da532c">
+	<meta name="theme-color" content="#ffffff">
 
 	<meta name="canonical" content="{{ .Permalink }}" />