mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	docs: Re-integrate
This commit is contained in:
		@@ -1,11 +0,0 @@
 | 
			
		||||
{{ $file := .Get 0}}
 | 
			
		||||
{{ $filepath := $file }}
 | 
			
		||||
{{ $syntax := index (split $file ".") 1 }}
 | 
			
		||||
{{ $syntaxoverride := eq (len .Params) 2 }}
 | 
			
		||||
<div class="code-copy" id="{{$file | urlize}}">
 | 
			
		||||
	<div class="code-copy-header"><div class="action-buttons"></div><span title="" class="filename">{{$filepath}}</span><i class="icon-{{$syntax}} input"></i></div>
 | 
			
		||||
	<button class="copy-button" title="Copy to clipboard" data-clipboard-snippet>
 | 
			
		||||
			<div class="copy-text"><i class="icon-clipboard"></i> COPY</div>
 | 
			
		||||
	</button>
 | 
			
		||||
	<pre><code class="language-{{if $syntaxoverride}}{{.Get 1}}{{else}}{{$syntax}}{{end}}">{{- readFile $file -}}</code></pre>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user