mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 01:53:30 -05:00 
			
		
		
		
	WIP create markdown output template
This commit is contained in:
		
							
								
								
									
										9
									
								
								layouts/_default/single.markdown.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								layouts/_default/single.markdown.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| {{ with .File -}} | ||||
|   {{ with (.Path | readFile) -}} | ||||
|     {{ . -}} | ||||
|   {{ else -}} | ||||
|     {{ errorf "file not found: %s" .Path -}} | ||||
|   {{ end -}} | ||||
| {{ else -}} | ||||
|   {{ errorf "no file available for markdown template?" -}} | ||||
| {{ end -}} | ||||
		Reference in New Issue
	
	Block a user