Cleaning the code

This commit is contained in:
Fundor333
2024-07-26 02:14:33 +02:00
parent 2cfab196f6
commit 280d15f553
72 changed files with 30 additions and 40 deletions

View File

@@ -3,7 +3,7 @@ DefaultContentLanguage: en
languageCode: en
theme:
[
"github.com/fundor333/macia-webmention",
"github.com/fundor333/macia-indiweb",
"github.com/fundor333/macia-image",
"fugu",
]

View File

@@ -7,10 +7,14 @@ logo: /img/logo.jpg
hostName: "https://fundor333.com"
copyright: Fundor333
maciawebmention:
maciaindieweb:
webmention: "https://webmention.io/fundor333.com/webmention"
pingback: "https://webmention.io/fundor333.com/xmlrpc"
micropub: "https://appletune.fundor333.com/micropub"
microsub: "https://aperture.p3k.io/microsub/699"
authorization_endpoint: "https://indieauth.com/auth"
token_endpoint: "https://tokens.indieauth.com/token"
auth:
twitter: https://twitter.com/fundor333
mastodon: https://mastodon.social/@fundor333

9
go.mod
View File

@@ -4,5 +4,12 @@ go 1.22.5
require (
github.com/fundor333/macia-image v0.0.0-20240725223224-a806faf4656b // indirect
github.com/fundor333/macia-webmention v0.0.0-20240725213257-5babe77b26ea // indirect
github.com/fundor333/macia-indiweb v0.0.0-20240725233054-91a7bc288290 // indirect
)
// For local theme development, you can use replace directives to change the
// location of a loaded module. For instance, to change the location of the
// rootwork/hugo-clarity module, uncomment the next section and change the local
// path to a valid directory relative to this file. Then run `hugo mod get` on
// the command line. More info:
// https://github.com/rootwork/hugo-module-site#local-theme-development

32
go.sum
View File

@@ -1,32 +1,8 @@
github.com/fundor333/macia-image v0.0.0-20240725214249-d62c566a8e40 h1:lX3o4E2ZiTwLDpjHvsrqqkv5//5xjWKruWzGEQDT9a0=
github.com/fundor333/macia-image v0.0.0-20240725214249-d62c566a8e40/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725214515-c7c6846760dd h1:xCKNfSLInvs25OxveYTtZTxQ2EcY7jTvAMYQxrRlOnI=
github.com/fundor333/macia-image v0.0.0-20240725214515-c7c6846760dd/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725215853-124246d0f81e h1:9ynukv81tnNoPGQ6yn3tqd7VXKykjeVoHh3CoWnpGTw=
github.com/fundor333/macia-image v0.0.0-20240725215853-124246d0f81e/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725220840-6426db4d448d h1:iNoOVKia4P1IoUq/h9foeNqVHwJhW38YzFkCAvkBucE=
github.com/fundor333/macia-image v0.0.0-20240725220840-6426db4d448d/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725221038-67c76470874f h1:VV0nWhQXuX+foTWmwiFK2T0O/91w3fZ2xhlJ/saHV3c=
github.com/fundor333/macia-image v0.0.0-20240725221038-67c76470874f/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725222014-43e70706b82b h1:TD9YF6KpcvccV18eU3fvPwytP9iKmZs8yz5PXgjFjUk=
github.com/fundor333/macia-image v0.0.0-20240725222014-43e70706b82b/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725222129-33bd637996ae h1:7gP2daq7N5w4tR7gDRG7vhVXk1pIA6NDQHMLxWLmCpY=
github.com/fundor333/macia-image v0.0.0-20240725222129-33bd637996ae/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725222250-8d5405334ce4 h1:XB5q7OD6x78if79ojIX63PJG5gkO+rLzkr/0p3LZsdg=
github.com/fundor333/macia-image v0.0.0-20240725222250-8d5405334ce4/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-image v0.0.0-20240725223224-a806faf4656b h1:s1gh5Mk0XFEBb3DJKeqj/t1qH1OKV2pDELJgPkJWPTI=
github.com/fundor333/macia-image v0.0.0-20240725223224-a806faf4656b/go.mod h1:9zBOlIP9CvKcUcK3q+La1av6XH/fWPSApaYF/lvVAKY=
github.com/fundor333/macia-webmention v0.0.0-20240725202417-69f3c4586b26 h1:aV2wtABOlWPzS9F5Q6o3MWbMKHVFRO0HCoZMqne5Jus=
github.com/fundor333/macia-webmention v0.0.0-20240725202417-69f3c4586b26/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=
github.com/fundor333/macia-webmention v0.0.0-20240725203136-acd9ddafa51d h1:M0yM2psjhVY6p+z3s+ST0TWP9tR5nwRLVBYpLbteDXc=
github.com/fundor333/macia-webmention v0.0.0-20240725203136-acd9ddafa51d/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=
github.com/fundor333/macia-webmention v0.0.0-20240725203400-990320f8dd56 h1:F6YUoZtT7bU+f2YZKyxf8xg2hsG7brbjQsrEZ6m+su0=
github.com/fundor333/macia-webmention v0.0.0-20240725203400-990320f8dd56/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=
github.com/fundor333/macia-webmention v0.0.0-20240725203647-94709b2283ee h1:tNRs/zS5bSJnBXjq1vqiWPxbxw3CHA5Z8jxhQI9raJE=
github.com/fundor333/macia-webmention v0.0.0-20240725203647-94709b2283ee/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=
github.com/fundor333/macia-webmention v0.0.0-20240725204131-1193320b19e5 h1:jDyO9aCnKpkKLyOnoujiqaettjeur4z/vuRqrL6sJUs=
github.com/fundor333/macia-webmention v0.0.0-20240725204131-1193320b19e5/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=
github.com/fundor333/macia-webmention v0.0.0-20240725213011-cb8f3ca3b237 h1:dW/C+8XXED8/JVZ6yBIANc7XCmD0dCTb8+keOD+riBQ=
github.com/fundor333/macia-webmention v0.0.0-20240725213011-cb8f3ca3b237/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=
github.com/fundor333/macia-indiweb v0.0.0-20240725231507-fef22775ad30 h1:0bLgfN88ZAzINZcEki4CryTNYiff7n0E95bTUZC8mmc=
github.com/fundor333/macia-indiweb v0.0.0-20240725231507-fef22775ad30/go.mod h1:mzfDNrWLvqaOhl7Fq3EaeEFuPDz5jKo5fqnNeaA9Yk4=
github.com/fundor333/macia-indiweb v0.0.0-20240725233054-91a7bc288290 h1:iHO3a0Y+NiEFdOnoL/zXjg5kj3LY3fk8rSbYZGI76CI=
github.com/fundor333/macia-indiweb v0.0.0-20240725233054-91a7bc288290/go.mod h1:mzfDNrWLvqaOhl7Fq3EaeEFuPDz5jKo5fqnNeaA9Yk4=
github.com/fundor333/macia-webmention v0.0.0-20240725213257-5babe77b26ea h1:mnqe9Z8WwhcfyRDvZkFiSeAr8Bjtfgmu+IDUSoQS+Ng=
github.com/fundor333/macia-webmention v0.0.0-20240725213257-5babe77b26ea/go.mod h1:a52OEN3AjE6bu2d8wov8c7xIhDTsp3PC7H70f+5Xb8c=

