Clean up directory structure of partials and .Render templates

This commit is contained in:
bbaovanc committed 2021-11-22 01:57:35 -06:00
1 parent 8067173f0c
commit f77c61b561
25 files changed
+28 -28

No files matched your search

@@ -0,0 +1,13 @@
{{ if and .Site.Params.gitFileURL .File.Path }}
<span class="post-meta-item">
{{ with .Site.Params.gitFileIcon }}
{{ partial "icon.html" . }}
{{ else }}
{{ partial "icon.html" "file" }}
{{ end }}
<a href="{{ printf "%s/content/%s" .Site.Params.gitFileURL .File.Path }}" target="_blank" rel="noopener">
View source
</a>
</span>
{{ end }}