mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-20 13:33:28 -05:00 
			
		
		
		
	See https://gohugo.io/templates/new-templatesystem-overview/ Under layouts/ - mv _default/* . - mv partials _partials - mv shortcodes _shortcodes - mv taxonomy/list.html taxonomy.html - mv taxonomy/term.html term.html
		
			
				
	
	
		
			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>
 |