From 29d309db5196099982d96933acdc4c0d0ae45436 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sat, 25 Apr 2020 16:50:56 -0300 Subject: Initial commit, migrating from Ghost --- themes/m10c/layouts/partials/icon.html | 12 ++++++++++++ themes/m10c/layouts/partials/pagination.html | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 themes/m10c/layouts/partials/icon.html create mode 100644 themes/m10c/layouts/partials/pagination.html (limited to 'themes/m10c/layouts/partials') diff --git a/themes/m10c/layouts/partials/icon.html b/themes/m10c/layouts/partials/icon.html new file mode 100644 index 0000000..123bd23 --- /dev/null +++ b/themes/m10c/layouts/partials/icon.html @@ -0,0 +1,12 @@ +{{- if isset .ctx.Site.Data.m10c.icons .name -}} + + {{ .name }} + {{ safeHTML (index .ctx.Site.Data.m10c.icons .name) }} + +{{- else -}} + + + + +{{- end -}} + diff --git a/themes/m10c/layouts/partials/pagination.html b/themes/m10c/layouts/partials/pagination.html new file mode 100644 index 0000000..be6fa11 --- /dev/null +++ b/themes/m10c/layouts/partials/pagination.html @@ -0,0 +1,27 @@ +{{ with $.Paginator }} +{{ if gt .TotalPages 1 }} + +{{ end }} +{{ end }} -- cgit v1.2.3