0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 00:20:26 +03:00

Minor changes

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2018-04-25 02:15:04 +04:00
parent 023d6ce03d
commit 50d2a17ec6
9 changed files with 17 additions and 19 deletions

View File

@ -1,6 +1,6 @@
{% assign alternative = include.alt | strip_newlines | strip_html | strip | normalize_whitespace | smartify | downcase | capitalize %}
{% assign alternative = include.alt | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
{% 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 %}
{% assign source = include.src | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape %}
<a href="#{{ identifier }}">
<img alt="{{ alternative }}" src="{{ source }}" />