init
commit
97f1f2a3bc
|
@ -0,0 +1 @@
|
|||
public
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
baseURL = 'https://blog.lonjil.xyz/'
|
||||
languageCode = 'en-us'
|
||||
title = "lonjil's web log"
|
||||
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = "Home"
|
||||
pre = "home"
|
||||
url = "/"
|
||||
weight = 1
|
||||
[[menu.main]]
|
||||
name = "Posts"
|
||||
pre = "what-is-this-shit"
|
||||
url = "/posts/"
|
||||
weight = 2
|
||||
[[menu.main]]
|
||||
name = "Tags"
|
||||
pre = "tag"
|
||||
url = "/tags/"
|
||||
weight = 3
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: "A blog"
|
||||
date: "2021-12-08T04:00:00+01:00"
|
||||
draft: false
|
||||
tags: ["garbage", "misc"]
|
||||
---
|
||||
I guess I have a blog now.
|
||||
<!--more-->
|
||||
|
||||
What the fuck are blogs for? Guess I'll have to find out.
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: "I guess this works?"
|
||||
date: "2021-12-08T19:40:00+01:00"
|
||||
tags: ["success", "misc"]
|
||||
---
|
||||
I have successfully made some kind of terrible theme.
|
||||
<!--more-->
|
||||
|
||||
And yes, I am copying Plan 9's color scheme and window outlines.
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: "Today I am no longer way behind in school"
|
||||
date: "2021-12-22T13:44:00+01:00"
|
||||
draft: false
|
||||
tags: ["failure", "success", "school"]
|
||||
---
|
||||
Today, I successfully completed a test that I had missed,
|
||||
and finished 3 assignments that I was way late on.
|
||||
<!--more-->
|
||||
|
||||
So I feel hella great, getting so much shit done finally.
|
||||
Especially the last assignment which I mostly worked on this morning.
|
||||
But really I should feel like a dumbass cuz why the fuck did
|
||||
I get so far behind in the first place? Geez.
|
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
<br />
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
<article>
|
||||
<h3><a class="title" href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
||||
{{ .Summary }}
|
||||
{{ .PublishDate.Format "2006-01-02" }} —
|
||||
{{ if isset .Params "tags" }}
|
||||
{{ delimit .Params.tags ", " }}
|
||||
{{ end }}
|
||||
</article>
|
||||
<br />
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -0,0 +1,10 @@
|
|||
{{ define "main" }}
|
||||
<br />
|
||||
<article>
|
||||
<h3>{{ .Title }}</h3>
|
||||
{{ .Date.Format "2006-01-02" }} —
|
||||
{{ delimit .Params.tags ", " }}
|
||||
<hr>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
|
@ -0,0 +1,21 @@
|
|||
{{ define "main" }}
|
||||
<div id="home">
|
||||
<h1 class="title">{{ .Site.Title }}</h1>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{{ range first (.Site.Params.PostLimit | default 4) (where .Site.RegularPages.ByPublishDate.Reverse "Section" "posts") }}
|
||||
<article>
|
||||
<a class="title" href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
||||
{{ .Summary }}
|
||||
{{ .PublishDate.Format "2006-01-02" }} —
|
||||
{{ if isset .Params "tags" }}
|
||||
{{ delimit .Params.tags ", " }}
|
||||
{{ end }}
|
||||
</article>
|
||||
<br />
|
||||
{{ end }}
|
||||
<div class="box"><a href="posts/">View all posts</a></div>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
|
@ -0,0 +1,5 @@
|
|||
<div class="box2">
|
||||
<a href="https://github.com/lonjil">GitHub</a> |
|
||||
<a href="https://gitea.treehouse.systems/lonjil">Treehouse Gitea</a> |
|
||||
<a href="https://twitter.com/lonjil">Twitter</a>
|
||||
</div>
|
|
@ -0,0 +1,21 @@
|
|||
<!doctype html>
|
||||
<html lang=en>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
{{ $title := print .Site.Title " | " .Title }}
|
||||
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
|
||||
{{ if .Site.Author.name }}
|
||||
<meta name="author" content="{{ .Site.Author.name }}">
|
||||
{{ end }}
|
||||
{{ if .Description }}
|
||||
<meta name="description" content="{{ .Description }}">
|
||||
{{ end }}
|
||||
<meta name="theme-color" content="#EAFEFE">
|
||||
|
||||
{{ $css := "css/main.css" | relURL }}
|
||||
<link rel="stylesheet" href="{{ $css }}">
|
||||
</head>
|
|
@ -0,0 +1,11 @@
|
|||
<div class="box">
|
||||
<nav id="nav" class="nav">
|
||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
||||
{{ range .Site.Menus.top }}
|
||||
<a class="nav-link" href="{{ .URL }}">
|
||||
{{ $text := print .Name | safeHTML }}
|
||||
{{ $text }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
</div>
|
|
@ -0,0 +1,84 @@
|
|||
html {
|
||||
font-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
word-wrap: break-word;
|
||||
background: #EEE;
|
||||
color: #222;
|
||||
margin: 5px auto;
|
||||
max-width: 650px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
a, a:link {
|
||||
color: #44a;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #609;
|
||||
}
|
||||
|
||||
a:active, a:hover {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: #FF0000 dotted medium;
|
||||
}
|
||||
|
||||
a.external:after {
|
||||
content: url(/images/Icon_External_Link.png);
|
||||
}
|
||||
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
blockquote:before, blockquote:after, q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
*.box {
|
||||
background: #EAFEFE;
|
||||
padding: 10px;
|
||||
border: 4px solid #8888CC;
|
||||
}
|
||||
|
||||
article {
|
||||
background: #FFFFEA;
|
||||
font-family: 'Century Gothic', CenturyGothic, AppleGotic, sans-serif;
|
||||
padding: 10px;
|
||||
border: 4px solid #99994C;
|
||||
}
|
||||
article.cmt {
|
||||
background: #E9FCEA;
|
||||
border: 4px solid #448844;
|
||||
}
|
||||
|
||||
*.box2 {
|
||||
background: #E9FCEA;
|
||||
border: 4px solid #448844;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding: 5px;
|
||||
background: #EAFEFE;
|
||||
border: 4px solid #8888CC;
|
||||
font-family: Verdana, Geneva, sans-serif;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', Consolas, monospace; }
|
||||
|
||||
h4, h3, h2 {
|
||||
margin-top: 0;
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 144 B |
Loading…
Reference in New Issue