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

github.com/dzello/reveal-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/shortcodes/fragment.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/shortcodes/fragment.html b/layouts/shortcodes/fragment.html
index bcd5627..ecdebfb 100644
--- a/layouts/shortcodes/fragment.html
+++ b/layouts/shortcodes/fragment.html
@@ -1,6 +1,4 @@
{{/* Render .Inner before processing the shortcode. */}}
{{ $_hugo_config := `{ "version": 1 }` }}
-<span class='fragment {{ .Get "class" }}'
- {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>
- {{ .Inner }}
-</span> \ No newline at end of file
+<span class='fragment {{ .Get "class" }}' {{ with .Get "index" }}data-fragment-index='{{ . }}'{{ end }}>{{ .Inner }}</span>
+