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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-02-15 22:03:18 +0300
committerDillon <dillonzq@outlook.com>2020-02-15 22:03:18 +0300
commit2f8123bfa60411634af3b3bedb55aaa49de153f6 (patch)
treef6ac5e7777ffd4770a654b89ce855bd61ad6f326 /layouts/shortcodes
parent730ce7a1cabd23ab6d80bf36d045bceb434f4665 (diff)
chore(deps): remove jQuery
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/countdown.html12
1 files changed, 0 insertions, 12 deletions
diff --git a/layouts/shortcodes/countdown.html b/layouts/shortcodes/countdown.html
deleted file mode 100644
index 749e172..0000000
--- a/layouts/shortcodes/countdown.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{- if .Get "date" -}}
- {{- $date := .Get "date" -}}
- {{- $id := delimit (split (md5 $date) "" | shuffle) "" | printf "countdown-%s" -}}
- {{- $defaultPattern := printf "%%D %s %%H %s %%M %s %%S %s" (T "day") (T "hour") (T "minute") (T "second") -}}
- {{- $new := dict $id (dict "date" $date "pattern" (.Get "pattern" | default $defaultPattern)) -}}
- {{- with .Page.Scratch.Get "countdownMap" -}}
- {{- .Page.Scratch.Set "countdownMap" (merge . $new) -}}
- {{- else -}}
- {{- .Page.Scratch.Set "countdownMap" $new -}}
- {{- end -}}
- <div id="{{ $id }}" style={{ .Get "style" | safeCSS }}></div>
-{{- end -}}