diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-06-12 18:35:59 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-06-12 18:35:59 -0700 |
| commit | f06f7ebccd7fd6fd96ca4dc403e91b804fa0a08d (patch) | |
| tree | 91d2772d34129564cf9ae4ca1a70afe8c6d9de45 /indieweb-micro/themes | |
| parent | 83b01596a639a2ac9d8c847d33f666c70bf702a9 (diff) | |
move microblog to main blog
Diffstat (limited to 'indieweb-micro/themes')
34 files changed, 0 insertions, 1374 deletions
diff --git a/indieweb-micro/themes/MinIndie/LICENSE.md b/indieweb-micro/themes/MinIndie/LICENSE.md deleted file mode 100644 index 630c225..0000000 --- a/indieweb-micro/themes/MinIndie/LICENSE.md +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Vimux - -Copyright (c) 2020 colorchestra - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/indieweb-micro/themes/MinIndie/README.md b/indieweb-micro/themes/MinIndie/README.md deleted file mode 100644 index cef0972..0000000 --- a/indieweb-micro/themes/MinIndie/README.md +++ /dev/null @@ -1,100 +0,0 @@ -# MinIndie - -This theme is **heavily** based on [smol](https://themes.gohugo.io/themes/smol/), a minimalist hugo theme, thanks to their work! - -MinIndie is a very minimal hugo theme with indieweb markups. A demo can be found on my blog at https://bacardi55.io - -## Features - -- No JavaScript -- No Google spyware or tracking of any kind -- No other external dependencies, embedded fonts or comment sections -- Dark mode support (depending on your OS's setting) -- Indieweb markup - -## Installation - -In your Hugo site `themes` directory, run: - -``` -git clone https:// -``` - -Next, open `config.toml` in the base of the Hugo site and ensure the theme option is set to `smol`. - -``` -theme = "minindie" -``` - -Lastly, add the following lines to your `config.toml` to set site parameters and make use of all the menu entries in the header and footer sections if you need them. - -``` -title = "Site Name" -baseURL = "https://your.domain.tld" -copyright = "A copyright message" - -# Parameters -[params] - subtitle = "ἕν οἶδα ὅτι οὐδὲν οἶδα" - dateFmt = "Monday, January 2, 2006" - # tagPostOlderThanXDays = 555 # To display a message if the post is older than this number of days. - # xslpath = "/rss.xsl" # If you want to theme your RSS feed. Optional. - -[params.author] - name = "your name" # required for h-card - email = "your@email.tld" - avatar = "/path/to/avatar.png" - bio = "A bio description<br />Html is accepted." - -[params.indieweb] - authorizationEndpoint = "https://indieauth.com/auth" - tokenEndpoint = "https://tokens.indieauth.com/token" - webmentionEndpoint = "https://webmention.io/your.domain.tld/webmention" - relmepgp = "/path/to//public/key.asc" - [[params.indieweb.relme]] - url = "https://" - [[params.indieweb.relme]] - url = "https://" - -# Menus: -## Header -[menu] - [[menu.main]] - identifier = "posts" - name = "Posts" - url = "/posts/" - weight = 1 - - [[menu.main]] - identifier = "categories" - name = "Categories" - url = "/categories/" - weight = 2 - - [[menu.main]] - identifier = "tags" - name = "Tags" - url = "/tags/" - weight = 3 - -## Footer - [[menu.footer]] - name = "Github" - url = "https://github.com/example" - weight = 1 - - [[menu.footer]] - name = "Mastodon" - url = "https://example.com/@user" - weight = 2 - - [[menu.footer]] - name = "Imprint" - url = "/imprint" - weight = 3 - -``` - -## License - -This theme is released under the [MIT license](https://github.com/colorchestra/smol/blob/master/LICENSE). diff --git a/indieweb-micro/themes/MinIndie/archetypes/default.md b/indieweb-micro/themes/MinIndie/archetypes/default.md deleted file mode 100644 index ef75f76..0000000 --- a/indieweb-micro/themes/MinIndie/archetypes/default.md +++ /dev/null @@ -1,4 +0,0 @@ -+++ -title = "{{ replace .Name "-" " " | title }}" -date = {{ .Date }} -+++ diff --git a/indieweb-micro/themes/MinIndie/archetypes/posts.md b/indieweb-micro/themes/MinIndie/archetypes/posts.md deleted file mode 100644 index 11182ff..0000000 --- a/indieweb-micro/themes/MinIndie/archetypes/posts.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -slug: {{ now.Format "2006-01-02" }}-{{ .Name | urlize }} -type: posts -draft: true -categories: - - default -tags: - - default ---- diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html b/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html deleted file mode 100644 index 41008ca..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/_markup/render-image.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ if .Title }} -<figure> - <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" /> - <figcaption>{{ .Title }}</figcaption> -</figure> -{{ else }} -<figure> - <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" /> -</figure> -{{ end }} - diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/baseof.html b/indieweb-micro/themes/MinIndie/layouts/_default/baseof.html deleted file mode 100644 index e8b6411..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/baseof.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html lang="{{ .Site.LanguageCode | default "en-us" }}"> -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <style type=text/css>body{font-family:monospace;}</style> - <title>{{ .Title }} | {{ .Site.Title }}</title> - {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }} - {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }} - <link rel="stylesheet" href="{{ "css/style.css" | relURL }}"> - {{ range .Site.Params.customCSS -}} - <link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}"> - {{- end }} - {{- with .OutputFormats.Get "RSS" -}} - {{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} - {{- end }} - - {{ partial "head-extra.html" . }} -</head> -<body> - {{ partial "header" . }} - {{ block "main" . }}{{ end }} - {{ partial "footer" . }} -</body> -</html> diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/list.html b/indieweb-micro/themes/MinIndie/layouts/_default/list.html deleted file mode 100644 index 7f8130e..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/list.html +++ /dev/null @@ -1,57 +0,0 @@ -{{ define "main" }} -<main class="content-list"> - {{ $pageKind := .Kind }} - {{ if or .Title .Content }} - <div> - {{ if .Title }} - <h1> - {{ .Title }} - {{ partial "single-title-extra.html" . }} - </h1> - {{ end }} - {{ with .Content }}<div class="justify">{{ . }}</div>{{ end }} - </div> - {{ end }} - - <div class="h-feed"> - {{ $yearCptr := "" }} - {{ $monthCptr := "" }} - {{ range .Paginator.Pages }} - {{ $postYear := .Date.Year }} - {{ $postMonth := .Date.Month }} - - {{ if or (ne $monthCptr $postMonth) (and (eq $yearCptr "") (eq $monthCptr "")) }} - {{ $yearCptr = $postYear }} - {{ $monthCptr = $postMonth }} - {{ if and (ne $yearCptr "") (ne $monthCptr "") }} - </ul> - </div> - {{ end }} - <div> - <h3>{{ $monthCptr }} {{ $yearCptr }}</h3> - <ul> - {{ end }} - - <li class="h-entry"> - <div hidden> - {{ partial "bio-hcard.html" . }} - </div> - <div class="post-title"> - <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "02" }}</time>: - {{ if eq $pageKind "term" }}[{{ .Type }}] {{ end }} - <a href="{{ .Permalink }}" class="u-url p-name title"> - {{.Title }} - </a> - </div> - </li> - - {{ $yearCptr = $postYear }} - {{ $monthCptr = $postMonth }} - {{ end }} - </ul> - </div> - </div> - - {{ partial "pagination.html" . }} -</main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/single.html b/indieweb-micro/themes/MinIndie/layouts/_default/single.html deleted file mode 100644 index 2ab1f0a..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/single.html +++ /dev/null @@ -1,75 +0,0 @@ -{{ define "main" }} -{{ $ageDays := div (sub now.Unix .Date.Unix) 86400 }} - <main> - <article class="h-entry"> - <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> - <h1 class="p-name">{{ .Title }}</h1> - <div hidden>{{ partial "bio-hcard.html" . }}</div> - - {{ if .Date }} - <div><b> - <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}"> - {{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }} - </time> - - <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a> - </b></div> - {{ end }} - - {{- if or .Params.categories .Params.tags -}} - <div class="article-meta"> - {{- with .Params.categories -}} - <span class="categories"> - Categories: - {{ range . }} - <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> - {{ end }} - </span> - {{- end -}} - {{- if and .Params.categories .Params.tags -}} - -- - {{- end -}} - {{- with .Params.tags -}} - <span class="tags"> - Tags: - {{ range . }} - #<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a> - {{ end }} - </span> - {{- end -}} - </div> - {{- end -}} - - {{- with .Site.Params.tagPostOlderThanXDays -}} - {{- if and (gt $ageDays .) (eq $.Type "posts") -}} - {{ partial "article-old-content.html" . }} - {{- end -}} - {{- end -}} - - {{- partial "article-precontent.html" . -}} - - {{- if .Params.toc -}} - <div class="toc noprint"> - <h2>Table of Content</h2> - <aside> - {{ .TableOfContents }} - </aside> - </div> - {{- end -}} - - <div class="e-content"> - {{ .Content }} - </div> - - {{ partial "article-extra.html" . }} - - {{ if .Site.Params.enableNextPrevPages }} - {{ partial "article-prevnext.html" . }} - {{ end }} - - {{ if .Site.Params.enableRelatedPages }} - {{ partial "article-related.html" . }} - {{ end }} - {{ partial "webmentions.html" . }} - </article> - </main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/summary.html b/indieweb-micro/themes/MinIndie/layouts/_default/summary.html deleted file mode 100644 index e971c18..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/summary.html +++ /dev/null @@ -1,13 +0,0 @@ -<article> - <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1> - <b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b> - {{ range .Params.tags }} - <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> - {{ end }} - <div> - {{ .Summary | replaceRE "(?s)<div class=\"highlight\"[^>]*>.*?</div>" "" | replaceRE "(?s)<pre[^>]*>.*?</pre>" "" | replaceRE "(?s)<code[^>]*>.*?</code>" "" | replaceRE "(?s)```[\\s\\S]*?```" "" | safeHTML }} - {{ if .Truncated }} - <a href="{{ .Permalink }}">Read more...</a> - {{ end }} - </div> -</article> diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html b/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html deleted file mode 100644 index e51e530..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/_default/taxonomy.html +++ /dev/null @@ -1,45 +0,0 @@ -{{ define "main" }} -{{ $pageTitle := .Title }} -<main> - <div> - <h1> - {{ .Title }} - <a href="{{ .Permalink }}index.xml"> - <img style="height:1.5rem; display: inline;" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-label='RSS' role='img' viewBox='0 0 512 512'%3E%3Cpath d='M0 0h512v512H0' fill='%23f80'/%3E%3Cpath d='M109 271A132 133 0 0 1 241 403h60A192 193 0 0 0 109 211v-54A246 247 0 0 1 355 403h60A306 307 0 0 0 109 97m35 235a35 35 0 1 0 2 0' fill='%23fff'/%3E%3C/svg%3E" alt="RSS icon" /> - </a> - </h1> - <div> - {{ .Content }} - </div> - {{- if eq .Kind "taxonomy" -}} - <ul> - {{ range .Pages.ByTitle }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{ end }} - </ul> - {{ end }} - {{- if eq .Kind "term" -}} - <p>Content linked to the taxonomy term « {{ strings.ToUpper .Title }} »:</p> - {{ $currentType := "" }} - {{ range sort .Pages.ByDate.Reverse ".Type" "desc" }} - {{ if or (eq $currentType "") (ne $currentType .Type) }} - {{ if ne $currentType "" }} - </ul> - </div> - {{ end }} - <div> - <h3>{{ strings.FirstUpper .Type }}</h3> - <ul> - {{ end }} - <li> - <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">{{ .Date.Format "2006-01-02" }}</time> - <a href="{{ .RelPermalink }}">{{ .Title }}</a> - </li> - {{ $currentType = .Type }} - {{ end }} - </ul> - </div> - {{- end -}} - </div> -</main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html b/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html deleted file mode 100644 index 3e50b62..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/bookmarks/single.html +++ /dev/null @@ -1,44 +0,0 @@ -{{ define "main" }} - <main> - <article class="h-entry"> - <div hidden>{{ partial "bio-hcard.html" . }}</div> - - <h1 class="p-name"> - <a href="{{ .Params.bookmark_url }}" target="_blank" class=""> - {{ .Title }} - </a> - </h1> - <div><b> - <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}"> - {{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }} - </time> - - <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a> - </b></div> - <div class="tags"> - Tags: - {{ range .Params.tags }} - <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a> - {{ end }} - </div> - - {{ with .Params.description }} - <div class="bookmark-description"> - Description: - <blockquote>{{ . }}</blockquote> - </div> - {{ end }} - - {{ with .Content }} - <div class="e-content justify">{{ . }}</div> - {{ end }} - - <div> - → <a href="{{ .Params.bookmark_url }}" target="_blank" class="u-bookmark-of h-cite"> - {{ .Params.bookmark_url }} - </a><br /><br /> - </div> - - {{ partial "article-extra.html" . }} - </article> - </main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/index.html b/indieweb-micro/themes/MinIndie/layouts/index.html deleted file mode 100644 index 777a2fd..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/index.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ define "main" }} - <main> - <hr /> - <h1 class="site-title">{{ .Site.Title }}</h1> - {{- partial "bio-hcard.html" . -}} - {{- partial "homepage-body.html" . -}} - </main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/indie/single.html b/indieweb-micro/themes/MinIndie/layouts/indie/single.html deleted file mode 100644 index 906b704..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/indie/single.html +++ /dev/null @@ -1,66 +0,0 @@ -{{ define "main" }} -{{ $ageDays := div (sub now.Unix .Date.Unix) 86400 }} - <main> - <article class="h-entry"> - <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> - <h1 class="p-name">{{ .Title }}</h1> - <div hidden>{{ partial "bio-hcard.html" . }}</div> - - {{- if or .Params.categories .Params.tags -}} - <div class="article-meta"> - {{- with .Params.categories -}} - <span class="categories"> - Categories: - {{ range . }} - <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> - {{ end }} - </span> - {{- end -}} - {{- if and .Params.categories .Params.tags -}} - -- - {{- end -}} - {{- with .Params.tags -}} - <span class="tags"> - Tags: - {{ range . }} - #<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a> - {{ end }} - </span> - {{- end -}} - </div> - {{- end -}} - - {{- with .Site.Params.tagPostOlderThanXDays -}} - {{- if and (gt $ageDays .) (eq $.Type "posts") -}} - {{ partial "article-old-content.html" . }} - {{- end -}} - {{- end -}} - - {{- partial "article-precontent.html" . -}} - - {{- if .Params.toc -}} - <div class="toc noprint"> - <h2>Table of Content</h2> - <aside> - {{ .TableOfContents }} - </aside> - </div> - {{- end -}} - - <div class="e-content"> - {{ .Content }} - </div> - - {{ partial "article-extra.html" . }} - - {{ if .Site.Params.enableNextPrevPages }} - {{ partial "article-prevnext.html" . }} - {{ end }} - - {{ if .Site.Params.enableRelatedPages }} - {{ partial "article-related.html" . }} - {{ end }} - </article> - <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> - </main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html b/indieweb-micro/themes/MinIndie/layouts/notes/notes.html deleted file mode 100644 index 23aa6d9..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html +++ /dev/null @@ -1,42 +0,0 @@ -{{ define "main" }} - <main> - {{ $pageKind := .Kind }} - {{ if or .Title .Content }} - <div> - {{ with .Title }} - <h1> - {{ . }} - <a href="/notes/index.xml"><img style="height:1.5rem; display: inline;" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-label='RSS' role='img' viewBox='0 0 512 512'%3E%3Cpath d='M0 0h512v512H0' fill='%23f80'/%3E%3Cpath d='M109 271A132 133 0 0 1 241 403h60A192 193 0 0 0 109 211v-54A246 247 0 0 1 355 403h60A306 307 0 0 0 109 97m35 235a35 35 0 1 0 2 0' fill='%23fff'/%3E%3C/svg%3E" alt="RSS icon" /></a> - <a href="https://indieweb.org/h-feed" target="_blank"><img style="height:1.5rem; display: inline;" src="/images/H_Feed_icon.svg" alt="h-feed icon" /></a> - </h1> - {{ end }} - {{ with .Content }}<div class="justify">{{ . }}</div>{{ end }} - </div> - {{ end }} - - <div class="h-feed"> - {{ range .Pages }} - <div class="h-entry note"> - <div hidden> - {{ partial "bio-hcard.html" . }} - </div> - <p class="p-content"> - {{ .Content }} - </p> - - <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}"> - <a href="{{ .RelPermalink }}">{{ .Date.Format "2006-01-02 15:04" }}</a> - </time> - - {{ with .Params.Tags }} - - Tags: - {{ range . }} - #<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a> - {{ end }} - {{ end }} - </div> - {{ end }} - </div> - - </main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/single.html b/indieweb-micro/themes/MinIndie/layouts/notes/single.html deleted file mode 100644 index 7b96f5c..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/notes/single.html +++ /dev/null @@ -1,44 +0,0 @@ -{{ define "main" }} -{{ $ageDays := div (sub now.Unix .Date.Unix) 86400 }} - <main> - <article class="h-entry"> - <div hidden>{{ partial "bio-hcard.html" . }}</div> - <div><b> - <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}"> - {{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }} - </time> - - <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a> - </b></div> - - {{- if or .Params.categories .Params.tags -}} - <div class="article-meta"> - {{- with .Params.categories -}} - <span class="categories"> - Categories: - {{ range . }} - <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> - {{ end }} - </span> - {{- end -}} - {{- if and .Params.categories .Params.tags -}} - -- - {{- end -}} - {{- with .Params.tags -}} - <span class="tags"> - Tags: - {{ range . }} - #<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a> - {{ end }} - </span> - {{- end -}} - </div> - {{- end -}} - - {{- partial "article-precontent.html" . -}} - - <div class="e-content"> - {{ .Content }} - </div> - </article> - </main> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/article-extra.html b/indieweb-micro/themes/MinIndie/layouts/partials/article-extra.html deleted file mode 100644 index e69de29..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/article-extra.html +++ /dev/null diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/article-old-content.html b/indieweb-micro/themes/MinIndie/layouts/partials/article-old-content.html deleted file mode 100644 index 785f3be..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/article-old-content.html +++ /dev/null @@ -1,6 +0,0 @@ -<div class="alert noprint"> - <strong - >/!\ Warning: This article is older than {{ . }} days, make sure the content - is still relevant!</strong - > -</div> diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/article-precontent.html b/indieweb-micro/themes/MinIndie/layouts/partials/article-precontent.html deleted file mode 100644 index e69de29..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/article-precontent.html +++ /dev/null diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html b/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html deleted file mode 100644 index d89b779..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/article-prevnext.html +++ /dev/null @@ -1,17 +0,0 @@ -<div class="article-nextprev noprint"> - <div class="next-post"> - {{ if .NextInSection }} - <a class="link-reverse" href="{{ .NextInSection.Permalink }}?ref=footer" - >« {{ .NextInSection.Title | truncate 30 "..." }}</a - > - {{ end }} - </div> - - <div class="previous-post"> - {{ if .PrevInSection }} - <a class="link-reverse" href="{{ .PrevInSection.Permalink }}?ref=footer" - >{{ .PrevInSection.Title | truncate 30 "..."}} »</a - > - {{ end }} - </div> -</div> diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/article-related.html b/indieweb-micro/themes/MinIndie/layouts/partials/article-related.html deleted file mode 100644 index 5a6fe50..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/article-related.html +++ /dev/null @@ -1,10 +0,0 @@ -{{ $related := .Site.RegularPages.Related . | first 5 }} {{ with $related }} -<div class="noprint"> - <h2>Releated Posts</h2> - <ul> - {{ range . }} - <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> - {{ end }} - </ul> -</div> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/bio-hcard.html b/indieweb-micro/themes/MinIndie/layouts/partials/bio-hcard.html deleted file mode 100644 index 5de3fc6..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/bio-hcard.html +++ /dev/null @@ -1,13 +0,0 @@ -<div class="h-card p-author bio-card" style="text-align:center;"> - {{ if .Site.Params.Author.banner }} - <div class="banner" style="margin-bottom: 1rem; position: relative;"> - <img class="u-featured" src="{{ .Site.Params.Author.banner }}" alt="Banner" style="width: 100%; max-width: 400px; height: auto; border-radius: 8px; opacity: 0.6;"> - <img class="u-photo avatar" src="{{ .Site.Params.Author.avatar }}" alt="{{ .Site.Params.Author.name }}'s avatar" style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);"> - </div> - {{ end }} - <div class="bio"> - <p class="p-note">{{ .Site.Params.Author.Bio | safeHTML }}</p> - </div> - <p class="bio-name"><a href="{{ .Site.BaseURL }}" rel="me" class="p-nickname p-name u-url">{{ .Site.Params.Author.name }}</a></p> -</div> -<hr/> diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/footer-extra.html b/indieweb-micro/themes/MinIndie/layouts/partials/footer-extra.html deleted file mode 100644 index e69de29..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/footer-extra.html +++ /dev/null diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/footer.html b/indieweb-micro/themes/MinIndie/layouts/partials/footer.html deleted file mode 100644 index 978a390..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/footer.html +++ /dev/null @@ -1,14 +0,0 @@ -<hr /> -<footer> - <p> - {{- range .Site.Menus.footer }} - <a href="{{ .URL }}"><b>{{ .Name }}</b></a>. - {{- end }} - </p> - - {{ partial "footer-extra.html" . }} - - <p style="text-align: center" class="copyright"> - © <a href="{{ .Site.BaseURL }}"><b>{{ if .Site.Copyright }}{{ .Site.Copyright }}{{ else }}{{ .Site.Title }}{{ end }}</b></a>. - </p> -</footer> diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/head-extra.html b/indieweb-micro/themes/MinIndie/layouts/partials/head-extra.html deleted file mode 100644 index 8c3984f..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/head-extra.html +++ /dev/null @@ -1,20 +0,0 @@ -{{- range .Site.Params.indieweb.relme }} - <link rel="me" href="{{ .url }}" /> -{{- end -}} - -{{- with .Site.Params.indieweb.relmepgp -}} - <link rel="pgpkey" href="{{ . }}"> -{{- end -}} - -{{ with .Site.Params.indieweb }} - <link - rel="authorization_endpoint" - href="{{ .authorizationEndpoint | default "https://indieauth.com/auth" }}" - /> - <link - rel="token_endpoint" - href="{{ .tokenEndpoint | default "https://tokens.indieauth.com/token" }}" - /> - <link rel="webmention" href="{{ .webmentionEndpoint }}" /> -{{ end }} - diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/header.html b/indieweb-micro/themes/MinIndie/layouts/partials/header.html deleted file mode 100644 index efbd8e1..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/header.html +++ /dev/null @@ -1,17 +0,0 @@ -<header> - <div style="display:flex;flex-flow:row wrap;justify-content:space-between"> - <div style="align-self:flex-start;"> - {{ strings.Repeat ( .Site.Params.Author.Name | len | add 6 ) "=" }}<br> - == <a href="{{ .Site.BaseURL }}">{{ .Site.Params.Author.Name }}</a> ==<br> - {{ strings.Repeat ( .Site.Params.Author.Name | len | add 6 ) "=" }} - </div> - <div style="align-self:center;">{{ .Site.Params.subtitle }}</div> - </div> - <nav style="margin: 1rem auto;"> - {{ with .Site.Menus.main }} - {{ range . }} - <a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>. - {{ end }} - {{ end }} - </nav> -</header> diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/homepage-body.html b/indieweb-micro/themes/MinIndie/layouts/partials/homepage-body.html deleted file mode 100644 index 151ef62..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/homepage-body.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} -{{ range $paginator.Pages }} - {{ .Render "summary" }} -{{ end }} -{{ partial "pagination.html" . }} diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/pagination.html b/indieweb-micro/themes/MinIndie/layouts/partials/pagination.html deleted file mode 100644 index 79f8053..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/pagination.html +++ /dev/null @@ -1,9 +0,0 @@ -<div> -{{ if .Paginator.HasPrev }} - <a href="{{ .Paginator.Prev.URL }}">Previous Page</a> -{{ end }} -{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }} -{{ if .Paginator.HasNext }} - <a href="{{ .Paginator.Next.URL }}">Next Page</a> -{{ end }} -</div> diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/single-title-extra.html b/indieweb-micro/themes/MinIndie/layouts/partials/single-title-extra.html deleted file mode 100644 index bd79e22..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/single-title-extra.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ with .AlternativeOutputFormats.Get "rss" }} -<a href="{{ .RelPermalink }}"><img style="height:1.5rem; display: inline;" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-label='RSS' role='img' viewBox='0 0 512 512'%3E%3Cpath d='M0 0h512v512H0' fill='%23f80'/%3E%3Cpath d='M109 271A132 133 0 0 1 241 403h60A192 193 0 0 0 109 211v-54A246 247 0 0 1 355 403h60A306 307 0 0 0 109 97m35 235a35 35 0 1 0 2 0' fill='%23fff'/%3E%3C/svg%3E" alt="RSS icon" /></a> -{{ end }} diff --git a/indieweb-micro/themes/MinIndie/layouts/partials/webmentions.html b/indieweb-micro/themes/MinIndie/layouts/partials/webmentions.html deleted file mode 100644 index 1576106..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/partials/webmentions.html +++ /dev/null @@ -1,356 +0,0 @@ -<section id="comments" class="webmentions"> - <h2 class="wm-title">Webmentions</h2> - <div id="mentions" class="wm-list">Loading…</div> -</section> - -<style> -.webmentions { - margin-top: 2.5rem; - padding-top: 1rem; - border-top: 2px dashed var(--hrcolor); -} - -.webmentions .wm-title { - color: var(--titlecolor); - margin-bottom: 1rem; -} - -.wm-list { - display: flex; - flex-direction: column; - gap: 1.5rem; -} - -/* Compact reaction sections */ -.wm-reactions { - margin-bottom: 1.5rem; -} - -.wm-reaction-group { - margin-bottom: 1rem; -} - -.wm-reaction-title { - font-size: 1.1rem; - font-weight: 600; - color: var(--titlecolor); - margin-bottom: 0.5rem; - text-transform: uppercase; - letter-spacing: 0.5px; -} - -.wm-avatar-grid { - display: flex; - flex-wrap: wrap; - gap: 4px; - align-items: center; -} - -.wm-avatar { - position: relative; - display: inline-block; -} - -.wm-avatar img { - width: 40px; - height: 40px; - border-radius: 50%; - border: 2px solid var(--hrcolor); - transition: transform 0.2s ease, box-shadow 0.2s ease; -} - -.wm-avatar:hover img { - transform: scale(1.1); - box-shadow: 0 4px 12px rgba(255, 140, 200, 0.4); -} - -.wm-avatar-tooltip { - position: absolute; - bottom: 120%; - left: 50%; - transform: translateX(-50%); - background: var(--blockquotecolor); - color: var(--titlecolor); - padding: 4px 8px; - border-radius: 4px; - font-size: 0.8rem; - white-space: nowrap; - opacity: 0; - pointer-events: none; - transition: opacity 0.2s ease; - z-index: 10; - border: 1px solid var(--hrcolor); -} - -.wm-avatar:hover .wm-avatar-tooltip { - opacity: 1; -} - -/* Comments section header */ -.wm-comments-header { - font-size: 1.1rem; - font-weight: 600; - color: var(--titlecolor); - margin-bottom: 0.5rem; - margin-top: 1rem; - text-transform: uppercase; - letter-spacing: 0.5px; -} - -/* Regular webmentions (replies, mentions) */ -.wm-regular { - display: flex; - flex-direction: column; - gap: 0.75rem; -} - -.wm { - display: flex; - gap: 0.6rem; - padding: 0.6rem 0.75rem; - border-radius: 10px; - background: var(--alertbgcolor); - border: 1px solid var(--hrcolor); - box-shadow: 0 0 6px rgba(255, 180, 220, 0.22); -} - -.wm-author img { - width: 32px; - height: 32px; - border-radius: 50%; - box-shadow: 0 0 4px rgba(255, 140, 200, 0.35); -} - -.wm-body { - flex: 1; - font-size: 0.9rem; -} - -.wm-author-name a { - font-weight: 600; - color: var(--linkcolor); -} - -.wm-type { - font-size: 0.8rem; - margin-top: 2px; - color: var(--titlecolor); -} - -.wm-content { - margin-top: 4px; - padding: 6px 8px; - font-size: 0.9rem; - background: var(--blockquotecolor); - border-left: 3px solid var(--hrcolor); - border-radius: 6px; -} - -.wm-meta { - margin-top: 3px; - font-size: 0.75rem; - opacity: 0.7; -} - -.wm-meta a { - color: var(--linkcolor); -} - -/* Mobile responsive */ -@media (max-width: 600px) { - .wm-avatar img { - width: 32px; - height: 32px; - } - - .wm-avatar-grid { - gap: 3px; - } - - .wm-reaction-title { - font-size: 1rem; - } - - .wm-comments-header { - font-size: 1rem; - } -} -</style> - -<script> -const PAGE_URL = "{{ .Permalink }}"; - -async function loadMentions() { - const url = - "https://webmention.io/api/mentions.jf2?domain=micro.pinapelz.com&token=hdjQAqlZwgJmSuPSiU8h8w"; - - const res = await fetch(url); - const data = await res.json(); - - const container = document.getElementById("mentions"); - container.innerHTML = ""; - - // Filter mentions for this specific page - const mentions = data.children.filter(m => { - const t = m["wm-target"]; - const inReply = m["in-reply-to"]; - const likeOf = m["like-of"]; - const repostOf = m["repost-of"]; - const mentionOf = m["mention-of"]; - - return ( - t === PAGE_URL || - inReply === PAGE_URL || - likeOf === PAGE_URL || - repostOf === PAGE_URL || - mentionOf === PAGE_URL - ); - }); - - if (!mentions.length) { - container.innerHTML = "<p>No webmentions yet.</p>"; - return; - } - - // Group mentions by type - const likes = mentions.filter(m => m["wm-property"] === "like-of"); - const reposts = mentions.filter(m => m["wm-property"] === "repost-of"); - const replies = mentions.filter(m => m["wm-property"] === "in-reply-to"); - const regularMentions = mentions.filter(m => - !["like-of", "repost-of", "in-reply-to"].includes(m["wm-property"]) - ); - - // Create reactions section - const reactionsDiv = document.createElement("div"); - reactionsDiv.className = "wm-reactions"; - - // Add reposts section - if (reposts.length > 0) { - const repostGroup = document.createElement("div"); - repostGroup.className = "wm-reaction-group"; - - const repostTitle = document.createElement("div"); - repostTitle.className = "wm-reaction-title"; - repostTitle.textContent = `${reposts.length} Repost${reposts.length !== 1 ? 's' : ''}`; - - const repostGrid = document.createElement("div"); - repostGrid.className = "wm-avatar-grid"; - - reposts.forEach(mention => { - const author = mention.author || {}; - const avatarDiv = document.createElement("div"); - avatarDiv.className = "wm-avatar"; - - avatarDiv.innerHTML = ` - <a href="${author.url || "#"}" target="_blank"> - <img src="${author.photo || ""}" alt="${author.name || 'Unknown'}" /> - </a> - <div class="wm-avatar-tooltip">${author.name || 'Unknown'}</div> - `; - - repostGrid.appendChild(avatarDiv); - }); - - repostGroup.appendChild(repostTitle); - repostGroup.appendChild(repostGrid); - reactionsDiv.appendChild(repostGroup); - } - - // Add likes section - if (likes.length > 0) { - const likeGroup = document.createElement("div"); - likeGroup.className = "wm-reaction-group"; - - const likeTitle = document.createElement("div"); - likeTitle.className = "wm-reaction-title"; - likeTitle.textContent = `${likes.length} Like${likes.length !== 1 ? 's' : ''}`; - - const likeGrid = document.createElement("div"); - likeGrid.className = "wm-avatar-grid"; - - likes.forEach(mention => { - const author = mention.author || {}; - const avatarDiv = document.createElement("div"); - avatarDiv.className = "wm-avatar"; - - avatarDiv.innerHTML = ` - <a href="${author.url || "#"}" target="_blank"> - <img src="${author.photo || ""}" alt="${author.name || 'Unknown'}" /> - </a> - <div class="wm-avatar-tooltip">${author.name || 'Unknown'}</div> - `; - - likeGrid.appendChild(avatarDiv); - }); - - likeGroup.appendChild(likeTitle); - likeGroup.appendChild(likeGrid); - reactionsDiv.appendChild(likeGroup); - } - - // Add reactions section to container if it has content - if (reactionsDiv.children.length > 0) { - container.appendChild(reactionsDiv); - } - - // Add regular mentions (replies and other mentions) - const regularMentionsToShow = [...replies, ...regularMentions]; - - if (regularMentionsToShow.length > 0) { - // Add comments header - const commentsHeader = document.createElement("div"); - commentsHeader.className = "wm-comments-header"; - commentsHeader.textContent = "Comments"; - container.appendChild(commentsHeader); - - const regularDiv = document.createElement("div"); - regularDiv.className = "wm-regular"; - - regularMentionsToShow.forEach(m => { - const div = document.createElement("div"); - div.className = "wm"; - - const author = m.author || {}; - const content = m.content || {}; - const type = - m["wm-property"] === "in-reply-to" ? "replied 💬" : - "mentioned this"; - - div.innerHTML = ` - <div class="wm-author"> - <img src="${author.photo || ""}" alt="${author.name || 'Unknown'}"> - </div> - - <div class="wm-body"> - <div class="wm-author-name"> - <a href="${author.url || "#"}" target="_blank"> - ${author.name || "Unknown"} - </a> - </div> - - <div class="wm-type">${type}</div> - - ${content.text ? `<div class="wm-content">${content.text}</div>` : ""} - - <div class="wm-meta"> - <a href="${m.url}" target="_blank">source</a> • - ${m["wm-received"] - ? new Date(m["wm-received"]).toLocaleString() - : ""} - </div> - </div> - `; - regularDiv.appendChild(div); - }); - - container.appendChild(regularDiv); - } - - // If no mentions at all - if (container.children.length === 0) { - container.innerHTML = "<p>No webmentions yet.</p>"; - } -} - -loadMentions(); -</script> diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html deleted file mode 100644 index a80b059..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/shortcodes/follow.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ $url := .Get 0 }} -{{ $date := .Get 1 }} - -<div class="follow-card"> - <a class="follow-target u-follow-of" href="{{ $url }}"> - {{ $url }} - </a> - - <time class="follow-date dt-published" datetime="{{ $date }}T00:00:00Z"> - {{ $date }} - </time> -</div> diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html deleted file mode 100644 index 5908132..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/shortcodes/hashtag.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ $tag := .Get 0 }} - -<a href="{{ .Site.BaseURL }}/tags/{{ strings.TrimPrefix "#" $tag | urlize }}" class="p-category">{{ if not (hasPrefix $tag "#") }}#{{ end }}{{ strings.TrimPrefix "#" $tag }}</a> diff --git a/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html b/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html deleted file mode 100644 index 13a5355..0000000 --- a/indieweb-micro/themes/MinIndie/layouts/shortcodes/mention.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ $username := .Get 0 }} -{{ $url := .Get 1 }} - -{{ if not $url }} - {{ errorf "mention shortcode requires both username and URL parameters. Usage: {{< mention \"username\" \"https://example.com/@username\" >}}" }} -{{ end }} - -<a href="{{ $url }}" class="u-in-reply-to h-card">@{{ strings.TrimPrefix "@" $username }}</a> diff --git a/indieweb-micro/themes/MinIndie/static/css/style.css b/indieweb-micro/themes/MinIndie/static/css/style.css deleted file mode 100644 index 4a930c1..0000000 --- a/indieweb-micro/themes/MinIndie/static/css/style.css +++ /dev/null @@ -1,296 +0,0 @@ -html { - overflow-y: scroll; -} - -/* 🌸 PASTEL PALETTE */ -:root { - --bgcolor: #fff7fb; - --fontcolor: #3a2c3d; - - --linkcolor: #ff77c8; - --visitedcolor: #d76dff; - - --precolor: #4a3e4f; - --prebgcolor: #ffe6f4; - - --alertbgcolor: #ffe0f1; - --hrcolor: #ffbde6; - - --blockquotecolor: #ffe8f6; - --pcodecolor: #f7d2f0; - - --sitetitlecolor: #ff99dd; - --titlecolor: #c77fff; -} - -/* 🌙 DARK MODE PASTEL NIGHT */ -@media (prefers-color-scheme: dark) { - :root { - --bgcolor: #241b2b; - --fontcolor: #f8e8ff; - - --linkcolor: #ff9be9; - --visitedcolor: #e49cff; - - --precolor: #ffeefe; - --prebgcolor: #35263f; - - --alertbgcolor: #3f304a; - --hrcolor: #f4cfff; - - --blockquotecolor: #3a2b45; - --pcodecolor: #614c70; - - --sitetitlecolor: #ffd1f6; - --titlecolor: #d9a7ff; - } -} - -/* 🌸 TYPO + BASE */ -body { - max-width: 800px; - margin: 40px auto; - padding: 0 10px; - - font: 15px/1.6 "IBM Plex Mono", "Fira Mono", monospace; - color: var(--fontcolor); - background: var(--bgcolor); - - transition: background 0.3s ease, color 0.3s ease; -} - -/* 🌸 LINKS */ -a { - color: var(--linkcolor); - text-decoration: none; - transition: color 0.2s ease, text-shadow 0.2s ease; -} - -a:hover { - color: var(--visitedcolor); - text-shadow: 0 0 6px currentColor; -} - -a:visited { - color: var(--visitedcolor); -} - -/* 🌸 HEADERS */ -h1, h2, h3 { - line-height: 1.25; - color: var(--titlecolor); - margin-top: 1.6rem; - font-weight: 700; -} - -h1.site-title { - color: var(--sitetitlecolor); - text-align: center; - font-size: 2rem; - margin-bottom: 1rem; -} - -/* 🌸 PARAGRAPHS */ -p { - margin-top: 1.3rem; -} - -/* 🌸 INLINE CODE */ -p > code, -li > code { - color: var(--precolor); - background: var(--pcodecolor); - padding: 3px 5px; - border-radius: 6px; -} - -/* 🌸 FULL CODE */ -code { - color: var(--precolor); - background: var(--prebgcolor); - padding: 3px 5px; - border-radius: 6px; -} - -pre { - color: var(--precolor); - background: var(--prebgcolor); - padding: 24px; - overflow-x: auto; - border-radius: 12px; - box-shadow: 0 0 10px rgba(255, 180, 220, 0.25); -} - -/* 🌸 ARTICLES */ -article { - padding: 24px 0; -} - -/* 🌸 IMAGES */ -img { - display: block; - max-width: 100%; - height: auto; - margin: auto; - border-radius: 12px; -} - -/* cute avatar */ -.avatar { - width: 100px; - height: 100px; - border-radius: 50%; - box-shadow: 0 0 8px rgba(255, 140, 200, 0.4); - border: 4px solid var(--bgcolor); - transition: transform 0.3s ease; -} - -/* Banner with overlay avatar */ -.banner { - position: relative; - margin-bottom: 1rem; -} - -.banner img:first-child { - width: 100%; - max-width: 600px; - height: auto; - border-radius: 8px; - opacity: 0.85; -} - -.banner .avatar { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 2; - width: 120px; - height: 120px; - box-shadow: 0 0 20px rgba(255, 140, 200, 0.6); -} - -.banner .avatar:hover { - transform: translate(-50%, -50%) scale(1.05); -} - -/* 🌸 ALERTS */ -.alert { - color: var(--fontcolor); - background: var(--alertbgcolor); - padding: 20px; - border-radius: 12px; - box-shadow: 0 0 12px rgba(255, 180, 220, 0.3); - overflow-x: auto; -} - -/* 🌸 NEXT/PREV */ -.article-nextprev { - display: flex; - flex-flow: row wrap-reverse; - justify-content: space-between; -} - -/* 🌸 DIVIDERS */ -hr { - margin: 35px 33% 15px; - border-color: var(--hrcolor); - border-width: 3px; - border-radius: 3px; -} - -hr.small { - margin: 35px 44% 25px; - border: 1px dashed var(--hrcolor); -} - -/* 🌸 BLOCKQUOTE */ -blockquote { - background: var(--blockquotecolor); - margin: 1.2rem 0; - padding: 12px 20px; - border-radius: 12px; - box-shadow: 0 0 8px rgba(255, 200, 240, 0.25); - border-left: 4px solid var(--hrcolor); -} - -/* 🌸 LISTS */ -ol, ul { - padding-left: 1.1rem; -} - -ol > li, -ul > li { - margin-bottom: 0.8rem; -} - -ul > li { - list-style-type: disclosure-closed; -} - -/* 🌸 TABLES */ -table { - text-align: left; - border: 1px solid var(--hrcolor); - border-radius: 10px; - overflow: hidden; -} - -thead th, tfoot th, tfoot td { - padding: 6px 10px; - background-color: var(--alertbgcolor); - color: var(--titlecolor); -} - -td { - padding: 8px 10px; -} - -tbody tr:nth-child(even) { - background-color: var(--alertbgcolor); -} - -/* 🌸 RESPONSIVE MOE */ -@media all and (max-width: 800px) { - .bio-card .bio { - justify-content: space-around; - flex-direction: column; - } - .bio-card .bio > img { - align-self: center; - margin: auto; - } - .bio-card .bio > p { - align-self: center; - text-align: center; - } - - /* Smaller avatar on mobile */ - .banner .avatar { - width: 90px; - height: 90px; - } - - .banner img:first-child { - border-radius: 6px; - } -} - -/* PRINT */ -@media print { - a, a:visited { - color: #000; - text-decoration: none; - } - a::after { - content: " (" attr(href) ") "; - } - nav, footer, hr, .noprint { - display: none !important; - } - pre, blockquote, code { - background: #fff; - border: none; - box-shadow: none; - } -} diff --git a/indieweb-micro/themes/MinIndie/theme.toml b/indieweb-micro/themes/MinIndie/theme.toml deleted file mode 100644 index 313427c..0000000 --- a/indieweb-micro/themes/MinIndie/theme.toml +++ /dev/null @@ -1,17 +0,0 @@ -name = "minindie" -license = "MIT" -licenselink = "https://git.sr.ht/~bacardi55/MinIndie/tree/main/item/LICENCE.md" -description = "Minimal Hugo theme for the indieweb." -homepage = "https://sr.ht/~bacardi55/MinIndie" -tags = ["blog", "minimal", "monospace", "dark mode", "simple", "clean", "light", "responsive", "fast", "no-js", "no-tracking", "privacy", "indieweb"] -features = ["blog", "privacy", "responsive", "fast", "indieweb"] -min_version = "0.0.1" - -[author] - name = "bacardi55" - homepage = "bacardi55.io" - -[original] - author = "Morph" - homepage = "https://morph.sh" - repo = "https://github.com/colorchestra/smol" |
