Look: Terminal theme (panr/hugo-theme-terminal v4.2.6), adapted to the museum
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
This commit is contained in:
+8
-36
@@ -1,48 +1,20 @@
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.Language.Locale }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} · {{ end }}{{ site.Title }}{{ end }}</title>
|
||||
<meta name="description" content="{{ with .Params.description }}{{ . }}{{ else }}{{ site.Params.description }}{{ end }}">
|
||||
{{ with resources.Get "css/main.css" | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||||
{{ end }}
|
||||
{{ with resources.Get "js/sortTables.js" | minify | fingerprint }}
|
||||
<script src="{{ .RelPermalink }}" defer></script>
|
||||
{{ end }}
|
||||
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} :: {{ end }}{{ site.Title }}{{ end }}</title>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<a class="brand" href="{{ site.Home.RelPermalink }}">OLD-COMPUTERS<span>.COM</span></a>
|
||||
<nav>
|
||||
{{ $current := . }}
|
||||
{{ range site.Menus.main }}
|
||||
<a href="{{ .URL }}"{{ if or ($current.IsMenuCurrent .Menu .) ($current.HasMenuCurrent .Menu .) (eq $current.Section .Page.Section) }} class="active"{{ end }}>{{ .Name }}</a>
|
||||
{{ end }}
|
||||
{{ with site.Params.forum.url }}<a href="{{ . }}">Forum</a>{{ end }}
|
||||
</nav>
|
||||
<form class="search" role="search" action="{{ "search/" | relURL }}" method="get">
|
||||
<input type="search" name="q" placeholder="Search…" aria-label="Search the site">
|
||||
</form>
|
||||
</header>
|
||||
<div class="container center">
|
||||
{{ partial "header.html" . }}
|
||||
{{/* search index: content pages only (not lists), filterable by section; see layouts/search.html */}}
|
||||
{{ $indexed := and .IsPage (ne .Layout "search") }}
|
||||
{{ $section := "" }}{{ with .FirstSection }}{{ if not .IsHome }}{{ $section = .Title }}{{ end }}{{ end }}
|
||||
{{ if eq .Section "machine-tabs" }}{{ $section = "Museum" }}{{ end }}
|
||||
<main{{ if $indexed }} data-pagefind-body{{ with $section }} data-pagefind-filter="Section:{{ . }}"{{ end }}{{ end }}>
|
||||
<main class="page"{{ if $indexed }} data-pagefind-body{{ with $section }} data-pagefind-filter="Section:{{ . }}"{{ end }}{{ end }}>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
{{ with .Params.source }}
|
||||
<p>Recovered from the <a href="{{ .url }}"{{ partial "ext.html" .url }}>Wayback Machine capture of {{ .date }}</a>.</p>
|
||||
{{ end }}
|
||||
<p>Content © its original authors at Old-Computers.com. Rebuilt from the Internet Archive</p>
|
||||
<p><a href="{{ site.Home.RelPermalink }}members/">Members</a> -
|
||||
<a href="{{ site.Home.RelPermalink }}about/">About</a> -
|
||||
<a href="{{ site.Home.RelPermalink }}donate/">Donate!</a> -
|
||||
<a href="{{ site.Home.RelPermalink }}faq/">FAQ</a>
|
||||
</p>
|
||||
</footer>
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user