redesign 2023
This commit is contained in:
		
							
								
								
									
										48
									
								
								themes/FixIt/layouts/partials/head/link.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								themes/FixIt/layouts/partials/head/link.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| {{- $cdn := .Scratch.Get "cdn" | default dict -}} | ||||
| {{- $fingerprint := .Scratch.Get "fingerprint" -}} | ||||
|  | ||||
| {{- if not .Site.Params.app.noFavicon -}} | ||||
|   {{- with .Site.Params.app.svgFavicon -}} | ||||
|     <link rel="icon" href="{{ . }}"> | ||||
|   {{- else -}} | ||||
|     <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> | ||||
|     <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> | ||||
|     <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> | ||||
|   {{- end -}} | ||||
|   <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> | ||||
|   {{- with .Site.Params.app.iconColor -}} | ||||
|     <link rel="mask-icon" href="/safari-pinned-tab.svg" color="{{ . }}"> | ||||
|   {{- end -}} | ||||
|   {{- if eq .Site.Params.enablePWA true -}} | ||||
|     <link rel="manifest" href="/site.webmanifest"> | ||||
|   {{- end -}} | ||||
| {{- end -}} | ||||
|  | ||||
| <link rel="canonical" href="{{ .Permalink }}" /> | ||||
| {{- if .PrevInSection -}} | ||||
|   <link rel="prev" href="{{ .PrevInSection.Permalink }}" /> | ||||
| {{- end -}} | ||||
| {{- if .NextInSection -}} | ||||
|   <link rel="next" href="{{ .NextInSection.Permalink }}" /> | ||||
| {{- end -}} | ||||
|  | ||||
| {{- with .OutputFormats.Get "RSS" -}} | ||||
|   <link rel="alternate" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ $.Site.Title }}"> | ||||
|   <link rel="feed" href="{{ .RelPermalink }}" type="application/rss+xml" title="{{ $.Site.Title }}"> | ||||
| {{- end -}} | ||||
|  | ||||
| {{- /* style.min.css */ -}} | ||||
| {{- $style := dict "Source" "css/style.scss" "Fingerprint" $fingerprint -}} | ||||
| {{- $options := dict "targetPath" "css/style.min.css" "enableSourceMap" true -}} | ||||
| {{- $style = dict "Context" . "ToCSS" $options | merge $style -}} | ||||
| {{- partial "plugin/style.html" $style -}} | ||||
|  | ||||
| {{- /* Font Awesome */ -}} | ||||
| {{- $source := $cdn.fontawesomeFreeCSS | default "lib/fontawesome-free/all.min.css" -}} | ||||
| {{- $style := dict "Source" $source "Fingerprint" $fingerprint -}} | ||||
| {{- partial "plugin/style.html" $style -}} | ||||
|  | ||||
| {{- /* Animate.css */ -}} | ||||
| {{- $source := $cdn.animateCSS | default "lib/animate/animate.min.css" -}} | ||||
| {{- $style := dict "Source" $source "Fingerprint" $fingerprint -}} | ||||
| {{- partial "plugin/style.html" $style -}} | ||||
		Reference in New Issue
	
	Block a user
	 m3tam3re
					m3tam3re