Rework config and generate <link rel="me"/> from config

This is so that I can include platforms in output without
having them be stored in this repo.
main
Síle Ekaterin Liszka 2022-12-15 20:26:56 -08:00
parent ba67515ea6
commit ea73e27a94
5 changed files with 17 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
config/_default/params.toml
public/*
.hugo_build.lock
.*.sw?

View File

@ -0,0 +1,6 @@
baseURL = 'https://vulpine.house'
languageCode = 'en-us'
title = 'The Fridge'
author = 'Síle Ekaterin Liszka'
theme = 'clean'
disableKinds = ['RSS', 'sitemap']

View File

@ -1,49 +1,40 @@
baseURL = 'https://vulpine.house'
languageCode = 'en-us'
title = 'The Fridge'
author = 'Síle Ekaterin Liszka'
theme = 'clean'
disableKinds = ['RSS', 'sitemap']
[taxonomies]
tag = 'tags'
[[menu.main]]
[[main]]
identifier = 'home'
name = 'Home'
url = '/'
weight = 1
[[menu.main]]
[[main]]
identifier = 'about'
name = 'About'
url = '/about'
weight = 2
[[menu.main]]
[[main]]
identifier = 'translations'
name = 'Translations'
url = '/translations'
weight = 3
[[menu.main]]
[[main]]
identifier = 'recipes'
name = 'Recipes'
url = '/recipe'
weight = 4
[[menu.main]]
[[main]]
identifier = 'commissions'
name = 'Commissions'
url = 'commissions'
weight = 5
[[menu.main]]
[[main]]
identifier = 'system'
name = 'System Reference'
url = 'system'
weight = 6
[[menu.main]]
[[main]]
identifier = 'links'
name = 'Links'
url = 'links'

View File

@ -0,0 +1 @@
tag = 'tags'

View File

@ -11,9 +11,8 @@
<link href='{{"/css/tables.css" | relURL}}' rel="stylesheet" media="all"/>
{{- else -}}
<link href='{{"/css/clean.css" | relURL }}' rel="stylesheet" media="all"/>
{{- end }}
<link rel="me" href="https://social.treehouse.systems/@VulpineAmethyst"/>
<link rel="me" href="https://503junk.house/@VulpineAmethyst"/>
{{- end }}{{ range .Site.Params.Fediverse }}
<link rel="me" href="{{ . }}"/>{{ end }}
</head>
<body>
<header>