Create CCCHH theme
This commit is contained in:
parent
8394b08524
commit
2d267ba9fe
23 changed files with 629 additions and 1 deletions
12
themes/ccchh/layouts/_default/baseof.html
Normal file
12
themes/ccchh/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{- partial "header.html" . }}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "footer.html" . }}
|
||||
</body>
|
||||
</html>
|
13
themes/ccchh/layouts/_default/single.html
Normal file
13
themes/ccchh/layouts/_default/single.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<main class="container" aria-role="main">
|
||||
<header class="header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.subtitle }}
|
||||
<span class="subtitle">{{ . }}</span>
|
||||
{{ end }}
|
||||
</header>
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue