This commit is contained in:
		
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							| @@ -7,3 +7,6 @@ | ||||
| [submodule "themes/PaperMod"] | ||||
| 	path = themes/PaperMod | ||||
| 	url = https://github.com/adityatelange/hugo-PaperMod.git | ||||
| [submodule "themes/plausible-hugo"] | ||||
| 	path = themes/plausible-hugo | ||||
| 	url = https://github.com/divinerites/plausible-hugo | ||||
|   | ||||
							
								
								
									
										35
									
								
								config.yml
									
									
									
									
									
								
							
							
						
						
									
										35
									
								
								config.yml
									
									
									
									
									
								
							| @@ -3,6 +3,41 @@ enableRobotsTXT: true | ||||
| baseurl: "https://andrewnw.xyz" | ||||
| title: "Andrew's Website" | ||||
|  | ||||
| theme:  | ||||
|   - PaperMod | ||||
|   - plausible-hugo | ||||
|  | ||||
| params: | ||||
|   csp: | ||||
|     childsrc: | ||||
|       - "'self'" | ||||
|     fontsrc: | ||||
|       - "'self'" | ||||
|     formaction: | ||||
|       - "'self'" | ||||
|     framesrc: | ||||
|       - "'self'" | ||||
|     imgsrc: | ||||
|       - "'self'" | ||||
|     objectsrc: | ||||
|       - "'none'" | ||||
|     stylesrc: | ||||
|       - "'self'" | ||||
|     scriptsrc: | ||||
|       - "'self'" | ||||
|       - "'https://stats.andrewnw.com'" | ||||
|  | ||||
|   plausible: | ||||
|     enable: true | ||||
|     domain: andrewnw.xyz | ||||
|     outbound_link: true | ||||
|     selfhosted_domain: "stats.andrewnw.com"  # Self-hosted plausible domain | ||||
|  | ||||
|  | ||||
| module: | ||||
|   imports: | ||||
|     - path: plausible-hugo | ||||
|  | ||||
|  | ||||
| pygmentsstyle: "bw" | ||||
| pygmentscodefences: true | ||||
|   | ||||
| @@ -1,28 +0,0 @@ | ||||
| {{- if lt hugo.Version "0.112.4" }} | ||||
| {{- errorf "=> hugo v0.112.4 or greater is required for hugo-PaperMod to build " }} | ||||
| {{- end -}} | ||||
|  | ||||
| <!DOCTYPE html> | ||||
| <html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}"> | ||||
|  | ||||
| <head> | ||||
|     {{- partial "head.html" . }} | ||||
|     {{ partialCached "analytics.html" . }} | ||||
| </head> | ||||
|  | ||||
| <body class=" | ||||
| {{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}} | ||||
| {{- print "list" -}} | ||||
| {{- end -}} | ||||
| {{- if eq site.Params.defaultTheme `dark` -}} | ||||
| {{- print " dark" }} | ||||
| {{- end -}} | ||||
| " id="top"> | ||||
|     {{- partialCached "header.html" . .Page -}} | ||||
|     <main class="main"> | ||||
|         {{- block "main" . }}{{ end }} | ||||
|     </main> | ||||
|     {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} | ||||
| </body> | ||||
|  | ||||
| </html> | ||||
							
								
								
									
										1
									
								
								themes/plausible-hugo
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								themes/plausible-hugo
									
									
									
									
									
										Submodule
									
								
							 Submodule themes/plausible-hugo added at 156a047888
									
								
							
		Reference in New Issue
	
	Block a user