Theme vendored unmodified in themes/terminal; base, head, header, footer and post templates rewritten in its markup; museum components restyled in assets/css/museum.css. Embedded forum threads follow the same colours. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
77 lines
2.2 KiB
TOML
77 lines
2.2 KiB
TOML
baseURL = "/"
|
|
title = "Old-Computers.com"
|
|
locale = "en"
|
|
# look: the Terminal theme (themes/terminal, unmodified), adapted in layouts/ and assets/css/museum.css
|
|
theme = "terminal"
|
|
# relative URLs only: no absolute address is known at build time, so no feed or sitemap
|
|
disableKinds = ["rss", "sitemap"]
|
|
# pages keep working when the site is served from a sub-directory
|
|
relativeURLs = true
|
|
# keep author names and taxonomy terms as written (olipix, not Olipix)
|
|
capitalizeListTitles = false
|
|
|
|
# a post named 2026-10-11-my-title.md gets its date from the file name (and the URL /post/my-title/)
|
|
[frontmatter]
|
|
date = ["date", ":filename", ":default"]
|
|
|
|
[params]
|
|
# number of news posts summarised on the home page
|
|
homePosts = 5
|
|
# number of news posts per page on the News page and on each author's page
|
|
listPosts = 10
|
|
description = "The Old-Computers.com museum of computers, consoles and pongs, rebuilt from the Wayback Machine archive."
|
|
|
|
# Forum (Flarum, see forum/README.md). Empty url = no forum: no menu entry, and machine pages
|
|
# show the archived comments as static text. With a url, machine pages end with their forum thread.
|
|
[params.forum]
|
|
url = "https://barbel.synology.me/oldcomputers-forum"
|
|
|
|
[taxonomies]
|
|
category = "categories"
|
|
type = "types"
|
|
origin = "origins"
|
|
year = "years"
|
|
cpu = "cpus"
|
|
tag = "tags"
|
|
topic = "topics"
|
|
rubric = "rubrics"
|
|
collection = "collections"
|
|
# posts: `author: name` in the front matter; all posts of an author at /author/name/
|
|
author = "author"
|
|
|
|
[menus]
|
|
[[menus.main]]
|
|
name = "News"
|
|
pageRef = "/post"
|
|
weight = 5
|
|
[[menus.main]]
|
|
name = "Museum"
|
|
pageRef = "/museum"
|
|
weight = 10
|
|
[[menus.main]]
|
|
name = "Companies"
|
|
pageRef = "/companies"
|
|
weight = 20
|
|
[[menus.main]]
|
|
name = "Software"
|
|
pageRef = "/software"
|
|
weight = 30
|
|
[[menus.main]]
|
|
name = "History"
|
|
pageRef = "/history"
|
|
weight = 40
|
|
[[menus.main]]
|
|
name = "Magazine"
|
|
pageRef = "/magazine"
|
|
weight = 50
|
|
[[menus.main]]
|
|
name = "Fun"
|
|
pageRef = "/fun"
|
|
weight = 60
|
|
|
|
# the recovered text keeps a few raw HTML blocks (tables) and its original punctuation
|
|
[markup.goldmark.renderer]
|
|
unsafe = true
|
|
[markup.goldmark.extensions.typographer]
|
|
disable = true
|