mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
14 lines
341 B
HTML
14 lines
341 B
HTML
|
{{ with .Site.Params.gitFileURL }}
|
||
|
<span class="post-meta-item">
|
||
|
{{ with $.Site.Params.gitFileIcon }}
|
||
|
{{ partial "icon.html" . }}
|
||
|
{{ else }}
|
||
|
{{ partial "icon.html" "file" }}
|
||
|
{{ end }}
|
||
|
|
||
|
<a href="{{ printf "%s/content/%s" . $.File.Path }}" target="_blank" rel="noopener">
|
||
|
View source
|
||
|
</a>
|
||
|
</span>
|
||
|
{{ end }}
|