The „About me“ page is now the landing page; Capitalized menus
This commit is contained in:
parent
fa7687f21a
commit
9cbd118b16
3 changed files with 29 additions and 26 deletions
28
config.yaml
28
config.yaml
|
@ -12,11 +12,6 @@ menu:
|
||||||
url: /
|
url: /
|
||||||
weight: 1
|
weight: 1
|
||||||
main:
|
main:
|
||||||
- identifier: about
|
|
||||||
name: About
|
|
||||||
title: about
|
|
||||||
url: /about/
|
|
||||||
weight: 1
|
|
||||||
- identifier: blog
|
- identifier: blog
|
||||||
name: Blog
|
name: Blog
|
||||||
title: blog
|
title: blog
|
||||||
|
@ -36,33 +31,22 @@ menu:
|
||||||
title: projects
|
title: projects
|
||||||
url: /projects/
|
url: /projects/
|
||||||
weight: 5
|
weight: 5
|
||||||
externallinks:
|
|
||||||
- identifier: git
|
|
||||||
name: git
|
|
||||||
title: git
|
|
||||||
url: https://code.cozy.town/vrifox
|
|
||||||
weight: 1
|
|
||||||
- identifier: cozy.town
|
|
||||||
name: cozy.town
|
|
||||||
title: cozy.town
|
|
||||||
url: https://cozy.town
|
|
||||||
weight: 2
|
|
||||||
footer:
|
footer:
|
||||||
- identifier: privacy
|
- identifier: privacy
|
||||||
name: privacy
|
name: Privacy
|
||||||
title: privacy
|
title: privacy
|
||||||
url: /privacy/
|
url: /privacy/
|
||||||
weight: 1
|
weight: 3
|
||||||
- identifier: feed
|
- identifier: feed
|
||||||
name: feed (rss)
|
name: Feed (RSS)
|
||||||
title: rss-feed
|
title: rss-feed
|
||||||
url: /blog/index.xml
|
url: /blog/index.xml
|
||||||
weight: 2
|
weight: 4
|
||||||
- identifier: sourcecode
|
- identifier: sourcecode
|
||||||
name: source code
|
name: Source Code
|
||||||
title: source code
|
title: source code
|
||||||
url: https://code.cozy.town/vrifox/vrifox.cc
|
url: https://code.cozy.town/vrifox/vrifox.cc
|
||||||
weight: 3
|
weight: 5
|
||||||
markup:
|
markup:
|
||||||
highlight:
|
highlight:
|
||||||
anchorLineNos: false
|
anchorLineNos: false
|
||||||
|
|
|
@ -1,7 +1,26 @@
|
||||||
{{- define "main" }}
|
{{- define "main" }}
|
||||||
<main>
|
<main>
|
||||||
{{- range first 8 (where .Site.RegularPages "Type" "post") }}
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Format "2 January 2006" }}</span> </p>
|
{{- if eq .Params.type "post" }}
|
||||||
|
<p title="{{ .Date.Format "2. January 2006, 15:04 MST" }}">{{ .Date.Format "2. January 2006" }}</p>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{ .Content -}}
|
||||||
|
<aside>
|
||||||
|
{{- with .Params.topics }}
|
||||||
|
<ul class="topics">
|
||||||
|
{{- range . }}
|
||||||
|
<li>
|
||||||
|
<a href="{{ "topics" | relURL}}/{{ . | urlize }}">{{ . }}</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Params.tags }}
|
||||||
|
tags
|
||||||
|
{{- range . }}
|
||||||
|
<a href="{{ "tags" | relURL }}/{{ . | urlize }}">{{ . }}</a>
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
</aside>
|
||||||
</main>
|
</main>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<span title="{{ now.Format "2. January 2006, 15:04 MST" }}">version {{ now.Format "2006-01-02" }}</span>
|
<span title="Revision: {{ now.Format "2. January 2006, 15:04 MST" }}">R {{ now.Format "2006-01-02" }}</span>
|
||||||
{{- range .Site.Menus.footer }}
|
{{- range .Site.Menus.footer }}
|
||||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue