From 023d6ce03d89b37b5bdbf628f66b0c72e348c23a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 25 Apr 2018 01:56:34 +0400 Subject: Code snippets for inserting images Signed-off-by: Valentin Popov --- _includes/image.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 _includes/image.html diff --git a/_includes/image.html b/_includes/image.html new file mode 100644 index 0000000..d6be65c --- /dev/null +++ b/_includes/image.html @@ -0,0 +1,11 @@ +{% assign alternative = include.alt | strip_newlines | strip_html | strip | normalize_whitespace | smartify | downcase | capitalize %} +{% assign identifier = include.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify %} +{% assign source = include.src | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape %} + + + {{ alternative }} + + + + {{ alternative }} + -- cgit v1.2.3