Converted 404 to html

This commit is contained in:
Claudio Maggioni 2018-10-23 17:17:23 +02:00
parent 79f78a4a7d
commit 8f0c71f664
12 changed files with 62 additions and 58 deletions

18
404.html Normal file
View File

@ -0,0 +1,18 @@
---
layout: main
permalink: /404.html
---
<h1>404 - page not found</h1>
<p>
If you didn't come on purpose I apologise, but the page you are searching doesn't exist.
If you came on purpose enjoy this minimal <code>gif</code> of a dancing Rick Astley.
</p>
<p>
<img class="block-center" src="./astley.gif" alt="Rick Astley gif">
</p>
<p>
Thanks to <a href="https://github.com/Giorgio-Croci">Giorgio Croci
</a> for the <code>gif</code>!</p>

22
404.md
View File

@ -1,22 +0,0 @@
---
layout: main
permalink: /404.html
---
# 404 - page not found
If you didn't come on purpose I apologise, but the page you are searching doesn't exist.
But, if you came on purpose, enjoy a flat Rick Astley gif dancing.
![Rick gif](/astley.gif)
<style>
img{
display: inline-block
}
main{
text-align: center
}
</style>
Thanks [Giorgio Croci!](https://github.com/Giorgio-Croci)

View File

@ -117,3 +117,9 @@ a.icon i.fa {
display: table-cell;
vertical-align: middle;
}
/* Utility class for centering block elements */
.block-center {
display: block;
margin: auto;
}

View File

@ -12,8 +12,8 @@
<link rel="stylesheet" href="/css/main.css">
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="canonical" href="http://localhost:4000/404.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://localhost:4000/feed.xml">
<link rel="canonical" href="http://praticamentetilde.github.io/404.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://praticamentetilde.github.io/feed.xml">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://rawgit.com/snaptortoise/konami-js/master/konami.js"></script>
<!-- Favicon -->
@ -90,23 +90,20 @@
</header>
<main class="container">
<h1 id="404---page-not-found">404 - page not found</h1>
<h1>404 - page not found</h1>
<p>If you didnt come on purpose I apologise, but the page you are searching doesnt exist.
But, if you came on purpose, enjoy a flat Rick Astley gif dancing.</p>
<p>
If you didn't come on purpose I apologise, but the page you are searching doesn't exist.
If you came on purpose enjoy this minimal <code>gif</code> of a dancing Rick Astley.
</p>
<p><img src="/astley.gif" alt="Rick gif" /></p>
<p>
<img class="block-center" src="./astley.gif" alt="Rick Astley gif">
</p>
<style>
img{
display: inline-block
}
main{
text-align: center
}
</style>
<p>Thanks <a href="https://github.com/Giorgio-Croci">Giorgio Croci!</a></p>
<p>
Thanks to <a href="https://github.com/Giorgio-Croci">Giorgio Croci
</a> for the <code>gif</code>!</p>
</main>
<footer class="site-footer">

View File

@ -12,8 +12,8 @@
<link rel="stylesheet" href="/css/main.css">
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="canonical" href="http://localhost:4000/blog/">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://localhost:4000/feed.xml">
<link rel="canonical" href="http://praticamentetilde.github.io/blog/">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://praticamentetilde.github.io/feed.xml">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://rawgit.com/snaptortoise/konami-js/master/konami.js"></script>
<!-- Favicon -->

View File

@ -233,6 +233,11 @@ a.icon i.fa {
display: table-cell;
vertical-align: middle; }
/* Utility class for centering block elements */
.block-center {
display: block;
margin: auto; }
/**
* Syntax highlighting styles
*/

View File

@ -4,10 +4,10 @@
<title>maggioni.xyz</title>
<description>Eat polenta and do not counter-aim!
</description>
<link>http://localhost:4000/</link>
<atom:link href="http://localhost:4000/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Tue, 23 Oct 2018 17:00:52 +0200</pubDate>
<lastBuildDate>Tue, 23 Oct 2018 17:00:52 +0200</lastBuildDate>
<link>http://praticamentetilde.github.io/</link>
<atom:link href="http://praticamentetilde.github.io/feed.xml" rel="self" type="application/rss+xml"/>
<pubDate>Tue, 23 Oct 2018 17:16:39 +0200</pubDate>
<lastBuildDate>Tue, 23 Oct 2018 17:16:39 +0200</lastBuildDate>
<generator>Jekyll v3.8.4</generator>
<item>
@ -80,8 +80,8 @@ done&lt;/span&gt;
&lt;p&gt;If you want even more security, you can rename this script to &lt;code class=&quot;highlighter-rouge&quot;&gt;/bin/rm&lt;/code&gt; and move the original one in some other place, getting rid of all the aliases. I prefer the solution above because its tidier: you havent to move anything. In fact, this could be just an AUR package…&lt;/p&gt;
</description>
<pubDate>Thu, 28 Jul 2016 16:00:00 +0200</pubDate>
<link>http://localhost:4000/linux/2016/07/28/how-to-rickroll-people-launching-rm-rf-on-your-system.html</link>
<guid isPermaLink="true">http://localhost:4000/linux/2016/07/28/how-to-rickroll-people-launching-rm-rf-on-your-system.html</guid>
<link>http://praticamentetilde.github.io/linux/2016/07/28/how-to-rickroll-people-launching-rm-rf-on-your-system.html</link>
<guid isPermaLink="true">http://praticamentetilde.github.io/linux/2016/07/28/how-to-rickroll-people-launching-rm-rf-on-your-system.html</guid>
<category>linux</category>
@ -122,8 +122,8 @@ done&lt;/span&gt;
&lt;p&gt;Ive not installed Gentoo in dual boot because I didnt figured out how to switch my bluetooth dongle in HID mode yet, so I cant select the OS with &lt;code class=&quot;highlighter-rouge&quot;&gt;rEFInd&lt;/code&gt;. Hope this rambling was, if not useful, at least entertaining!&lt;/p&gt;
</description>
<pubDate>Tue, 12 Jul 2016 13:00:00 +0200</pubDate>
<link>http://localhost:4000/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html</link>
<guid isPermaLink="true">http://localhost:4000/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html</guid>
<link>http://praticamentetilde.github.io/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html</link>
<guid isPermaLink="true">http://praticamentetilde.github.io/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html</guid>
<category>linux</category>
@ -217,8 +217,8 @@ This incredibly worked. I think the problem was that &lt;code&gt;multi-user.targ
&lt;/p&gt;
</description>
<pubDate>Thu, 07 Jul 2016 14:49:18 +0200</pubDate>
<link>http://localhost:4000/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html</link>
<guid isPermaLink="true">http://localhost:4000/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html</guid>
<link>http://praticamentetilde.github.io/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html</link>
<guid isPermaLink="true">http://praticamentetilde.github.io/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html</guid>
<category>linux</category>

View File

@ -12,8 +12,8 @@
<link rel="stylesheet" href="/css/main.css">
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="canonical" href="http://localhost:4000/">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://localhost:4000/feed.xml">
<link rel="canonical" href="http://praticamentetilde.github.io/">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://praticamentetilde.github.io/feed.xml">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://rawgit.com/snaptortoise/konami-js/master/konami.js"></script>
<!-- Favicon -->

View File

@ -11,8 +11,8 @@
<link rel="stylesheet" href="/css/main.css">
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="canonical" href="http://localhost:4000/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://localhost:4000/feed.xml">
<link rel="canonical" href="http://praticamentetilde.github.io/linux/2016/07/07/get-a-bluetooth-keyboard-work-with-arch.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://praticamentetilde.github.io/feed.xml">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://rawgit.com/snaptortoise/konami-js/master/konami.js"></script>
<!-- Favicon -->

View File

@ -11,8 +11,8 @@
<link rel="stylesheet" href="/css/main.css">
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="canonical" href="http://localhost:4000/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://localhost:4000/feed.xml">
<link rel="canonical" href="http://praticamentetilde.github.io/linux/2016/07/12/installing-gentoo-on-a-thinkpad-x60s.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://praticamentetilde.github.io/feed.xml">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://rawgit.com/snaptortoise/konami-js/master/konami.js"></script>
<!-- Favicon -->

View File

@ -11,8 +11,8 @@
<link rel="stylesheet" href="/css/main.css">
<link href='https://fonts.googleapis.com/css?family=Hammersmith+One' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<link rel="canonical" href="http://localhost:4000/linux/2016/07/28/how-to-rickroll-people-launching-rm-rf-on-your-system.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://localhost:4000/feed.xml">
<link rel="canonical" href="http://praticamentetilde.github.io/linux/2016/07/28/how-to-rickroll-people-launching-rm-rf-on-your-system.html">
<link rel="alternate" type="application/rss+xml" title="maggioni.xyz" href="http://praticamentetilde.github.io/feed.xml">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script src="https://rawgit.com/snaptortoise/konami-js/master/konami.js"></script>
<!-- Favicon -->