diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-14 11:37:40 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-14 11:37:40 -0300 |
commit | 0d2881c74335bcb9fd9c150bf209ba3d93cf3b59 (patch) | |
tree | 02f05d992833904b50a40a78b9480b596e243c68 /themes/m10c/layouts/partials | |
parent | 1985fbe5280cea489d2d11979829418bb2438153 (diff) |
Removed old theme
Diffstat (limited to 'themes/m10c/layouts/partials')
-rw-r--r-- | themes/m10c/layouts/partials/icon.html | 12 | ||||
-rw-r--r-- | themes/m10c/layouts/partials/pagination.html | 27 |
2 files changed, 0 insertions, 39 deletions
diff --git a/themes/m10c/layouts/partials/icon.html b/themes/m10c/layouts/partials/icon.html deleted file mode 100644 index 123bd23..0000000 --- a/themes/m10c/layouts/partials/icon.html +++ /dev/null @@ -1,12 +0,0 @@ -{{- if isset .ctx.Site.Data.m10c.icons .name -}} -<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-{{ .name }}"> - <title>{{ .name }}</title> - {{ safeHTML (index .ctx.Site.Data.m10c.icons .name) }} -</svg> -{{- else -}} -<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-link"> - <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path> - <path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> -</svg> -{{- end -}} - diff --git a/themes/m10c/layouts/partials/pagination.html b/themes/m10c/layouts/partials/pagination.html deleted file mode 100644 index be6fa11..0000000 --- a/themes/m10c/layouts/partials/pagination.html +++ /dev/null @@ -1,27 +0,0 @@ -{{ with $.Paginator }} -{{ if gt .TotalPages 1 }} -<ul class="pagination"> - {{ with .Prev }} - <li class="page-item"> - <a class="page-link" href="{{ .URL }}"> - {{ partial "icon.html" (dict "ctx" $ "name" "arrow-left") }} - </a> - </li> - {{ end }} - {{ range .Pagers }} - <li class="page-item{{ if eq .PageNumber $.Paginator.PageNumber }} active{{ end }}"> - <a class="page-link" href="{{ .URL }}"> - {{ .PageNumber }} - </a> - </li> - {{ end }} - {{ with .Next }} - <li class="page-item"> - <a class="page-link" href="{{ .URL }}"> - {{ partial "icon.html" (dict "ctx" $ "name" "arrow-right") }} - </a> - </li> - {{ end }} -</ul> -{{ end }} -{{ end }} |