Initial commit

main
Stef Dunlap 2022-05-16 19:55:08 -04:00
commit 29f0316b44
10 changed files with 98 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

3
config.toml 100644
View File

@ -0,0 +1,3 @@
baseURL = 'http://example.org/'
languageCode = 'en-ca'
title = 'kindrobot.ca'

18
content/_index.md 100644
View File

@ -0,0 +1,18 @@
---
title: kindrobot
subtitle: Failing CAPTCHAs since 1988.
---
A [human](http://motevets.com).
A [duck](http://🦆.to/).
A [legitimate business](https://shadyjakes.biz).
-------
A [place to belong](https://tilde.town).
A [thing to flex](https://motevets.com/projects/2017/05/25/hexaflexago-hexaflexagon-generator.html).
A [source of light](https://chez.kindrobot.ca/puter.html).

BIN
data/.gitkeep 100644

Binary file not shown.

View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- Code that all your templates share, like a header -->
{{ block "main" . }}
<!-- The part of the page that begins to differ between templates -->
{{ end }}
{{ block "footer" . }}
<!-- More shared code, perhaps a footer but that can be overridden if need be in -->
{{ end }}
</body>
</html>

35
layouts/index.html 100644
View File

@ -0,0 +1,35 @@
{{ define "title"}}
{{.Title}}
{{ end }}
{{ define "main" }}
<main aria-role="main">
<header class="homepage-header">
<h1>{{.Title}}</h1>
{{ with .Params.subtitle }}
<span class="subtitle">{{.}}</span>
{{ end }}
</header>
<div class="homepage-content">
{{.Content}}
</div>
<div>
{{ range first 10 .Site.RegularPages }}
{{ .Render "summary"}}
{{ end }}
</div>
<hr/>
<div id="tilde_ring" style="background-color:slategray; text-align:center; border-radius:10px;">
<p><em>a member of the tilde.town ~ring</em></p>
<p> <a id="tilde_town_ring" class="tilde_ring_link" href="">random ~user</a>
| <a id="random_tildebox" class="tilde_ring_link" href="">random ~box</a>
| <a id="tilde_town_ring_next" class="tilde_ring_link" href="">next ~user</a> </p>
<p><a href="https://tilde.town/~um/tilde_ring/join.html">join</a></p>
<script type="text/javascript">
var ringjs = document.createElement('script')
ringjs.src = document.location.protocol + '//tilde.town/~um/tilde_ring/tilde_ring.js'
document.getElementById('tilde_ring').appendChild(ringjs)
</script>
</div>
</main>
{{ end }}

Binary file not shown.

Binary file not shown.

17
static/style.css 100644
View File

@ -0,0 +1,17 @@
body {
background-color: DarkSlateGray;
color: Gainsboro;
font-family: courier;
max-width: 650px;
margin-left: 100px;
}
a {
color: LightGray;
}
#title {
display: inline;
}
span.subtitle {
font-style: italic;
}

BIN
themes/.gitkeep 100644

Binary file not shown.