updated hugo site
This commit is contained in:
@@ -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>
|
||||
|
||||
BIN
layouts/book/.frontcover.html.swp
Normal file
BIN
layouts/book/.frontcover.html.swp
Normal file
Binary file not shown.
@@ -1,4 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{.Title}}</h1>
|
||||
{{ .TableOfContents }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
15
layouts/book/frontcover.html
Normal file
15
layouts/book/frontcover.html
Normal 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 }}
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user