mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-11-04 02:37:54 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			415 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			415 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{ $type := "text" }}
 | 
						|
{{ with .Type }}
 | 
						|
    {{ $type = . }}
 | 
						|
{{ end }}
 | 
						|
<div class="code-block">
 | 
						|
    <div class="code-header">
 | 
						|
        <pre class="code-type">{{ $type }}</pre>
 | 
						|
        <a href="javascript:void(0)" class="code-copy-button">
 | 
						|
            {{ i18n "copy_to_clipboard" }}
 | 
						|
        </a>
 | 
						|
    </div>
 | 
						|
 | 
						|
    {{/* a div.highlight is already created by highlight function */}}
 | 
						|
    {{ highlight .Inner $type }}
 | 
						|
</div>
 |