Allow it to be auto hosted on website

This commit is contained in:
thepenguin 2023-03-04 13:44:01 +01:00
parent c58929ad4d
commit a612830a16
No known key found for this signature in database
GPG Key ID: F258C8C10D060D5E
29 changed files with 997 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,6 +1,6 @@
# ---> Hugo
# Generated files by hugo
/public/
# /public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

91
public/404.html Normal file
View File

@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/images/site.webmanifest">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Credit to the designer of the theme [goodroot](https://github.com/goodroot/hugo-classic)">
<title>404 Page not found | acorneroftheweb</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/theme-override.css">
<header>
<nav>
<ul>
<li class="pull-left ">
<a href="/">~/acorneroftheweb</a>
</li>
<li class="pull-left ">
<a href="/categories/">~/categories</a>
</li>
<li class="pull-left ">
<a href="/tags/">~/tags</a>
</li>
<li class="pull-right">
<a href="/index.xml">~/subscribe</a>
</li>
</ul>
</nav>
</header>
</head>
<body>
<br/>
404 - You once were found. But now you're lost.
<footer>
<script>
(function() {
function center_el(tagName) {
var tags = document.getElementsByTagName(tagName), i, tag;
for (i = 0; i < tags.length; i++) {
tag = tags[i];
var parent = tag.parentElement;
if (parent.childNodes.length === 1) {
if (parent.nodeName === 'A') {
parent = parent.parentElement;
if (parent.childNodes.length != 1) continue;
}
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
}
}
}
var tagNames = ['img', 'embed', 'object'];
for (var i = 0; i < tagNames.length; i++) {
center_el(tagNames[i]);
}
})();
</script>
<hr/>
Open-Source | <a href="https://git.acorneroftheweb.com/pingu/blog">Git</a>
</footer>
</body>
</html>

File diff suppressed because one or more lines are too long

1
public/ananke/css/main.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,95 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/images/site.webmanifest">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Credit to the designer of the theme [goodroot](https://github.com/goodroot/hugo-classic)">
<title>Categories | acorneroftheweb</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/theme-override.css">
<header>
<nav>
<ul>
<li class="pull-left ">
<a href="/">~/acorneroftheweb</a>
</li>
<li class="pull-left current">
<a href="/categories/">~/categories</a>
</li>
<li class="pull-left ">
<a href="/tags/">~/tags</a>
</li>
<li class="pull-right">
<a href="/index.xml">~/subscribe</a>
</li>
</ul>
</nav>
</header>
</head>
<body>
<br/>
<h1>Categories</h1>
<ul class="terms">
</ul>
<footer>
<script>
(function() {
function center_el(tagName) {
var tags = document.getElementsByTagName(tagName), i, tag;
for (i = 0; i < tags.length; i++) {
tag = tags[i];
var parent = tag.parentElement;
if (parent.childNodes.length === 1) {
if (parent.nodeName === 'A') {
parent = parent.parentElement;
if (parent.childNodes.length != 1) continue;
}
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
}
}
}
var tagNames = ['img', 'embed', 'object'];
for (var i = 0; i < tagNames.length; i++) {
center_el(tagNames[i]);
}
})();
</script>
<hr/>
Open-Source | <a href="https://git.acorneroftheweb.com/pingu/blog">Git</a>
</footer>
</body>
</html>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on acorneroftheweb</title>
<link>/categories/</link>
<description>Recent content in Categories on acorneroftheweb</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

31
public/css/fonts.css Normal file
View File

@ -0,0 +1,31 @@
@import url('https://rsms.me/inter/inter.css');
html { font-family:
'Inter',
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol';
}
@supports (font-variation-settings: normal) {
html { font-family:
'Inter var',
sans-serif,
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol';
}
}
code {
font-family:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Helvetica,
Arial,
sans-serif,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol";
font-size: 85%;
}

210
public/css/style.css Normal file
View File

