-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
153 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html class="page" lang="{{ .Page.Lang }}" dir="ltr"> | ||
<head> | ||
{{ partial "head" . }} | ||
</head> | ||
<body class="[ page__body ][ body stack stack_split-after_4 {{ if eq .Kind "404" }} cover cover_min-height_100vh {{ end }} ]"> | ||
<html class="page" | ||
lang="{{ .Page.Lang }}" | ||
dir="ltr"> | ||
|
||
<head>{{ partial "head" . }}</head> | ||
|
||
<body class="[ page__body ][ body {{ if eq .Kind "404" }} cover cover_min-height_100vh {{ end }} ]"> | ||
{{ partial "skip-links" . }} | ||
|
||
{{ block "header" . }} | ||
{{ partial "navigation" . }} | ||
{{ partial "navigation" . }} | ||
{{ end }} | ||
|
||
{{ block "main" . }}{{ end }} | ||
|
||
{{ block "footer" . }} | ||
{{ partial "footer" . }} | ||
{{ partial "footer" . }} | ||
{{ end }} | ||
|
||
{{ partial "scripts" . }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
{{ define "header" }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ end }} | ||
|
||
{{ define "main" }} | ||
<main class="[ body__main ][ sidebar sidebar_side_left ]" id="main"> | ||
<div> | ||
<aside class="center" style="max-width:13rem;"> | ||
<section> | ||
<header class="stack stack_recursive"> | ||
<h2>{{ i18n "toc" }}</h2> | ||
</header> | ||
{{ .TableOfContents }} | ||
</section> | ||
</aside> | ||
{{ with .Content }} | ||
<article class="center center_max_x1.5 stack stack_inherit"> | ||
{{ . }} | ||
</article> | ||
{{ end }} | ||
</div> | ||
</main> | ||
<main class="[ body__main box ][ sidebar sidebar_side_left ]" | ||
id="main"> | ||
<div> | ||
<aside class="center" | ||
style="max-width:13rem;"> | ||
<section> | ||
<header class="stack stack_recursive"> | ||
<h2>{{ i18n "toc" }}</h2> | ||
</header> | ||
{{ .TableOfContents }} | ||
</section> | ||
</aside> | ||
{{ with .Content }} | ||
<article class="center center_max_x1.5 stack stack_inherit"> | ||
{{ . }} | ||
</article> | ||
{{ end }} | ||
</div> | ||
</main> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
{{ define "header" }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ end }} | ||
|
||
{{ define "main" }} | ||
<main class="center center_padding_gutters stack" id="main"> | ||
<article class="stack"> | ||
{{ with .Content }}{{ . }}{{ end }} | ||
<ul class="stack"> | ||
{{ range .Data.Pages }} | ||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li> | ||
{{ end }} | ||
</ul> | ||
</article> | ||
</main> | ||
{{ partial "pagination" . }} | ||
<main class="[ body__main box ][ stack center center_padding_gutters ]" | ||
id="main"> | ||
|
||
<article class="stack"> | ||
{{ with .Content }}{{ . }}{{ end }} | ||
<ul class="stack"> | ||
{{ range .Data.Pages }} | ||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li> | ||
{{ end }} | ||
</ul> | ||
</article> | ||
</main> | ||
{{ partial "pagination" . }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
{{ define "header" }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ end }} | ||
|
||
{{ define "main" }} | ||
<main class="[ center ][ stack ][ center_padding_gutters ]" id="main"> | ||
<article class="stack"> | ||
{{ with .Content }} | ||
{{ . }} | ||
{{ end }} | ||
|
||
{{ range (.Parent.Pages.GroupByParam "category").Reverse }} | ||
<h3>{{ .Key }}</h3> | ||
<ul> | ||
{{ range .Pages }} | ||
<li> | ||
<a href="{{ .Permalink }}">{{ .Title }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
<main class="[ box ][ center stack ][ center_padding_gutters ]" | ||
id="main"> | ||
<article class="stack"> | ||
{{ with .Content }} | ||
{{ . }} | ||
{{ end }} | ||
|
||
{{ range (.Parent.Pages.GroupByParam "category").Reverse }} | ||
<h3>{{ .Key }}</h3> | ||
<ul> | ||
{{ range .Pages }} | ||
<li> | ||
<a href="{{ .Permalink }}">{{ .Title }}</a> | ||
</li> | ||
{{ end }} | ||
</article> | ||
{{ partial "pagination" . }} | ||
</main> | ||
</ul> | ||
{{ end }} | ||
</article> | ||
{{ partial "pagination" . }} | ||
</main> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
{{ define "header" }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ partial "navigation" . }} | ||
{{ partial "header" . }} | ||
{{ end }} | ||
|
||
{{ define "main" }} | ||
<main class="[ center ][ stack ][ center_padding_gutters ]" id="main"> | ||
<article class="stack"> | ||
{{ with .Content }} | ||
{{ . }} | ||
<main class="[ box ][ center stack ][ center_padding_gutters ]" | ||
id="main"> | ||
<article class="stack"> | ||
{{ with .Content }} | ||
{{ . }} | ||
{{ end }} | ||
<ul> | ||
{{ range .Pages }} | ||
<li> | ||
<a href="{{ .Permalink }}" | ||
title="{{ .LinkTitle }}"> | ||
{{ .Title }} | ||
</a> | ||
<small>{{ .Description }}</small> | ||
</li> | ||
{{ end }} | ||
<ul> | ||
{{ range .Pages }} | ||
<li> | ||
<a href="{{ .Permalink }}" title="{{ .LinkTitle }}"> | ||
{{ .Title }} | ||
</a> | ||
<small>{{ .Description }}</small> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</article> | ||
{{ partial "pagination" . }} | ||
</main> | ||
</ul> | ||
</article> | ||
{{ partial "pagination" . }} | ||
</main> | ||
{{ end }} |