added hugo files

This commit is contained in:
2026-02-27 22:36:11 -06:00
parent 88956b969d
commit 18e8886c41
24 changed files with 370 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
{{ block "main" . }}
{{ end }}
</body>
</html>

9
layouts/index.html Normal file
View File

@@ -0,0 +1,9 @@
{{ 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 }}
{{ end }}

4
layouts/notes/note.html Normal file
View File

@@ -0,0 +1,4 @@
{{ define "main" }}
{{ .TableOfContents }}
{{ .Content }}
{{ end }}