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:
Diffstat (limited to 'layouts/partials/plugin/timeago.html')
-rw-r--r--layouts/partials/plugin/timeago.html19
1 files changed, 0 insertions, 19 deletions
diff --git a/layouts/partials/plugin/timeago.html b/layouts/partials/plugin/timeago.html
deleted file mode 100644
index c8e6399..0000000
--- a/layouts/partials/plugin/timeago.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{{- $fingerprint := .Scratch.Get "fingerprint" -}}
-{{- $timeAgoLang := .Site.Params.TimeAgo.Lang -}}
-{{- $timeAgoEnable := .Site.Params.TimeAgo.Enable -}}
-
-{{- if $timeAgoEnable }}
-{{- /* Timeago script */ -}}
-{{- dict "Source" "js/timeago.min.js" "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
-{{- $_ := (resources.Get "js/timeago.min.js.map").RelPermalink -}}
-
-{{- if $timeAgoLang }}
-{{- /* Timeago language script */ -}}
-{{- dict "Source" (printf "js/timeago/timeago.%v.min.js" $timeAgoLang) "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
-{{- $_ := (resources.Get (printf "js/timeago/timeago.%v.min.js.map" $timeAgoLang)).RelPermalink -}}
-{{- end -}}
-
-{{- /* Timeago starter script */ -}}
-{{- dict "Source" "js/timeago_starter.min.js" "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
-{{- $_ := (resources.Get "js/timeago_starter.min.js.map").RelPermalink -}}
-{{- end -}} \ No newline at end of file