Build on post-recieve

This commit is contained in:
Daniel Mason 2021-11-03 18:59:01 +13:00
parent 5c206048b8
commit 05e6ef5958
Signed by: idanoo
GPG Key ID: 387387CDBC02F132
15 changed files with 30 additions and 237 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public

View File

@ -4,10 +4,27 @@ title = 'Daniel Mason'
theme = "m10c"
[[params]]
[menu]
[[menu.main]]
identifier = "home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = 2
# [[menu.main]]
# identifier = "about"
# name = "About"
# url = "/about/"
# weight = 3
[params]
author = "Daniel Mason"
description = "Personal blog"
avatar = ""
avatar = "profile.png"
menu_item_separator = " | "
favicon = "/favicon.ico"
@ -16,7 +33,6 @@ theme = "m10c"
name = "GitLab"
url = "https://gitlab.com/idanoo"
[params.style]
darkestColor = "#242930"
darkColor = "#353b43"

View File

View File

@ -1,48 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>404 Page not found // Daniel Mason</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.89.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="John Doe" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://m2.nz/css/main.min.88e7083eff65effb7485b6e6f38d10afbec25093a6fac42d734ce9024d3defbd.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content=""/>
<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://m2.nz/404.html" />
</head>
<body>
<header class="app-header">
<a href="https://m2.nz/"><img class="app-header-avatar" src="/avatar.jpg" alt="John Doe" /></a>
<h1>Daniel Mason</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium.</p>
</header>
<main class="app-container">
<div class="error-404">
<h1 class="error-404-title">O<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-frown">
<title>frown</title>
<circle cx="12" cy="12" r="10"></circle><path d="M16 16s-1.5-2-4-2-4 2-4 2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line>
</svg>ps... </h1>
<p>The link you followed may be broken, or the page may have been removed.</p>
<a href="/">Go home <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-arrow-right">
<title>arrow-right</title>
<line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline>
</svg></a>
</div>
</main>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -1,43 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Categories // Daniel Mason</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.89.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="John Doe" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://m2.nz/css/main.min.88e7083eff65effb7485b6e6f38d10afbec25093a6fac42d734ce9024d3defbd.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Categories"/>
<meta name="twitter:description" content=""/>
<meta property="og:title" content="Categories" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://m2.nz/categories/" />
</head>
<body>
<header class="app-header">
<a href="https://m2.nz/"><img class="app-header-avatar" src="/avatar.jpg" alt="John Doe" /></a>
<h1>Daniel Mason</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium.</p>
</header>
<main class="app-container">
<article>
<h1>Categories</h1>
<ul class="tags-list">
</ul>
</article>
</main>
</body>
</html>

View File

