forked from tsc-vfl/hugo-page
Create first content fixes
This commit is contained in:
3
themes/tsc_vfl/layouts/shortcodes/dld.html
Normal file
3
themes/tsc_vfl/layouts/shortcodes/dld.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<a target="_blank" class="download" href="{{ .Get "url" }}">
|
||||
{{ .Inner }}
|
||||
</a>
|
||||
@@ -0,0 +1,5 @@
|
||||
{{ $src := .Get "src" }}
|
||||
<img class="image float-right"
|
||||
{{ with .Get "alt" }}alt="{{ . }}"{{ end }}
|
||||
src="{{ ($.Page.Resources.GetMatch $src)}}"
|
||||
>
|
||||
Reference in New Issue
Block a user