mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 04:06:36 +00:00 
			
		
		
		
	Add style partial
This commit is contained in:
		
							parent
							
								
									bf2b352d82
								
							
						
					
					
						commit
						d50b81cc05
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -3,6 +3,7 @@
 | 
				
			||||||
    <head>
 | 
					    <head>
 | 
				
			||||||
        <meta charset="utf-8">
 | 
					        <meta charset="utf-8">
 | 
				
			||||||
        <title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
 | 
					        <title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
 | 
				
			||||||
 | 
					        {{ partial "style.html" "scss/style.scss" }}
 | 
				
			||||||
    </head>
 | 
					    </head>
 | 
				
			||||||
    <body>
 | 
					    <body>
 | 
				
			||||||
        {{ block "main" . }}{{ end }}
 | 
					        {{ block "main" . }}{{ end }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								layouts/partials/style.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								layouts/partials/style.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					{{ $style := resources.Get . | toCSS | minify | fingerprint }}
 | 
				
			||||||
 | 
					<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue