mirror of
				https://github.com/imfing/hextra.git
				synced 2025-11-03 19:54:52 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			386 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			386 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{- /*
 | 
						|
A shortcode for displaying a hero subtitle.
 | 
						|
 | 
						|
@param {string} style The style of the subtitle.
 | 
						|
 | 
						|
@example {{< hextra/hero-subtitle >}}{{< /hextra/hero-subtitle >}}
 | 
						|
*/ -}}
 | 
						|
 | 
						|
{{- $style := .Get "style" -}}
 | 
						|
 | 
						|
<p
 | 
						|
  class="not-prose hx:text-xl hx:text-gray-600 hx:dark:text-gray-400 hx:sm:text-xl"
 | 
						|
  {{ with $style }}style="{{ . | safeCSS }}"{{ end }}
 | 
						|
>
 | 
						|
  {{ .Inner | markdownify }}
 | 
						|
</p>
 |