Skip to content

Commit

Permalink
🥑 new Pi log, updating links & CSS tweaks
Browse files Browse the repository at this point in the history
- wrote a new Pi log, `Messy Pi`
- updated links so they link to the pages moved to the `pages` folder
- formatted unordered lists and list items in CSS
- removed link to `Are you lonely?` because it is not ready
  • Loading branch information
stieglitzz committed Dec 31, 2024
1 parent 1f5cf18 commit c7a5a6a
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
RewriteEngine On
RewriteBase /

# Rewrite cosy.website/pagename to cosy.website/pages/pagename
RewriteCond %{DOCUMENT_ROOT}/pages/%{REQUEST_URI} -f
RewriteRule ^(.*)$ /pages/$1 [L]
20 changes: 19 additions & 1 deletion assets/css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ h6 {
overflow-wrap: break-word
}

p {
p,
li {
text-wrap: pretty;
overflow-wrap: break-word;
-webkit-text-stroke: 0.5px black;
Expand Down Expand Up @@ -129,6 +130,23 @@ p {
margin-top: 0;
}

li:first-child {
margin-top: 0;
padding-top: 0;
}

p:has(+ul) {
margin-bottom: 0;
padding-bottom: 0;
text-decoration: underline;
text-underline-offset: 2px;
}

ul {
margin-top: 0;
padding-top: 0;
}

section *:last-child,
header *:last-child,
main *:last-child {
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ <h1>This is a cosy website.</h1>
<section>
<h2>Pages</h2>
<ul>
<li><a href="/rip.html">R.I.P</a></li>
<li><a href="/sad.html">:(</a></li>
<li><a href="/are-you-lonely.html">Lonely</a></li>
<li><a href="pages/rip.html">R.I.P</a></li>
<li><a href="pages/sad.html">:(</a></li>
<!-- <li><a href="/are-you-lonely.html">Lonely</a></li> -->
</ul>
</section>

<section>
<a href="/pi-log.html">
<a href="pages/pi-log.html">
<h2>Pi Log</h2>
</a>
</section>
Expand Down
4 changes: 4 additions & 0 deletions pages/pi-log.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
<date>19.11.2024</date>
<p>Nice Pi</p>
</a>
<a href="/pi-log/20241231-messy-pi.html" class="log">
<date>30.12.2024</date>
<p>Messy Pi</p>
</a>
</body>
</main>
<footer><a class="back" href="/index.html">Back</a></footer>
Expand Down
52 changes: 52 additions & 0 deletions pi-log/20241231-messy-pi.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Messy Pi</title>
<link rel="stylesheet" href="/assets/css/reset.css">
</head>
<header>
</header>
<main>

<body>
<date>24.12.2024</date>
<p>I think I need to start keeping a technical log of my Pi happenings. I make notes in Obsidian but I'm still
confused about the concept of links, tags and folders.</p>
<p>Things I would record are:</p>
<ul>
<li>issues</li>
<li>attempted resolutions</li>
<li>succesful resolutions</li>
<li>links resources and references used</li>
<li>added services and software</li>
<li>removed services and software</li>
</ul>
<p>Okay, this is just git commits. Maybe I should setup a private repo so I have version control for the Pi setups
and won't have to nuke everything when I break it.</p>
<p>This is the short list of Pi happenings today:</p>
<ul>
<li>continued setting up YunoHost on piBo</li>
<li>tried to connect umm.lol to piBo</li>
<li>umm.lol was loading a deleted, offline Homer dashboard but in a private browser it was loading <a
href="https://cosy.website">cosy.website</a></li>
<li>purging the Cloudflare cache for umm.lol stopped the Homer dashboard from loading</li>
<li>currently umm.lol is still loading <a href="https://cosy.website">cosy.website</a></li>
<li>when it does this the URL is https://umm.lol</li>
<li>there is no valid SSL cert but the SSL cert for <a href="https://cosy.website">cosy.website</a> is listed</li>
<li>remembered that I setup an Application Gateway through Cloudflare for umm.lol</li>
<li>deleted Application Gateway</li>
</ul>
<p>Issues to try and fix next time:</p>
<ul>
<li>connect umm.lol to YunoHost</li>
<li>resolve issues appearing in YunoHost diagnosis (DNS, port exposure, HTTP access and email)</li>
<li>work out best way to manage port forwarding on my modem (Sagemcom 5366 TN)</li>
</ul>
</body>
</main>
<footer><a class="back" href="/pages/pi-log.html">Back to Pi Log</a></footer>

</html>

0 comments on commit c7a5a6a

Please sign in to comment.