diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-29 22:50:58 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-29 22:50:58 +0200 |
commit | 015090549306ba6fd0c84a874b58559c4a1fa8fb (patch) | |
tree | 75fdfde4a7a3eb2431b36d1bad7409939be5e4d5 /themes/blowfish/exampleSite/layouts | |
parent | ccbdfed13b8195d550899d66bf193d2fd33880e9 (diff) |
update theme without example page
Diffstat (limited to 'themes/blowfish/exampleSite/layouts')
3 files changed, 0 insertions, 65 deletions
diff --git a/themes/blowfish/exampleSite/layouts/partials/extend-footer.html b/themes/blowfish/exampleSite/layouts/partials/extend-footer.html deleted file mode 100644 index aad10ed..0000000 --- a/themes/blowfish/exampleSite/layouts/partials/extend-footer.html +++ /dev/null @@ -1 +0,0 @@ -<a rel="me" href="https://masto.ai/@blowfish"></a>
\ No newline at end of file diff --git a/themes/blowfish/exampleSite/layouts/partials/home/custom.html b/themes/blowfish/exampleSite/layouts/partials/home/custom.html deleted file mode 100644 index aa13ffa..0000000 --- a/themes/blowfish/exampleSite/layouts/partials/home/custom.html +++ /dev/null @@ -1,20 +0,0 @@ -{{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint "sha512" }} -<div id="background"> - {{ partial "partials/home/background.html" . }} -</div> -<div id="hero" style="display:none"> - {{ partial "partials/home/hero.html" . }} -</div> -<div id="profile" style="display:none"> - {{ partial "partials/home/profile.html" . }} -</div> -<div id="card" style="display:none"> - {{ partial "partials/home/card.html" . }} -</div> -<div id="page" style="display:none"> - {{ partial "partials/home/page.html" . }} -</div> -<section> - {{ partial "recent-articles-demo.html" . }} -</section> -<script defer type="text/javascript" src="{{ $jsHome.RelPermalink }}" integrity="{{ $jsHome.Data.Integrity }}"></script> diff --git a/themes/blowfish/exampleSite/layouts/partials/recent-articles-demo.html b/themes/blowfish/exampleSite/layouts/partials/recent-articles-demo.html deleted file mode 100644 index 6e40b8e..0000000 --- a/themes/blowfish/exampleSite/layouts/partials/recent-articles-demo.html +++ /dev/null @@ -1,44 +0,0 @@ -{{ $recentArticles := 5 }} -{{ $showMoreLinkDest := "/posts" }} -{{ if index .Site.Params.homepage "showRecentItems" }} -{{ $recentArticles = .Site.Params.homepage.showRecentItems }} -{{ end }} - -<h2 class="mt-8 text-2xl font-extrabold mb-10">{{ i18n "shortcode.recent_articles" | emojify }}</h2> - -<div class="flex mb-6 px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900"> - <span class="flex items-center justify-between grow dark:text-neutral-300"> - <span class="prose dark:prose-invert">This is a demo of theme's list configurations: <code - id="config">card view</code></span> - <button id="switch-config-button" - class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"> - Switch config ↻ - </button> - </span> -</div> - -<div id="CardViewProse" class="h-full"> - {{ partial "recent-articles/cardview.html" . }} -</div> - -<div id="CardViewScreenWidth" class="hidden h-full"> - {{ partial "recent-articles/cardview-fullwidth.html" . }} -</div> - -<div id="NormalView" class="hidden h-full"> - {{ partial "recent-articles/list.html" . }} -</div> - -{{ if .Site.Params.homepage.showMoreLink | default false }} -{{ if index .Site.Params.homepage "showRecentItems" }} -{{ $showMoreLinkDest = .Site.Params.homepage.showMoreLinkDest }} -{{ end }} -<div class="mt-10 flex justify-center"> - <a href="{{ $showMoreLinkDest }}"> - <button - class="bg-transparent hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded"> - {{ i18n "recent.show_more" | markdownify | emojify }} - </button> - </a> -</div> -{{ end }} |