diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 21:01:11 +0200 |
commit | 582a8a33aff644a6b07534aaf677973abc6f154c (patch) | |
tree | 069a34670b1b91041ef9f3fcb73192dd05c60963 /themes/LoveIt/layouts/index.html | |
parent | 038eabdda56dbfdbbba4328ac035cc4d77e8d80d (diff) |
use different theme that is a lot slimer
Diffstat (limited to 'themes/LoveIt/layouts/index.html')
-rw-r--r-- | themes/LoveIt/layouts/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/themes/LoveIt/layouts/index.html b/themes/LoveIt/layouts/index.html deleted file mode 100644 index 7cccb54..0000000 --- a/themes/LoveIt/layouts/index.html +++ /dev/null @@ -1,41 +0,0 @@ -{{- define "content" -}} - {{- $params := .Scratch.Get "params" -}} - {{- $profile := .Site.Params.home.profile -}} - {{- $posts := .Site.Params.home.posts -}} - - <div class="page home"{{ if ne $posts.enable false }} data-home="posts"{{ end }}> - {{- /* Profile */ -}} - {{- if ne $profile.enable false -}} - {{- partial "home/profile.html" . -}} - {{- end -}} - - {{- /* Content */ -}} - {{- if .Content -}} - <div class="single"> - <div class="content" id="content"> - {{- dict "Content" .Content "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}} - </div> - </div> - {{- end -}} - - {{- /* Posts */ -}} - {{- if ne $posts.enable false | and .Site.RegularPages -}} - {{- /* Paginate */ -}} - {{- $pages := where .Site.RegularPages "Type" "posts" -}} - {{- if .Site.Params.page.hiddenFromHomePage -}} - {{- $pages = where $pages "Params.hiddenfromhomepage" false -}} - {{- else -}} - {{- $pages = where $pages "Params.hiddenfromhomepage" "!=" true -}} - {{- end -}} - {{- with $posts.paginate | default .Site.Params.paginate -}} - {{- $pages = $.Paginate $pages . -}} - {{- else -}} - {{- $pages = .Paginate $pages -}} - {{- end -}} - {{- range $pages.Pages -}} - {{- .Render "summary" -}} - {{- end -}} - {{- partial "paginator.html" . -}} - {{- end -}} - </div> -{{- end -}} |