diff options
Diffstat (limited to 'themes/lugo/layouts/shortcodes')
| -rw-r--r-- | themes/lugo/layouts/shortcodes/hidvid.html | 10 | ||||
| -rw-r--r-- | themes/lugo/layouts/shortcodes/img.html | 20 | ||||
| -rw-r--r-- | themes/lugo/layouts/shortcodes/tagcloud.html | 3 | ||||
| -rw-r--r-- | themes/lugo/layouts/shortcodes/vid.html | 6 |
4 files changed, 0 insertions, 39 deletions
diff --git a/themes/lugo/layouts/shortcodes/hidvid.html b/themes/lugo/layouts/shortcodes/hidvid.html deleted file mode 100644 index 14f592d..0000000 --- a/themes/lugo/layouts/shortcodes/hidvid.html +++ /dev/null @@ -1,10 +0,0 @@ -<details> - <summary>Click to reveal video.</summary> -<iframe src="{{ index .Params 0 }}" - loading="lazy" - sandbox="allow-same-origin allow-scripts allow-popups" - allowfullscreen frameborder="0" - class="embvid" - title="Embedded Video"> -</iframe> -</details> diff --git a/themes/lugo/layouts/shortcodes/img.html b/themes/lugo/layouts/shortcodes/img.html deleted file mode 100644 index ff7959b..0000000 --- a/themes/lugo/layouts/shortcodes/img.html +++ /dev/null @@ -1,20 +0,0 @@ -<!-- - class: class of the figure - link: url the image directs to - alt: alternative text - caption: caption - mouse: what the image says when moused over ("title" in HTML) ---> -<figure {{ with .Get "class" }}class="{{.}}"{{ end -}}> - {{- with .Get "link"}}<a href="{{.}}">{{ end -}} - <img src="{{ .Get "src" }}" - {{- with .Get "mouse" }} title="{{.}}"{{ end -}} - {{- with .Get "alt" }} alt="{{.}}"{{ end -}} - > - {{- if .Get "link"}}</a>{{ end -}} - {{- with .Get "caption" -}} - <figcaption> - {{- . -}} - </figcaption> - {{- end -}} -</figure> diff --git a/themes/lugo/layouts/shortcodes/tagcloud.html b/themes/lugo/layouts/shortcodes/tagcloud.html deleted file mode 100644 index 0cf0118..0000000 --- a/themes/lugo/layouts/shortcodes/tagcloud.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <ul id="tagcloud"> - {{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li> - {{ end }}</ul>{{ end }}{{ end }} diff --git a/themes/lugo/layouts/shortcodes/vid.html b/themes/lugo/layouts/shortcodes/vid.html deleted file mode 100644 index 4c612fe..0000000 --- a/themes/lugo/layouts/shortcodes/vid.html +++ /dev/null @@ -1,6 +0,0 @@ -<iframe src="{{ index .Params 0 }}" - loading="lazy" - sandbox="allow-same-origin allow-scripts allow-popups" - allowfullscreen frameborder="0" - title="Embedded Video"> -</iframe> |
