Merge pull request #16 from kalbasit/hugo-theme-terminal_allow-custom-javascript
render an extended placeholder for head and footer
This commit is contained in:
		
						commit
						efad1bff26
					
				
							
								
								
									
										4
									
								
								layouts/partials/extended_footer.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								layouts/partials/extended_footer.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| <!-- | ||||
| To add an extended footer section, please create | ||||
| `layouts/partials/extended_footer.html` in your Hugo directory. | ||||
| --> | ||||
							
								
								
									
										4
									
								
								layouts/partials/extended_head.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								layouts/partials/extended_head.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| <!-- | ||||
| To add an extended head section, please create | ||||
| `layouts/partials/extended_head.html` in your Hugo directory. | ||||
| --> | ||||
| @ -13,3 +13,6 @@ | ||||
| 
 | ||||
| <script src="{{ "assets/main.js" | absURL }}"></script> | ||||
| <script src="{{ "assets/prism.js" | absURL }}"></script> | ||||
| 
 | ||||
| <!-- Extended footer section--> | ||||
| {{ partial "extended_footer.html" . }} | ||||
|  | ||||
| @ -50,3 +50,6 @@ | ||||
| {{ if .OutputFormats.Get "json" }} | ||||
| <link href="{{ if .OutputFormats.Get "json" }}{{ "feed.json" | absURL }}{{ end }}" rel="alternate" type="application/json" title="{{ $.Site.Title }}" /> | ||||
| {{ end }} | ||||
| 
 | ||||
| <!-- Extended head section--> | ||||
| {{ partial "extended_head.html" . }} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user