hugo

Fork of github.com/gohugoio/hugo with reverse pagination support

git clone git://git.shimmy1996.com/hugo.git

code.html (741B)

    1 <div class="code relative bg-primary-color moon-gray" id="{{.Get "file" | urlize}}">
    2 	{{- with .Get "file" -}}
    3 		<div class="filename san-serif f6 dib lh-solid pl2 pv2">{{.}}</div>
    4 	{{- end -}}
    5 
    6 	{{ if ne (.Get "copy") "false" }}
    7 		<button class="needs-js copy bg-accent-color-dark f6 absolute top-0 right-0 lh-solid hover-bg-primary-color-dark bn white ph3 pv2" title="Copy this code to your clipboard." data-clipboard-action="copy" aria-label="copy button">
    8 		</button>
    9 		{{/* Functionality located within filesaver.js The copy here is located in the css with .copy class so it can be replaced with JS on success */}}
   10 	{{end}}
   11 	<div class="code-copy-content nt3" {{with .Get "download"}}id="{{.}}"{{end}}>
   12 		{{- .Inner -}}
   13 	</div>
   14 
   15 </div>