add home link to title (hardcoded until I fix go templates in neovim)

This commit is contained in:
andrzej 2024-11-15 09:37:18 +01:00
parent 65ecffc583
commit 2e42ee1094
16 changed files with 26 additions and 45 deletions

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -55,31 +55,17 @@
}
}
html {
width: 100vw;
}
body {
background-color: var(--rp-base);
color: var(--rp-text);
font-family: sans-serif;
line-height: 1.5;
margin: 1rem;
width: 100%;
display: flex;
flex-direction: column;
justify-items: center;
}
main {
margin: auto;
max-width: 780px;
width: fit;
padding: 0 1em 0 1em;
max-width: 768px;
}
strong {
color: var(--rp-iris);
color: var(--rp-rose);
}
em {
@ -116,31 +102,26 @@ h1 {
text-shadow: 1px 1px 2px black;
}
time {
h2 {
color: var(--rp-gold);
}
code {
background: var(--rp-surface);
color: var(--rp-gold);
padding: 0.3em;
border-radius: 1em;
font-size: 1.2em;
font-style: oblique;
span {
background: var(--rp-surface);
}
}
.chroma>code {
background-color: hsl(247deg, 23%, 15%);
}
.highlight {
padding: 1rem;
background-color: hsl(247deg, 23%, 15%);
border-radius: 0.7rem;
background-color: var(--rp-surface);
border-radius: 1rem;
}

View File

@ -17,7 +17,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>
@ -39,10 +39,10 @@
<h2><a href="/posts/hard-problem/">Hard Problem: Invalidating the browser cache</a></h2>
<h2><a href="/posts/hard-problem/">Hard Problem? Invalidating the browser cache</a></h2>
<p><strong>I had a bit of an issue with my <a href="https://demos.ajstepien.xyz">website</a> recently.</strong></p>
<p>I pushed some changes incorporating images for the first time (I know, very swish), and everything seemed to be working just fine, but when I loaded the production site in Firefox, the images were not styled. Stranger still, they <em>were</em> styled when I loaded the same page in Chrome.</p>
<p>The experienced computer touchers amongst you will be saying &ldquo;this is obviously a cache problem&rdquo;, and you&rsquo;re right, it is obviously a cache problem. Pressing <code>CTR + SHIFT + R</code> (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&rsquo;s machines?</p>
<p>The experienced computer touchers amongst you will be saying &ldquo;this is obviously a cache problem&rdquo;, and you&rsquo;re right, it is obviously a cache problem. Pressing <code>CTR + SHIFT + R</code> (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&rsquo;s machines? I need to cache-bust.</p>
<h2><a href="/posts/permissions-strike-again/">Permissions Strike Again</a></h2>
<p>Configuring Apache really isn&rsquo;t rocket science. There are a wealth of great tutorials online, the documentation is very well documented, and the defaults work more or less out of the box. But it&rsquo;s one of those jobs that I do just infrequently enough that I always forget things in the interim, and end up making the same old mistakes.</p>

View File

@ -9,11 +9,11 @@
<lastBuildDate>Wed, 13 Nov 2024 14:24:21 +0100</lastBuildDate>
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hard Problem: Invalidating the browser cache</title>
<title>Hard Problem? Invalidating the browser cache</title>
<link>http://localhost:1313/posts/hard-problem/</link>
<pubDate>Wed, 13 Nov 2024 14:24:21 +0100</pubDate>
<guid>http://localhost:1313/posts/hard-problem/</guid>
<description>&lt;p&gt;&lt;strong&gt;I had a bit of an issue with my &lt;a href=&#34;https://demos.ajstepien.xyz&#34;&gt;website&lt;/a&gt; recently.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I pushed some changes incorporating images for the first time (I know, very swish), and everything seemed to be working just fine, but when I loaded the production site in Firefox, the images were not styled. Stranger still, they &lt;em&gt;were&lt;/em&gt; styled when I loaded the same page in Chrome.&lt;/p&gt;&#xA;&lt;p&gt;The experienced computer touchers amongst you will be saying &amp;ldquo;this is obviously a cache problem&amp;rdquo;, and you&amp;rsquo;re right, it is obviously a cache problem. Pressing &lt;code&gt;CTR + SHIFT + R&lt;/code&gt; (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&amp;rsquo;s machines?&lt;/p&gt;</description>
<description>&lt;p&gt;&lt;strong&gt;I had a bit of an issue with my &lt;a href=&#34;https://demos.ajstepien.xyz&#34;&gt;website&lt;/a&gt; recently.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I pushed some changes incorporating images for the first time (I know, very swish), and everything seemed to be working just fine, but when I loaded the production site in Firefox, the images were not styled. Stranger still, they &lt;em&gt;were&lt;/em&gt; styled when I loaded the same page in Chrome.&lt;/p&gt;&#xA;&lt;p&gt;The experienced computer touchers amongst you will be saying &amp;ldquo;this is obviously a cache problem&amp;rdquo;, and you&amp;rsquo;re right, it is obviously a cache problem. Pressing &lt;code&gt;CTR + SHIFT + R&lt;/code&gt; (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&amp;rsquo;s machines? I need to cache-bust.&lt;/p&gt;</description>
</item>
<item>
<title>Permissions Strike Again</title>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>
@ -40,10 +40,10 @@
<p>Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat.</p>
<h2><a href="/posts/hard-problem/">Hard Problem: Invalidating the browser cache</a></h2>
<h2><a href="/posts/hard-problem/">Hard Problem? Invalidating the browser cache</a></h2>
<p><strong>I had a bit of an issue with my <a href="https://demos.ajstepien.xyz">website</a> recently.</strong></p>
<p>I pushed some changes incorporating images for the first time (I know, very swish), and everything seemed to be working just fine, but when I loaded the production site in Firefox, the images were not styled. Stranger still, they <em>were</em> styled when I loaded the same page in Chrome.</p>
<p>The experienced computer touchers amongst you will be saying &ldquo;this is obviously a cache problem&rdquo;, and you&rsquo;re right, it is obviously a cache problem. Pressing <code>CTR + SHIFT + R</code> (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&rsquo;s machines?</p>
<p>The experienced computer touchers amongst you will be saying &ldquo;this is obviously a cache problem&rdquo;, and you&rsquo;re right, it is obviously a cache problem. Pressing <code>CTR + SHIFT + R</code> (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&rsquo;s machines? I need to cache-bust.</p>
<h2><a href="/posts/permissions-strike-again/">Permissions Strike Again</a></h2>
<p>Configuring Apache really isn&rsquo;t rocket science. There are a wealth of great tutorials online, the documentation is very well documented, and the defaults work more or less out of the box. But it&rsquo;s one of those jobs that I do just infrequently enough that I always forget things in the interim, and end up making the same old mistakes.</p>

View File

@ -9,11 +9,11 @@
<lastBuildDate>Wed, 13 Nov 2024 14:24:21 +0100</lastBuildDate>
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hard Problem: Invalidating the browser cache</title>
<title>Hard Problem? Invalidating the browser cache</title>
<link>http://localhost:1313/posts/hard-problem/</link>
<pubDate>Wed, 13 Nov 2024 14:24:21 +0100</pubDate>
<guid>http://localhost:1313/posts/hard-problem/</guid>
<description>&lt;p&gt;&lt;strong&gt;I had a bit of an issue with my &lt;a href=&#34;https://demos.ajstepien.xyz&#34;&gt;website&lt;/a&gt; recently.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I pushed some changes incorporating images for the first time (I know, very swish), and everything seemed to be working just fine, but when I loaded the production site in Firefox, the images were not styled. Stranger still, they &lt;em&gt;were&lt;/em&gt; styled when I loaded the same page in Chrome.&lt;/p&gt;&#xA;&lt;p&gt;The experienced computer touchers amongst you will be saying &amp;ldquo;this is obviously a cache problem&amp;rdquo;, and you&amp;rsquo;re right, it is obviously a cache problem. Pressing &lt;code&gt;CTR + SHIFT + R&lt;/code&gt; (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&amp;rsquo;s machines?&lt;/p&gt;</description>
<description>&lt;p&gt;&lt;strong&gt;I had a bit of an issue with my &lt;a href=&#34;https://demos.ajstepien.xyz&#34;&gt;website&lt;/a&gt; recently.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;I pushed some changes incorporating images for the first time (I know, very swish), and everything seemed to be working just fine, but when I loaded the production site in Firefox, the images were not styled. Stranger still, they &lt;em&gt;were&lt;/em&gt; styled when I loaded the same page in Chrome.&lt;/p&gt;&#xA;&lt;p&gt;The experienced computer touchers amongst you will be saying &amp;ldquo;this is obviously a cache problem&amp;rdquo;, and you&amp;rsquo;re right, it is obviously a cache problem. Pressing &lt;code&gt;CTR + SHIFT + R&lt;/code&gt; (which forces Firefox to clear the cache and do a full reload) proved this thesis, and solved the problem handily for me, on my machine. But what about other people&amp;rsquo;s machines? I need to cache-bust.&lt;/p&gt;</description>
</item>
<item>
<title>Permissions Strike Again</title>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -16,7 +16,7 @@
</head>
<body>
<header>
<h1>CODING WITH ANDRZEJ</h1>
<a href="http://localhost:1313"><h1>CODING WITH ANDRZEJ</h1></a>
<nav>
<ul>

View File

@ -1,2 +1,2 @@
<h1>{{ site.Title }}</h1>
<a href="http://localhost:1313"><h1>{{ site.Title }}</h1></a>
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}