updated hugo site

This commit is contained in:
2026-02-28 00:59:59 -06:00
parent 42a02d30ec
commit d80acc7860
13 changed files with 502 additions and 48 deletions

View File

@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.4/css/bulma.min.css">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.4/css/bulma.min.css">-->
<title></title>
</head>
<body>

Binary file not shown.

View File

@@ -1,4 +1,5 @@
{{ define "main" }}
<h1>{{.Title}}</h1>
{{ .TableOfContents }}
{{ .Content }}
{{ end }}

View File

@@ -0,0 +1,15 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $chapters := where .Site.AllPages "Params.tags" .Params.tags }}
{{ range sort $chapters "Params.chapterno" "asc" }}
{{ if ne .Params.chapterno "00" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
{{ end }}

View File

@@ -1,9 +1,3 @@
{{ define "main" }}
{{ $chapters := where .Site.RegularPages "Params.tags" "cpp" }}
{{ range sort $chapters "Params.chapter" "asc" }}
<ul>
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
</ul>
{{ end }}
{{ .Content }}
{{ end }}