dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo_theme_compose
mirror of
https://github.com/onweru/compose.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Create LICENSE
one
04.32.2020
87ee5d9cfd1640e120056a79243cb20aea4db591
[external-software/github_gohugo_theme_compose.git]
/
exampleSite
/
compose
/
layouts
/
shortcodes
/
readfile.html
1
2
3
4
5
6
7
8
{{$file := .Get "file"}}
{{- if eq (.Get "markdown") "true" -}}
{{- $file | readFile | markdownify -}}
{{- else if (.Get "highlight") -}}
{{- highlight ($file | readFile) (.Get "highlight") "" -}}
{{- else -}}
{{ $file | readFile | safeHTML }}
{{- end -}}