Moving so much stuff around
parent
b1719e8d24
commit
cd10df9d32
20
config.toml
20
config.toml
|
@ -14,18 +14,18 @@ pygmentsUseClasses = true
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "blogroll"
|
identifier = "blog"
|
||||||
name = "blogroll"
|
name = "blog"
|
||||||
title = "blogroll"
|
title = "blog"
|
||||||
url = "/blogroll/"
|
url = "/blog/"
|
||||||
weight = 20
|
weight = 1
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "Links"
|
identifier = "projects"
|
||||||
name = "links"
|
name = "projects"
|
||||||
title = "links"
|
title = "projects"
|
||||||
url = "/links/"
|
url = "/dev/"
|
||||||
weight = 30
|
weight = 10
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
identifier = "about"
|
identifier = "about"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Posts"
|
title: "Blog"
|
||||||
---
|
---
|
||||||
|
|
||||||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
uwu
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Announcing Vieter 0.2.0"
|
title: "Vieter 0.2.0"
|
||||||
date: 2022-04-11
|
date: 2022-04-11
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Announcing Vieter 0.3.0"
|
title: "Vieter 0.3.0"
|
||||||
date: 2022-06-13
|
date: 2022-06-13
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Announcing Vieter 0.4.0"
|
title: "Vieter 0.4.0"
|
||||||
date: 2022-10-01
|
date: 2022-10-01
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Announcing Vieter 0.5.0"
|
title: "Vieter 0.5.0"
|
||||||
date: 2022-12-29
|
date: 2022-12-29
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "Announcing Vieter 0.6.0"
|
title: "Vieter 0.6.0"
|
||||||
date: 2023-07-20
|
date: 2023-07-20
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Vieter"
|
title: "Vieter"
|
||||||
summary: "Arch Linux repository server & build system, written in V"
|
summary: "Arch Linux repository server & build system, written in V"
|
||||||
|
type: "project"
|
||||||
---
|
---
|
||||||
|
|
||||||
lmao what
|
lmao what
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
<header id="post-header">
|
<header id="post-header">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
<div>
|
<div>
|
||||||
|
Part of the <a href="{{ .Parent.Permalink }}">{{ .Parent.Title }}</a> series
|
||||||
|
</br>
|
||||||
{{- if isset .Params "date" -}}
|
{{- if isset .Params "date" -}}
|
||||||
{{ if eq .Lastmod .Date }}
|
{{ if eq .Lastmod .Date }}
|
||||||
<time>{{ .Date | time.Format (i18n "post.created") }}</time>
|
<time>{{ .Date | time.Format (i18n "post.created") }}</time>
|
|
@ -1,4 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
{{ .Content }}
|
||||||
<h3>{{ i18n "posts.title" }}</h3>
|
<h3>{{ i18n "posts.title" }}</h3>
|
||||||
<ul id="posts">
|
<ul id="posts">
|
||||||
{{- range .Pages }}
|
{{- range .Pages }}
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
<h3>Latest blog posts</h3>
|
<h3>Latest blog posts</h3>
|
||||||
{{ with .GetPage "blog" }}
|
|
||||||
<ul id="posts">
|
<ul id="posts">
|
||||||
{{- range first 5 .Pages }}
|
{{ range .Site.RegularPages }}
|
||||||
{{ .Render "li" }}
|
{{ .Render "li" }}
|
||||||
{{- end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
<a href="{{ .Permalink }}">Older</a>
|
<a href="{{ .Permalink }}">Older</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -11,4 +11,14 @@
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
|
{{ if compare.Gt .Pages.Len 0 }}
|
||||||
|
<h3>{{ i18n "posts.title" }}</h3>
|
||||||
|
<ul id="posts">
|
||||||
|
{{- range .Pages }}
|
||||||
|
{{ .Render "li" }}
|
||||||
|
{{- end }}
|
||||||
|
</ul>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue