Added blog posts, and improved homepage
This commit is contained in:
36
baseTemplates/templates/base.tmpl
Normal file
36
baseTemplates/templates/base.tmpl
Normal file
@@ -0,0 +1,36 @@
|
||||
{{define "base"}}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<title></title>
|
||||
</head>
|
||||
<body class="{{ template "bodyClass" . }}">
|
||||
<header>
|
||||
<nav>
|
||||
<div>
|
||||
<div>
|
||||
<a href="/">
|
||||
<img src="https://kakigoori.dev/5819581e-42b9-41a7-bab6-c3f99de30934/auto" alt="Avatar of prettysunflower">
|
||||
</a>
|
||||
|
||||
<a href="/">
|
||||
prettysunflower
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="/blog/">Blog</a>
|
||||
<a href="/regio43/">Regio43</a>
|
||||
<a href="https://git.prettysunflower.moe">Git</a>
|
||||
<a href="#">Bookmarks</a>
|
||||
<a href="/keys">Public keys</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
{{ template "content" . }}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
8
baseTemplates/templates/blog/blogPost.tmpl
Normal file
8
baseTemplates/templates/blog/blogPost.tmpl
Normal file
@@ -0,0 +1,8 @@
|
||||
{{ define "bodyClass" }}post post-{{ .Slug }}{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<main class="max-80">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Body }}
|
||||
</main>
|
||||
{{ end }}
|
13
baseTemplates/templates/blog/postsList.tmpl
Normal file
13
baseTemplates/templates/blog/postsList.tmpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "bodyClass" }}page-postsList{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<main class="max-80">
|
||||
<h1>Blog</h1>
|
||||
|
||||
<ul>
|
||||
{{ range .Posts }}
|
||||
<li><a href="/blog/{{ .Slug }}/"><strong>{{ .Date.Format "2006-01-02" }}</strong> - {{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</main>
|
||||
{{ end }}
|
77
baseTemplates/templates/pages/homepage.tmpl
Normal file
77
baseTemplates/templates/pages/homepage.tmpl
Normal file
@@ -0,0 +1,77 @@
|
||||
{{ define "bodyClass" }}page-index{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<main>
|
||||
<div class="columns max-80" id="presentation">
|
||||
<div class="image-container">
|
||||
<img src="https://kakigoori.dev/53783a71-b5fc-4f5c-b2b8-86a0a969cba8/height/1000/auto">
|
||||
</div>
|
||||
<div>
|
||||
<h1>Nyallo! (=^ ◡ ^=)</h1>
|
||||
|
||||
<p>
|
||||
We're Remilia (<a href="https://pronouns.within.lgbt/she/her/her/hers/herself">she</a>/<a href="https://pronouns.within.lgbt/they/them/their/theirs/themself">they</a>), Xeon (<a href="https://pronouns.within.lgbt/they/them/their/theirs/themselves">they/them</a>), and Takeno (<a href="https://pronouns.within.lgbt/she/her/her/hers/herself">she/her</a>),
|
||||
alias prettysunflower! 🌻
|
||||
</p>
|
||||
|
||||
<p>
|
||||
We are software/website developers at the <a href="https://koumbit.org">Réseau Koumbit</a>, Factorio and Touhou players, and your local trans woman/enby/plural person.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
We do love doing computer/servers/code stuff, riding trains, reading yuri manga, and making HRT in our kitchen. Oh, and sunflowers, of course, they're pretty!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="max-80" id="on-the-internet">
|
||||
<h2>Where are we on the Internet?</h2>
|
||||
<div class="columns">
|
||||
<div>
|
||||
<div>
|
||||
<h3>Contact</h3>
|
||||
<a href="mailto:me@prettysunflower.moe"><img src="/static/svg/email.svg"> me@prettysunflower.moe</a>
|
||||
<a href="https://signal.me/#eu/zjqNXS3NkV3u5tPjdactntaSODDy1IPRUQmcQ-v2g7LZ4W6Ip2xJ7pyL1PN1gd_q"><img src="/static/svg/signal.svg"> Signal (prettysunflower.43)</a>
|
||||
<a href="/keys/"><img src="/static/svg/key.svg"> Public keys</a>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Socials</h3>
|
||||
<a href="https://bsky.app/profile/prettysunflower.moe"><img src="/static/svg/bluesky.svg"> prettysunflower.moe</a>
|
||||
<a href="https://akkoma.prettysunflower.moe/prettysunflower"><img src="/static/svg/fediverse.svg"> @prettysunflower<wbr />@akkoma.prettysunflower.moe</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<h3>Code</h3>
|
||||
<a href="https://git.prettysunflower.moe"><img src="/static/svg/gitea.svg"> Gitea (self-hosted git)</a>
|
||||
<a href="https://github.com/prettysunflower"><img src="/static/svg/github.svg"> GitHub</a>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Internal and public services</h3>
|
||||
<a href="https://privatebin.remilia.koumbit.org/">Privatebin</a>
|
||||
<a href="https://qr.prettysunflower.moe">QR Generator</a>
|
||||
<a href="https://invidious.prettysunflower.moe">Invidious</a>
|
||||
<a href="https://httpdebug.remilia.koumbit.org">HTTP Debug</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="max-80" id="main-projects">
|
||||
<h2>Our main projects</h2>
|
||||
|
||||
<div>
|
||||
<img src="https://kakigoori.dev/bcf6fdd9-3855-4f4d-9b5a-0791e14e29c7/height/400/auto">
|
||||
|
||||
<div>
|
||||
<h3>Kakigoori</h3>
|
||||
<p>
|
||||
Kakigoori is an picture distribution system to publish images on the web.
|
||||
Upload it once, and Kakigoori will create versions of the image
|
||||
optimized for the web (AVIF, WebP).
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
Reference in New Issue
Block a user