@ -0,0 +1,210 @@
/* Dark mode */
@media (prefers-color-scheme: dark) {
body {
background-color: #393E41;
color: white;
}
blockquote {
background: #393E41;
}
a {
color: #EBC3DB;
}
header {
background: #393E41;
border-bottom: 2px dotted #EBC3DB;
}
.article-meta, .menu a {
background: #393E41;
color: white;
}
table {
margin: auto;
border-top: 1px solid #666;
border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #666; }
th, td { padding: 5px; }
tr:nth-child(even) { background: #666 }
}
/* Light mode */
@media (prefers-color-scheme: light) {
blockquote {
background: #f9f9f9;
}
a {
color: #613DC1;
}
header {
background: #613DC1;
}
.article-meta, .menu a {
background: #E8DBC5;
color: #000;
}
table {
margin: auto;
border-top: 1px solid #666;
border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
tr:nth-child(even) { background: #eee }
}
body {
max-width: 800px;
margin: auto;
padding: .2em;
line-height: 1.5em;
}
h1 {
line-height: 1.5em;
}
/* Table of Contents, if wanted
Add to yaml:
output:
blogdown::html_page:
toc: true
*/
#TableOfContents, #TOC {
border: 1px solid #eee;
border-radius: 5px;
}
/* Header and Footer */
.menu li { display: inline-block; }
.article-meta, .menu a {
text-decoration: none;
padding: 5px;
border-radius: 5px;
border-style: dotted;
border-width: 1px;
margin-bottom: 20px;
}
.terms { font-size: .9em; }
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
.pull-left {
float: left
}
.pull-right {
float: right
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Adjust background at your leisure! */
header {
position: relative;
width: 100%;
height: 1.75rem;
font-size: 1rem;
}
header ul,
header ol {
margin: 0;
padding: 0;
list-style: none
}
header nav {
padding: 0 0.5rem
}
header a {
color: #fff;
line-height: 1.75rem;
padding: 0 0.5rem
}
header a:hover,
header .current a {
color: #fff
}
/* Code Boxes */
pre {
border: 2px solid #EBC3DB;
padding: 1em;
overflow-x: auto;
}
pre code { background: none; }
/* Images, tables, misc. */
img, iframe, video {
max-width: 100%;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
main {
hyphens: auto;
max-width: 650px;
margin-left: auto;
margin-right: auto;
line-height: 1.7em;
hyphens: auto;
display: block;
font-size: 1.1em;
}
main a {
font-weight: bold;
}
blockquote {
border-left: 5px solid #ccc;
padding: 3px 1em 3px;
}
.content-wrapper {
padding: 0px 12px 0px 12px;
}
#foxy {
min-width: 40px;
float: right;
padding: 10px;
display: block;
}
/* Small devices, phones */
@media only screen and (min-width : 480px) {
#foxy {
min-width: 40px;
float: center;
padding: 10px 10px 10px 20px;
display: block;
}
}

View File

@ -0,0 +1 @@
footer { font-size: 90%; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

BIN
public/images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

BIN
public/images/grayf0x.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

BIN
public/images/tn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

104
public/index.html Normal file
View File

@ -0,0 +1,104 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta name="generator" content="Hugo 0.100.2" />
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/images/site.webmanifest">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Nor Führ, or Pingu or any other penguin related name&#39;s, blog about anything and everything.">
<title>Home | acorneroftheweb</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/theme-override.css">
<header>
<nav>
<ul>
<li class="pull-left current">
<a href="/">~/acorneroftheweb</a>
</li>
<li class="pull-left ">
<a href="/categories/">~/categories</a>
</li>
<li class="pull-left ">
<a href="/tags/">~/tags</a>
</li>
<li class="pull-right">
<a href="/index.xml">~/subscribe</a>
</li>
</ul>
</nav>
</header>
</head>
<body>
<br/>
<div class="content-wrapper">
<h2 id="welcome-to-this-little-corner-of-the-web-">Welcome to this little corner of the web. 💜</h2>
<hr>
<h2 id="musings">Musings</h2>
<ul>
</ul>
</div>
<footer>
<script>
(function() {
function center_el(tagName) {
var tags = document.getElementsByTagName(tagName), i, tag;
for (i = 0; i < tags.length; i++) {
tag = tags[i];
var parent = tag.parentElement;
if (parent.childNodes.length === 1) {
if (parent.nodeName === 'A') {
parent = parent.parentElement;
if (parent.childNodes.length != 1) continue;
}
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
}
}
}
var tagNames = ['img', 'embed', 'object'];
for (var i = 0; i < tagNames.length; i++) {
center_el(tagNames[i]);
}
})();
</script>
<hr/>
Open-Source | <a href="https://git.acorneroftheweb.com/pingu/blog">Git</a>
</footer>
</body>
</html>

10
public/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Home on acorneroftheweb</title>
<link>/</link>
<description>Recent content in Home on acorneroftheweb</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

126
public/posts/index.html Normal file
View File

@ -0,0 +1,126 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>My New Hugo Site</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="">
<meta name="generator" content="Hugo 0.110.0">
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/ananke/css/main.min.css" >
<link href="/posts/index.xml" rel="alternate" type="application/rss+xml" title="My New Hugo Site" />
<link href="/posts/index.xml" rel="feed" type="application/rss+xml" title="My New Hugo Site" />
<meta property="og:title" content="Posts" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://example.org/posts/" />
<meta itemprop="name" content="Posts">
<meta itemprop="description" content=""><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Posts"/>
<meta name="twitter:description" content=""/>
</head>
<body class="ma0 avenir bg-near-white">
<header>
<div class="pb3-m pb6-l bg-black">
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l justify-between items-center center">
<a href="/" class="f3 fw2 hover-white no-underline white-90 dib">
My New Hugo Site
</a>
<div class="flex-l items-center">
<div class="ananke-socials">
</div>
</div>
</div>
</nav>
<div class="tc-l pv3 ph3 ph4-ns">
<h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
Posts
</h1>
</div>
</div>
</header>
<main class="pb7" role="main">
<article class="pa3 pa4-ns nested-copy-line-height">
<section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy mid-gray"></section>
<section class="flex-ns flex-wrap justify-around mt5">
<div class="relative w-100 w-30-l mb4 bg-white">
<div class="relative w-100 mb4 bg-white nested-copy-line-height">
<div class="bg-white mb3 pa4 gray overflow-hidden">
<span class="f6 db">Posts</span>
<h1 class="f3 near-black">
<a href="/posts/my-first-post/" class="link black dim">
My First Post
</a>
</h1>
<div class="nested-links f5 lh-copy nested-copy-line-height">
Introduction This is bold text, and this is emphasized text.
Visit the Hugo website!
</div>
</div>
</div>
</div>
</section></article>
</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://example.org/" >
&copy; My New Hugo Site 2023
</a>
<div>
<div class="ananke-socials">
</div>
</div>
</div>
</footer>
</body>
</html>

21
public/posts/index.xml Normal file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on My New Hugo Site</title>
<link>http://example.org/posts/</link>
<description>Recent content in Posts on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Sat, 04 Mar 2023 12:59:11 +0100</lastBuildDate><atom:link href="http://example.org/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>My First Post</title>
<link>http://example.org/posts/my-first-post/</link>
<pubDate>Sat, 04 Mar 2023 12:59:11 +0100</pubDate>
<guid>http://example.org/posts/my-first-post/</guid>
<description>Introduction This is bold text, and this is emphasized text.
Visit the Hugo website!</description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,157 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>My First Post | My New Hugo Site</title>
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="Introduction This is bold text, and this is emphasized text.
Visit the Hugo website!">
<meta name="generator" content="Hugo 0.110.0">
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/ananke/css/main.min.css" >
<meta property="og:title" content="My First Post" />
<meta property="og:description" content="Introduction This is bold text, and this is emphasized text.
Visit the Hugo website!" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://example.org/posts/my-first-post/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2023-03-04T12:59:11+01:00" />
<meta property="article:modified_time" content="2023-03-04T12:59:11+01:00" />
<meta itemprop="name" content="My First Post">
<meta itemprop="description" content="Introduction This is bold text, and this is emphasized text.
Visit the Hugo website!"><meta itemprop="datePublished" content="2023-03-04T12:59:11+01:00" />
<meta itemprop="dateModified" content="2023-03-04T12:59:11+01:00" />
<meta itemprop="wordCount" content="14">
<meta itemprop="keywords" content="" /><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="My First Post"/>
<meta name="twitter:description" content="Introduction This is bold text, and this is emphasized text.
Visit the Hugo website!"/>
</head>
<body class="ma0 avenir bg-near-white">
<header>
<div class="bg-black">
<nav class="pv3 ph3 ph4-ns" role="navigation">
<div class="flex-l justify-between items-center center">
<a href="/" class="f3 fw2 hover-white no-underline white-90 dib">
My New Hugo Site
</a>
<div class="flex-l items-center">
<div class="ananke-socials">
</div>
</div>
</div>
</nav>
</div>
</header>
<main class="pb7" role="main">
<article class="flex-l flex-wrap justify-between mw8 center ph3">
<header class="mt4 w-100">
<aside class="instapaper_ignoref b helvetica tracked">
POSTS
</aside>
<div id="sharing" class="mt3 ananke-socials">
</div>
<h1 class="f1 athelas mt3 mb1">My First Post</h1>
<time class="f6 mv4 dib tracked" datetime="2023-03-04T12:59:11+01:00">March 4, 2023</time>
</header>
<div class="nested-copy-line-height lh-copy serif f4 nested-links mid-gray pr4-l w-two-thirds-l"><h2 id="introduction">Introduction</h2>
<p>This is <strong>bold</strong> text, and this is <em>emphasized</em> text.</p>
<p>Visit the <a href="https://gohugo.io">Hugo</a> website!</p>
<ul class="pa0">
</ul>
<div class="mt6 instapaper_ignoref">
</div>
</div>
<aside class="w-30-l mt6-l">
</aside>
</article>
</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
<div class="flex justify-between">
<a class="f4 fw4 hover-white no-underline white-70 dn dib-ns pv2 ph3" href="http://example.org/" >
&copy; My New Hugo Site 2023
</a>
<div>
<div class="ananke-socials">
</div>
</div>
</div>
</footer>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>http://example.org/posts/</title>
<link rel="canonical" href="http://example.org/posts/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=http://example.org/posts/">
</head>
</html>

11
public/sitemap.xml Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/categories/</loc>
</url><url>
<loc>/</loc>
</url><url>
<loc>/tags/</loc>
</url>
</urlset>

95
public/tags/index.html Normal file
View File

@ -0,0 +1,95 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/images/site.webmanifest">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Credit to the designer of the theme [goodroot](https://github.com/goodroot/hugo-classic)">
<title>Tags | acorneroftheweb</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />
<link rel="stylesheet" href="/css/theme-override.css">
<header>
<nav>
<ul>
<li class="pull-left ">
<a href="/">~/acorneroftheweb</a>
</li>
<li class="pull-left ">
<a href="/categories/">~/categories</a>
</li>
<li class="pull-left current">
<a href="/tags/">~/tags</a>
</li>
<li class="pull-right">
<a href="/index.xml">~/subscribe</a>
</li>
</ul>
</nav>
</header>
</head>
<body>
<br/>
<h1>Tags</h1>
<ul class="terms">
</ul>
<footer>
<script>
(function() {
function center_el(tagName) {
var tags = document.getElementsByTagName(tagName), i, tag;
for (i = 0; i < tags.length; i++) {
tag = tags[i];
var parent = tag.parentElement;
if (parent.childNodes.length === 1) {
if (parent.nodeName === 'A') {
parent = parent.parentElement;
if (parent.childNodes.length != 1) continue;
}
if (parent.nodeName === 'P') parent.style.textAlign = 'center';
}
}
}
var tagNames = ['img', 'embed', 'object'];
for (var i = 0; i < tagNames.length; i++) {
center_el(tagNames[i]);
}
})();
</script>
<hr/>
Open-Source | <a href="https://git.acorneroftheweb.com/pingu/blog">Git</a>
</footer>
</body>
</html>

10
public/tags/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on acorneroftheweb</title>
<link>/tags/</link>
<description>Recent content in Tags on acorneroftheweb</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>