mirror of
				https://github.com/pawroman/zola-theme-terminimal.git
				synced 2025-10-31 08:06:15 +01:00 
			
		
		
		
	Fix code style for Zola 0.11
It looks like Zola changed the structure for code fragments, wrapping them in `code` tag. Factor this in in theme styles so that it renders OK.
This commit is contained in:
		
							parent
							
								
									1e013d81e4
								
							
						
					
					
						commit
						4af9665d75
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		|  | @ -7,6 +7,10 @@ | |||
| 
 | ||||
| Live demo here: https://pawroman.github.io/zola-theme-terminimal/ | ||||
| 
 | ||||
| Tested with Zola v0.11.0. | ||||
| 
 | ||||
| #### Fork disclaimer | ||||
| 
 | ||||
| This theme is a fork (not a port) of "Terminal" Hugo theme | ||||
| by Radosław Kozieł (aka. panr): | ||||
| https://github.com/panr/hugo-theme-terminal | ||||
|  |  | |||
|  | @ -144,6 +144,12 @@ pre { | |||
|     white-space: pre-wrap; | ||||
|     word-wrap: break-word; | ||||
|   } | ||||
| 
 | ||||
|   code { | ||||
|     padding: 0; | ||||
|     margin: 0; | ||||
|     background: none; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| blockquote { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paweł Romanowski
						Paweł Romanowski