Site update

This commit is contained in:
CronyAkatsuki 2023-10-06 19:04:36 +02:00
parent bcb4734e5e
commit 33b85e2436
11 changed files with 41 additions and 28 deletions

View File

@ -1,5 +1,5 @@
hugo
rsync -arP --delete public/* root@server:/var/www/site
git add .
git commit -m "Site rebuild"
git commit -m "Site update"
git push

View File

@ -16,3 +16,4 @@ enableEmoji = true
[params]
description = "My shitty website"
title = "Crony Akatsuki's Website"
dateFormat = "02-01-2006"

View File

@ -7,7 +7,7 @@
<section class="list">
{{ range .Pages.ByPublishDate.Reverse }}
<a href="{{ .RelPermalink }}">
{{ .Date.Format "02-01-2006" }} || {{ .Title }} <span class="comment"></span>
{{ .Date.Format .Site.Params.dateFormat }} || {{ .Title }} <span class="comment"></span>
</a><br>
{{ end }}
</section>

View File

@ -17,7 +17,7 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<pubDate>{{ .Params.date.Format .Site.Params.dateFormat | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{- .Content | html -}}</description>

View File

@ -2,6 +2,10 @@
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ if isset .Params "date" }}
{{ end}}
<div id="date">
<p>{{ .Date.Format .Site.Params.dateFormat }}</p>
</div>
{{ end }} {{ .Content }} {{ end }}

View File

@ -36,7 +36,7 @@
<h1>Who am I?</h1>
<p>I&rsquo;m Crony Akatsuki, 20 year old who doesn&rsquo;t go to college.
<p>I&rsquo;m Crony Akatsuki, 20 year old who doesn&rsquo;t go to college.
Living in Croatia.
At the current moment working as a store cleck. I love linux, computer&rsquo;s and foss.
To pass time I read manga, program stupid little programs,
@ -53,9 +53,7 @@ and showcase naruto, FUCK CROATIA!).</p>
<li>Discord: cronyakatsuki</li>
<li>XMPP: <a href="mailto:crony@cronyakatsuki.xyz">crony@cronyakatsuki.xyz</a></li>
</ul>
</div>
</div>
</main>
<footer>
<div id="links">

View File

@ -14,7 +14,7 @@
<item>
<title>Setup dns with adblock and dot/doh with pi-hole and unbound</title>
<link>https://cronyakatsuki.xyz/blog/setup-dns-pihole-unbound/</link>
<pubDate>Wed, 27 Sep 2023 00:00:00 +0000</pubDate>
<pubDate>27-09-2023</pubDate>
<guid>https://cronyakatsuki.xyz/blog/setup-dns-pihole-unbound/</guid>
<description>&lt;p&gt;Just another day I seted up my own private dns server that has adblocking ( and other stuff ) using pihole and uses unbound as a resolver. To safelly connect to the dns server I&amp;rsquo;m using DNS over HTTPS for my browser&amp;rsquo;s and HTTPS over TLS for stuffy for my whole desktop and private dns in android ( Android has DoH support but only for google and cloudflare right now). Let&amp;rsquo;s get on to setting everything up&lt;/p&gt;
@ -171,7 +171,7 @@ Also to make lighttpd work with nginx listening on port 80 you need to edit the
<item>
<title>Piped videos not loading</title>
<link>https://cronyakatsuki.xyz/blog/piped-video-not-loading/</link>
<pubDate>Sun, 26 Feb 2023 00:00:00 +0000</pubDate>
<pubDate>26-02-2023</pubDate>
<guid>https://cronyakatsuki.xyz/blog/piped-video-not-loading/</guid>
<description>&lt;p&gt;Recently I have received and experienced an issue of videos not loading on my personal &lt;a href=&#34;https://piped.cronyakatsuki.xyz&#34;&gt;piped&lt;/a&gt; instance and on the official instance. But I have found a fix and a way to watch the videos even without the fix.&lt;/p&gt;
@ -188,7 +188,7 @@ Also to make lighttpd work with nginx listening on port 80 you need to edit the
<item>
<title>miniflux setup on debian</title>
<link>https://cronyakatsuki.xyz/blog/miniflux-setup/</link>
<pubDate>Wed, 30 Nov 2022 00:00:00 +0000</pubDate>
<pubDate>30-11-2022</pubDate>
<guid>https://cronyakatsuki.xyz/blog/miniflux-setup/</guid>
<description>&lt;p&gt;Looking for a minimal self-hosted feed reader I found &lt;a href=&#34;https://miniflux.app/&#34;&gt;miniflux&lt;/a&gt;. But trying to set it up I found my self trying to set it up for 3 freaking hours since I only recently started to self-host things. So here I will try to explaing it in the most easy way how to set it up on a debian server with https using certbot and nginx.&lt;/p&gt;

View File

@ -37,7 +37,13 @@ For this tutorial I expect that you already have a server seted up with nginx an
<h1>miniflux setup on debian</h1>
<p>Looking for a minimal self-hosted feed reader I found <a href="https://miniflux.app/">miniflux</a>. But trying to set it up I found my self trying to set it up for 3 freaking hours since I only recently started to self-host things. So here I will try to explaing it in the most easy way how to set it up on a debian server with https using certbot and nginx.</p>
<div id="date">
<p>30-11-2022</p>
</div>
<p>Looking for a minimal self-hosted feed reader I found <a href="https://miniflux.app/">miniflux</a>. But trying to set it up I found my self trying to set it up for 3 freaking hours since I only recently started to self-host things. So here I will try to explaing it in the most easy way how to set it up on a debian server with https using certbot and nginx.</p>
<!-- raw HTML omitted -->
<p>For this tutorial I expect that you already have a server seted up with nginx and certbot. To set up this things check out <a href="https://landchad.net">landchad</a></p>
<h2 id="installing-needed-packages">Installing needed packages</h2>
@ -129,9 +135,7 @@ For this tutorial I expect that you already have a server seted up with nginx an
</span></span></code></pre></div><p>To get https on your domain you just need to run <code>certbot --nginx</code> same as in this <a href="https://landchad.net/basic/certbot/">tutorial</a></p>
<h2 id="finishing-words">Finishing words</h2>
<p>I hope that this wasn&rsquo;t hard to follow and shouldn&rsquo;t take hours like it took me first time I tried to set this all up.</p>
</div>
</div>
</main>
<footer>
<div id="links">

View File

@ -37,7 +37,13 @@ What creates the issue? From what I have been able to find on the issues over on
<h1>Piped videos not loading</h1>
<p>Recently I have received and experienced an issue of videos not loading on my personal <a href="https://piped.cronyakatsuki.xyz">piped</a> instance and on the official instance. But I have found a fix and a way to watch the videos even without the fix.</p>
<div id="date">
<p>26-02-2023</p>
</div>
<p>Recently I have received and experienced an issue of videos not loading on my personal <a href="https://piped.cronyakatsuki.xyz">piped</a> instance and on the official instance. But I have found a fix and a way to watch the videos even without the fix.</p>
<!-- raw HTML omitted -->
<h2 id="what-creates-the-issue">What creates the issue?</h2>
<p>From what I have been able to find on the issues over on the <a href="https://github.com/TeamPiped/Piped">piped github</a> it seems to be an lbry issue of the videos not loading mostly on firefox, the issue seems to not happen on the chromium browsers.</p>
@ -45,9 +51,7 @@ What creates the issue? From what I have been able to find on the issues over on
<p>To fix the issue you just have to enable an option in the instance settings called <code>disable lbry for streaming</code>. This will disable loading of lbry for videos and the issue will mostly just be bypassed.</p>
<h3 id="fun-way-to-also-watch-the-videos">Fun way to also watch the videos</h3>
<p>If you are like me and bored you can also watch the videos without using the fix by opening the firefox debug console, and in the errors you will see the link of the video that the frontend wasn&rsquo;t able to embed. Just click the link and you will be able to watch the video or it will say that the content isn&rsquo;t reachable and then you will need to do the fix otherwise it&rsquo;s a no no to watch that video otherwise.</p>
</div>
</div>
</main>
<footer>
<div id="links">

View File

@ -36,7 +36,13 @@
<h1>Setup dns with adblock and dot/doh with pi-hole and unbound</h1>
<p>Just another day I seted up my own private dns server that has adblocking ( and other stuff ) using pihole and uses unbound as a resolver. To safelly connect to the dns server I&rsquo;m using DNS over HTTPS for my browser&rsquo;s and HTTPS over TLS for stuffy for my whole desktop and private dns in android ( Android has DoH support but only for google and cloudflare right now). Let&rsquo;s get on to setting everything up</p>
<div id="date">
<p>27-09-2023</p>
</div>
<p>Just another day I seted up my own private dns server that has adblocking ( and other stuff ) using pihole and uses unbound as a resolver. To safelly connect to the dns server I&rsquo;m using DNS over HTTPS for my browser&rsquo;s and HTTPS over TLS for stuffy for my whole desktop and private dns in android ( Android has DoH support but only for google and cloudflare right now). Let&rsquo;s get on to setting everything up</p>
<!-- raw HTML omitted -->
<h2 id="1-pihole">1. Pihole</h2>
<p>Let&rsquo;s start with setting up pihole. I will be installing it with their script on a debian system for easier unbound integration ( unbound doesn&rsquo;t have an official docker container ).</p>
@ -184,9 +190,7 @@ Also to make lighttpd work with nginx listening on port 80 you need to edit the
</span></span><span style="display:flex;"><span><span style="color:#c6d0f5">}</span>
</span></span></code></pre></div><p>After restarting nginx with this configuration you can it to your web browser as a DNS over HTTPS resolver and once again checkout <a href="https://dnsleaktest.com">dnsleaktest</a> website and check if it is all working.</p>
<p>Hope this has been helpfull and if anybody has any way on how to make this guied better you can open a pull request or make an issue on the website&rsquo;s <a href="https://code.cronyakatsuki.xyz/crony/website">repo</a>.</p>
</div>
</div>
</main>
<footer>
<div id="links">

View File

@ -36,7 +36,7 @@
<h1>Services I host</h1>
<h3 id="game-servers-i-host">Game servers I host</h3>
<h3 id="game-servers-i-host">Game servers I host</h3>
<table>
<thead>
<tr>
@ -163,9 +163,7 @@
</tr>
</tbody>
</table>
</div>
</div>
</main>
<footer>
<div id="links">