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/* public/*
.hugo_build.lock .hugo_build.lock
.*.sw? .*.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' [[main]]
languageCode = 'en-us'
title = 'The Fridge'
author = 'Síle Ekaterin Liszka'
theme = 'clean'
disableKinds = ['RSS', 'sitemap']
[taxonomies]
tag = 'tags'
[[menu.main]]
identifier = 'home' identifier = 'home'
name = 'Home' name = 'Home'
url = '/' url = '/'
weight = 1 weight = 1
[[menu.main]] [[main]]
identifier = 'about' identifier = 'about'
name = 'About' name = 'About'
url = '/about' url = '/about'
weight = 2 weight = 2
[[menu.main]] [[main]]
identifier = 'translations' identifier = 'translations'
name = 'Translations' name = 'Translations'
url = '/translations' url = '/translations'
weight = 3 weight = 3
[[menu.main]] [[main]]
identifier = 'recipes' identifier = 'recipes'
name = 'Recipes' name = 'Recipes'
url = '/recipe' url = '/recipe'
weight = 4 weight = 4
[[menu.main]] [[main]]
identifier = 'commissions' identifier = 'commissions'
name = 'Commissions' name = 'Commissions'
url = 'commissions' url = 'commissions'
weight = 5 weight = 5
[[menu.main]] [[main]]
identifier = 'system' identifier = 'system'
name = 'System Reference' name = 'System Reference'
url = 'system' url = 'system'
weight = 6 weight = 6
[[menu.main]] [[main]]
identifier = 'links' identifier = 'links'
name = 'Links' name = 'Links'
url = '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"/> <link href='{{"/css/tables.css" | relURL}}' rel="stylesheet" media="all"/>
{{- else -}} {{- else -}}
<link href='{{"/css/clean.css" | relURL }}' rel="stylesheet" media="all"/> <link href='{{"/css/clean.css" | relURL }}' rel="stylesheet" media="all"/>
{{- end }} {{- end }}{{ range .Site.Params.Fediverse }}
<link rel="me" href="https://social.treehouse.systems/@VulpineAmethyst"/> <link rel="me" href="{{ . }}"/>{{ end }}
<link rel="me" href="https://503junk.house/@VulpineAmethyst"/>
</head> </head>
<body> <body>
<header> <header>