mirror of
				https://github.com/imfing/hextra.git
				synced 2025-10-31 09:54:50 -04:00 
			
		
		
		
	 09728a4aa9
			
		
	
	09728a4aa9
	
	
	
		
			
			- Introduced CSS for image zoom overlay and image styling. - Implemented JavaScript for handling image zoom interactions, including overlay creation and close functionality. - Updated configuration to enable image zoom feature in site parameters. - Added partial for including image zoom assets in the layout.
		
			
				
	
	
		
			23 lines
		
	
	
		
			523 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			523 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{/* Core scripts (theme, menu, tabs, etc.) */}}
 | |
| {{- partial "scripts/core.html" . -}}
 | |
| 
 | |
| {{/* Search */}}
 | |
| {{- partial "scripts/search.html" . -}}
 | |
| 
 | |
| {{/* Mermaid */}}
 | |
| {{- if (.Store.Get "hasMermaid") -}}
 | |
|   {{- partial "scripts/mermaid.html" . -}}
 | |
| {{- end -}}
 | |
| 
 | |
| {{/* Asciinema */}}
 | |
| {{- if (.Store.Get "hasAsciinema") -}}
 | |
|   {{- partial "scripts/asciinema.html" . -}}
 | |
| {{- end -}}
 | |
| 
 | |
| {{/* Image zoom */}}
 | |
| {{- with site.Params.imageZoom }}
 | |
|   {{- if .enable }}
 | |
|     {{- partial "scripts/image-zoom.html" $ -}}
 | |
|   {{- end -}}
 | |
| {{- end -}}
 |