summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/img.html2
-rw-r--r--layouts/shortcodes/link.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html
index 4978358..c58d63a 100644
--- a/layouts/shortcodes/img.html
+++ b/layouts/shortcodes/img.html
@@ -1,5 +1,7 @@
+<!-- editorconfig-checker-disable -->
<img src="{{ .Get "src" }}"
{{- with .Get "alt" }} alt="{{ . }}"{{ end }}
{{- with .Get "width" }} width="{{ . }}"{{ end }}
{{- with .Get "height" }} height="{{ . }}"{{ end }}
{{- with .Get "class" }} class="{{ . }}"{{ end }}>
+<!-- editorconfig-checker-enable -->
diff --git a/layouts/shortcodes/link.html b/layouts/shortcodes/link.html
index 3778d83..ff84a6c 100644
--- a/layouts/shortcodes/link.html
+++ b/layouts/shortcodes/link.html
@@ -1,3 +1,4 @@
+<!-- editorconfig-checker-disable -->
<a href="{{ .Get "src" | absURL }}"
{{- with .Get "hreflang" }} hreflang="{{ . }}"{{ end }}
{{- with .Get "title" }} title="{{ . }}"{{ end }}
@@ -6,3 +7,4 @@
{{- with .Get "rel" }} rel="{{ . }}"{{ end }}>
{{- .Inner -}}
</a>
+<!-- editorconfig-checker-enable -->