Fix some layout

This commit is contained in:
Fundor333
2025-04-14 00:07:26 +02:00
parent 3e373edb55
commit 3c2a4fc42d
4 changed files with 70 additions and 20 deletions

View File

@@ -1 +1,5 @@
{"syndication": ["https://bsky.app/profile/fundor333.bsky.social/post/3ligtzlnglw2g"]}
{
"syndication": [
"https://bsky.app/profile/fundor333.bsky.social/post/3ligtzlnglw2g"
]
}

View File

@@ -146,6 +146,8 @@
</div>
</div>
</article>
{{- partial "syndication.html" . -}}
{{- partial "comments.html" . -}}
</main>
</div>

View File

@@ -1,28 +1,28 @@
{{ define "main" }}
<div class="wrapper post">
<main class="page-content" aria-label="Content">
<article class="h-entry">
<article class="h-entry post-entry">
<header class="header">
<h1 class="header-title p-name"><i class="fa-regular fa-bowl-chopsticks-noodles"></i> {{ .Title }}</h1>
<h1 class="header-title p-name"><i class="fa-regular fa-bowl-chopsticks-noodles"></i> {{ .Title }}</h1>
<div>
<a class="u-url" href="{{ .Permalink }}"><div style="display: none;" class="p-summary">{{ .Description }}</div></a>
<a rel="author" class="p-author h-card no-underline " href="{{ .Site.BaseURL }}" style="display: none;" >{{ .Site.Params.Author.name }}</a>
</div>
<br>
{{ $image := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }}
{{ if $image }}
<div class="container-fluid text-justify">
{{ $resource := imageConfig (add "/content/" $image.RelPermalink) }}
<div>
<a class="u-url" href="{{ .Permalink }}"><div style="display: none;" class="p-summary">{{ .Description }}</div></a>
<a rel="author" class="p-author h-card no-underline " href="{{ .Site.BaseURL }}" style="display: none;" >{{ .Site.Params.Author.name }}</a>
</div>
<br>
{{ $image := .Resources.GetMatch "{cover.webp,cover.jpg,cover.png,cover.jpeg}" }}
{{ if $image }}
<div class="container-fluid text-justify">
{{ $resource := imageConfig (add "/content/" $image.RelPermalink) }}
<div class="flex flex-col items-stretch">
<img loading="lazy" class="u-photo rounded-lg" src="{{ $image.Permalink }}"alt="Card image cap">
{{if .Params.feature_link}}
<a class="self-center" href="{{ .Params.feature_link}}">{{.Params.feature_text}}</a>
<div class="flex flex-col items-stretch">
<img loading="lazy" class="u-photo rounded-lg" src="{{ $image.Permalink }}"alt="Card image cap">
{{if .Params.feature_link}}
<a class="self-center" href="{{ .Params.feature_link}}">{{.Params.feature_text}}</a>
{{end}}
</div>
{{end}}
</div>
{{end}}
</header>
</header>
{{ partial "toc.html" .}}
<div class="page-content e-content">
{{- partial "bridgy.html" . -}}

View File

@@ -1 +1,45 @@
{"feeds": [{"url": "https://appletune.fundor333.com/api/feed/", "title": "Suggested Links/Posts"}, {"url": "https://www.fundor333.com/index.xml", "title": "New post from my blog"}, {"url": "https://newsletter.digitaltearoom.com/rss/", "title": "New post from my newsletter"}], "fix_links": [{"url": "https://www.fundor333.com", "title": "My blog"}, {"url": "https://newsletter.digitaltearoom.com", "title": "My newsletter"}, {"url": "https://ko-fi.com/fundor333", "title": "Support me"}], "generator": {"tag": "week note", "output": "content/weeknotes/", "fix_links_label": "My Links", "type_weeknote": "weeknote"}, "anilist": {"user_id": "fundor333"}, "goodread": {"user_id": "5312887-matteo", "shelf_name_code": "currently-reading", "shelf_name_label": "Currently Reading"}, "text_api": "https://appletune.fundor333.com/api/weekdone/?format=json"}
{
"anilist": {
"user_id": "fundor333"
},
"feeds": [
{
"title": "Suggested Links/Posts",
"url": "https://appletune.fundor333.com/api/feed/"
},
{
"title": "New post from my blog",
"url": "https://www.fundor333.com/index.xml"
},
{
"title": "New post from my newsletter",
"url": "https://newsletter.digitaltearoom.com/rss/"
}
],
"fix_links": [
{
"title": "My blog",
"url": "https://www.fundor333.com"
},
{
"title": "My newsletter",
"url": "https://newsletter.digitaltearoom.com"
},
{
"title": "Support me",
"url": "https://ko-fi.com/fundor333"
}
],
"generator": {
"fix_links_label": "My Links",
"output": "content/weeknotes/",
"tag": "week note",
"type_weeknote": "weeknote"
},
"goodread": {
"shelf_name_code": "currently-reading",
"shelf_name_label": "Currently Reading",
"user_id": "5312887-matteo"
},
"text_api": "https://appletune.fundor333.com/api/weekdone/?format=json"
}