Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordataCobra <datacobra@mailbox.org>2020-11-30 10:08:25 +0300
committerdataCobra <datacobra@mailbox.org>2020-11-30 10:08:25 +0300
commitf8af5aeb734c72d2ecbfb53d5d41d574c6f3a7cb (patch)
tree5ee3d6e960cbaf310633fdd82b16bb1baabafc11
parentfa8849874c8bbb4f859e35f7e3224a3e0f08e59a (diff)
parent2bfee2a66d158ed0f2c45dce7ae031ee9dead637 (diff)
Merge pull request #39 from nardoyala/master
Render images inside <figure> tags Reformat the code in render-image.html
-rw-r--r--layouts/_default/_markup/render-image.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
new file mode 100644
index 0000000..6264f3a
--- /dev/null
+++ b/layouts/_default/_markup/render-image.html
@@ -0,0 +1,3 @@
+<figure>
+ <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title }} title="{{ . }}" {{ end }} />
+</figure> \ No newline at end of file