update
This commit is contained in:
		
							parent
							
								
									16cfd3a2d3
								
							
						
					
					
						commit
						5dca30a165
					
				| @ -18,16 +18,12 @@ | |||||||
|   {{ hugo.Generator }} |   {{ hugo.Generator }} | ||||||
| 
 | 
 | ||||||
|   {{- $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/") -}} |   {{- $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/") -}} | ||||||
|   {{- if hugo.IsServer }} |  | ||||||
|   <link rel="stylesheet" href="{{ $styles.RelPermalink }}" /> |  | ||||||
|   {{ else }} |  | ||||||
|   {{- $styles := $styles| minify | fingerprint | resources.PostProcess -}} |   {{- $styles := $styles| minify | fingerprint | resources.PostProcess -}} | ||||||
|   <link |   <link | ||||||
|     rel="stylesheet" |     rel="stylesheet" | ||||||
|     href="{{ $styles.Permalink }}" |     href="{{ $styles.Permalink }}" | ||||||
|     integrity="{{ $styles.Data.Integrity }}" |     integrity="{{ $styles.Data.Integrity }}" | ||||||
|   /> |   /> | ||||||
|   {{ end -}} |  | ||||||
| 
 | 
 | ||||||
|   <!-- KaTeX support --> |   <!-- KaTeX support --> | ||||||
|   {{ if .Params.math }} |   {{ if .Params.math }} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user