@ -1,10 +0,0 @@
<?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 Daniel Mason</title>
<link>https://m2.nz/categories/</link>
<description>Recent content in Categories on Daniel Mason</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://m2.nz/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -1 +0,0 @@
*{box-sizing:border-box}html{line-height:1.6}body{margin:0;font-family:sans-serif;background:#353b43;color:#afbac4}h1,h2,h3,h4,h5,h6{color:#fff}a{color:#57cc8a;transition:color .35s;text-decoration:none}a:hover{color:#fff}code{font-family:monospace,monospace;font-size:1em;color:rgba(175,186,196,.8)}pre{overflow:auto}pre code{font-size:.8em}::selection{background:rgba(175,186,196,.25)}::-moz-selection{background:rgba(175,186,196,.25)}.app-header{padding:2.5em;background:#242930;text-align:center}.app-header-avatar{max-width:15rem;max-height:15rem;border-radius:100%;border:.5rem solid #57cc8a}.app-container{padding:2.5rem}.app-header-social{font-size:2em;color:#fff}.app-header-social a{margin:0 .1em}@media(min-width:940px){.app-header{position:fixed;top:0;left:0;width:20rem;min-height:100vh}.app-container{max-width:65rem;margin-left:20rem}}.error-404{text-align:center}.error-404-title{text-transform:uppercase}.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em}.pagination{display:block;list-style:none;padding:0;font-size:.8em;text-align:center;margin:3em 0}.page-item{display:inline-block}.page-item .page-link{display:block;padding:.285em .8em}.page-item.active .page-link{color:#fff;border-radius:2em;background:#57cc8a}.post-title{color:#fff}.post-content pre{border-left:.4em solid rgba(87,204,138,.8);padding-left:1em}.post-content img{max-width:100%}.post-meta{font-size:.8em}.posts-list{padding:0}.posts-list-item{list-style:none;padding:.4em 0}.posts-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}.posts-list-item-description{display:block;font-size:.8em}.tag{display:inline-block;margin-right:.2em;padding:0 .6em;font-size:.9em;border-radius:.2em;white-space:nowrap;background:rgba(255,255,255,.1);transition:color .35s,background .35s}.tag:hover{transition:color .25s,background .05s;background:rgba(255,255,255,.3)}.tags-list{padding:0}.tags-list-item{list-style:none;padding:.4em 0}.tags-list-item:not(:last-child){border-bottom:1px dashed rgba(255,255,255,.3)}@media(min-width:450px){.tags-list{display:flex;flex-wrap:wrap}.tags-list-item{width:calc(50% - 1em)}.tags-list-item:nth-child(even){margin-left:1em}.tags-list-item:nth-last-child(2){border:none}}

View File

@ -1,47 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Daniel Mason</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.89.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="John Doe" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://m2.nz/css/main.min.88e7083eff65effb7485b6e6f38d10afbec25093a6fac42d734ce9024d3defbd.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Daniel Mason"/>
<meta name="twitter:description" content=""/>
<meta property="og:title" content="Daniel Mason" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://m2.nz/" />
</head>
<body>
<header class="app-header">
<a href="https://m2.nz/"><img class="app-header-avatar" src="/avatar.jpg" alt="John Doe" /></a>
<h1>Daniel Mason</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium.</p>
</header>
<main class="app-container">
<article>
<h1>Daniel Mason</h1>
<ul class="posts-list">
</ul>
</article>
</main>
</body>
</html>

View File

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

View File

@ -1 +0,0 @@
<!DOCTYPE html><html><head><title>https://m2.nz/</title><link rel="canonical" href="https://m2.nz/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://m2.nz/" /></head></html>

View File

@ -1,11 +0,0 @@
<?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>https://m2.nz/categories/</loc>
</url><url>
<loc>https://m2.nz/</loc>
</url><url>
<loc>https://m2.nz/tags/</loc>
</url>
</urlset>

View File

@ -1,43 +0,0 @@
<!doctype html>
<html lang="en-us">
<head>
<title>Tags // Daniel Mason</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta charset="utf-8" />
<meta name="generator" content="Hugo 0.89.0" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="John Doe" />
<meta name="description" content="" />
<link rel="stylesheet" href="https://m2.nz/css/main.min.88e7083eff65effb7485b6e6f38d10afbec25093a6fac42d734ce9024d3defbd.css" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Tags"/>
<meta name="twitter:description" content=""/>
<meta property="og:title" content="Tags" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://m2.nz/tags/" />
</head>
<body>
<header class="app-header">
<a href="https://m2.nz/"><img class="app-header-avatar" src="/avatar.jpg" alt="John Doe" /></a>
<h1>Daniel Mason</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium.</p>
</header>
<main class="app-container">
<article>
<h1>Tags</h1>
<ul class="tags-list">
</ul>
</article>
</main>
</body>
</html>

View File

@ -1,10 +0,0 @@
<?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 Daniel Mason</title>
<link>https://m2.nz/tags/</link>
<description>Recent content in Tags on Daniel Mason</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://m2.nz/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

BIN
static/profile.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB