summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/shortcodes/highlight.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/shortcodes/highlight.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/shortcodes/highlight.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/highlight.html b/themes/danix-xyz-hacker/layouts/shortcodes/highlight.html
new file mode 100644
index 0000000..1b6f12a
--- /dev/null
+++ b/themes/danix-xyz-hacker/layouts/shortcodes/highlight.html
@@ -0,0 +1,3 @@
+{{- $lang := .Get 0 -}}
+{{- $opts := .Get 1 | default "" -}}
+{{ highlight .Inner $lang $opts }}