View File

@@ -42,6 +42,11 @@ new: ## Make new object for the blog
characters: ## Sorting characters
@python3 sorting_characters.py
.PHONY: build
build: clean ## Build for dev
@hugo mod get -u
@hugo
deploy: clean characters ## Ready to deploy
@npm update
@hugo mod get -u

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 390 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 KiB

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 KiB

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

After

Width:  |  Height:  |  Size: 492 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 520 KiB

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 616 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 KiB

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 KiB

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 KiB

After

Width:  |  Height:  |  Size: 764 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 KiB

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 KiB

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 983 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 433 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 KiB

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

After

Width:  |  Height:  |  Size: 209 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 KiB

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 KiB

After

Width:  |  Height:  |  Size: 646 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 983 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 591 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 KiB

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 567 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 KiB

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 KiB

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

After

Width:  |  Height:  |  Size: 545 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 646 KiB

After

Width:  |  Height:  |  Size: 520 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 253 KiB

View File

@@ -1,7 +1,7 @@
DefaultContentLanguage: en
languageCode: en
#theme: ["github.com/fundor333/macia-webmention", "github.com/fundor333/macia-image"]
#theme: ["github.com/fundor333/macia-indiweb", "github.com/fundor333/macia-image"]
disableRSS: false
enableRobotsTXT: true

View File

@@ -2,7 +2,7 @@
<html lang="{{ $.Site.LanguageCode | default " en " }}" class="theme-dark">
{{- partial "head.html" . -}}
{{- block "more_head" . }}{{- end }}
{{- partial "authentication.html" . -}}
{{- partial "macia-indiweb/authentication.html" . -}}
{{- partial "dark-light-mode.html" . -}}
<body class="container-fluid">

View File

@@ -1,2 +0,0 @@
<link rel="me" href="https://mastodon.social/@fundor333">
<link href="https://twitter.com/fundor333" rel="me">

View File

@@ -37,7 +37,7 @@
<enclosure url="{{ $featured.Permalink }}" type="image/jpg"></enclosure>
{{- end -}}
{{ partial "macia-webmention/webmention.html" . }}
{{ partial "macia-indiweb/indiweb.html" . }}
<script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/2f3b6e2e4c.js" crossorigin="anonymous" async></script>

View File

@@ -81,4 +81,4 @@
</div>
</nav>
{{- partial "authentication.html" . -}}
{{- partial "macia-indiweb/authentication.html" . -}}

View File

@@ -7,8 +7,8 @@
</i>
</a>
{{ end }}
<a href="https://fundor333.com/" class="u-url u-uid d-none">Fundor333</a>
<a href="{{.Site.Params.baseURL}}" class="u-url u-uid d-none">{{.Site.Params.Title}}</a>
<a href='https://webring.recurse.com' target='_blank' class="btn col-3 col-sm ">
<img loading="lazy" src='https://webring.recurse.com/icon.png' width="30" height="30" />
</a>
@@ -16,4 +16,4 @@
<img loading="lazy" width=" 30" height="30" src='https://webring.xxiivv.com/icon.white.svg' />
</a>
</div>
</div>
</div>