added hugo files
This commit is contained in:
12
layouts/_default/baseof.html
Normal file
12
layouts/_default/baseof.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
9
layouts/index.html
Normal file
9
layouts/index.html
Normal 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
4
layouts/notes/note.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{ define "main" }}
|
||||
{{ .TableOfContents }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user