Initial commit
This commit is contained in:
commit
03cc689b01
20
LICENSE.md
Normal file
20
LICENSE.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2017 Christoffer Müller Madsen
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2
archetypes/default.md
Normal file
2
archetypes/default.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
+++
|
||||||
|
+++
|
0
layouts/404.html
Normal file
0
layouts/404.html
Normal file
19
layouts/_default/list.html
Normal file
19
layouts/_default/list.html
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>{{ .Site.Title }}</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Christoffer Müller Madsen</h1>
|
||||||
|
|
||||||
|
<h2>All writings</h2>
|
||||||
|
<ul>
|
||||||
|
{{ range first 10 .Data.Pages }}
|
||||||
|
<li><a href="{{ .Permalink }}">{{ .Title }} ({{ .Date.Format "January 2, 2006" }})</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
7
layouts/_default/single.html
Normal file
7
layouts/_default/single.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
{{ partial "nav.html" . }}
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
<i>{{ .Date.Format "January 2, 2006" }}</i>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ partial "modified.html" . }}
|
||||||
|
{{ partial "footer.html" . }}
|
34
layouts/index.html
Normal file
34
layouts/index.html
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{{ partial "header.html" . }}
|
||||||
|
<h1>Christoffer Müller Madsen</h1>
|
||||||
|
|
||||||
|
<h2>Contact</h2>
|
||||||
|
email: <span class="emailaddr">christoffer (at) guava.space</span>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<h2>Writings</h2>
|
||||||
|
<ul>
|
||||||
|
{{ range first 10 .Data.Pages }}
|
||||||
|
{{ if eq .Type "post" }}
|
||||||
|
<li><a href="{{ .Permalink }}">{{ .Title }} ({{ .Date.Format "Jan 2, 2006" }})</a></li>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Pages</h2>
|
||||||
|
<ul>
|
||||||
|
{{ range .Data.Pages }}
|
||||||
|
{{ if eq .Type "page" }}
|
||||||
|
<li><a href="{{ .Permalink }}">{{ .Title }} ({{ .Date.Format "Jan 2, 2006" }})</a></li>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h2>Where to find me on the internet</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="{{.Site.BaseURL}}">Right here!</a></li>
|
||||||
|
<li><a href="https://keybase.io/kipari">Keybase</a></li>
|
||||||
|
<li><a href="http://mango.thedevcave.net/christoffermadsen">GitLab (mango)</a></li>
|
||||||
|
<li><a href="https://www.flickr.com/photos/62108810@N04/">Flickr</a></li>
|
||||||
|
<li><a href="#">WCD (RIP)</a>, <a href="#">PTP</a>, <a href="#">BTN</a></li>
|
||||||
|
</ul>
|
||||||
|
{{ partial "footer.html" . }}
|
2
layouts/partials/footer.html
Normal file
2
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
</body>
|
||||||
|
</html>
|
13
layouts/partials/header.html
Normal file
13
layouts/partials/header.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1">
|
||||||
|
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.SiteDescription }}{{ end }}">
|
||||||
|
<meta property="og:title" content="{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}">
|
||||||
|
<meta property="og:site_name" content="{{ .Site.Title }}">
|
||||||
|
<link rel="stylesheet" type="text/css" href="{{.Page.Site.BaseURL}}/css/style.css">
|
||||||
|
{{.Hugo.Generator}}
|
||||||
|
</head>
|
||||||
|
<body>
|
2
layouts/partials/modified.html
Normal file
2
layouts/partials/modified.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<br>
|
||||||
|
<i>Page last updated at {{ .Lastmod.Format "Jan 2, 2006 15:04" }}</i>
|
1
layouts/partials/nav.html
Normal file
1
layouts/partials/nav.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<a href="{{.Site.BaseURL}}">← Back to front page</a>
|
77
static/css/style.css
Normal file
77
static/css/style.css
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
background-color: #fff;
|
||||||
|
color: #000;
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
h1, h2, h3, h4 {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link, a:visited {
|
||||||
|
/*color: #ff9900;*/
|
||||||
|
color: #4682B4;
|
||||||
|
transition-duration: 0.3s;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover, a:active {
|
||||||
|
/*color: #ffb84d;*/
|
||||||
|
color: lightblue;
|
||||||
|
transition-duration: 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.introduction {
|
||||||
|
margin-left: 20px;
|
||||||
|
width: 600px;
|
||||||
|
margin-bottom: 4ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cover {
|
||||||
|
float: left;
|
||||||
|
width: 190px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cover img {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
margin-left: 180px;
|
||||||
|
margin-bottom: 6ex;
|
||||||
|
width: 600px;
|
||||||
|
height: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-type: square;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
h3.booktitle, h4.authorname {
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.covers {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.emailaddr {
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.right-align {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 2pt;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
border-bottom: 1px solid #aaa;
|
||||||
|
}
|
15
theme.toml
Normal file
15
theme.toml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# theme.toml template for a Hugo theme
|
||||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
|
name = "Graceful Simplicity"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://gitfub.space/christoffermadsen/hugo-graceful-simplicity/LICENSE.md"
|
||||||
|
description = ""
|
||||||
|
homepage = "https://gitfub.space/christoffermadsen/hugo-graceful-simplicity/"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.25.1"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Christoffer Müller Madsen"
|
||||||
|
homepage = "https://christoffer.space/"
|
Loading…
Reference in New Issue
Block a user