-
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.
Co-authored-by: Aditya Hegde <aditya.mh@outlook.com>
- Loading branch information
1 parent
d4c547f
commit c0337d8
Showing
12 changed files
with
176 additions
and
7 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
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
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 |
---|---|---|
|
@@ -3,6 +3,9 @@ date: 2024-04-28 | |
title: Anna Documentation | ||
type: page | ||
toc: true | ||
collections: | ||
- anna | ||
- guide | ||
--- | ||
|
||
--- | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: home | ||
type: page | ||
--- | ||
|
||
Collections field and associated documentation |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ date: 2024-04-28 | |
title: Quick Start | ||
type: page | ||
toc: true | ||
collections: ["anna"] | ||
--- | ||
|
||
# Quick Start | ||
|
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{ define "collection-subpage"}} | ||
{{$PageData := index .DeepDataMerge.Collections .PageURL}} | ||
{{ template "head" .}} | ||
|
||
<body> | ||
{{template "header" .}} | ||
|
||
<div class="body"> | ||
<article> | ||
<section class="tagged-posts"> | ||
{{$CollectionSet := index .DeepDataMerge.CollectionsMap .PageURL}} | ||
{{range $CollectionSet }} | ||
<a href="/{{.CompleteURL}}">{{.Frontmatter.Title}}</a> | ||
{{end}} | ||
</section> | ||
</article> | ||
</div> | ||
|
||
{{template "footer" .}} | ||
</body> | ||
|
||
</html> | ||
|
||
{{ 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{{ define "all-collections"}} | ||
{{$PageData := .TemplateData}} | ||
{{ template "head" .}} | ||
|
||
<body> | ||
{{template "header" .}} | ||
<div class="body"> | ||
<article> | ||
<section class="posts"> | ||
<div class="all-tags"> | ||
{{range .CollectionNames}} | ||
<a href="/collections/{{.}}.html">{{.}}</a> | ||
{{end}} | ||
</div> | ||
</section> | ||
</article> | ||
</div> | ||
|
||
|
||
{{template "footer" .}} | ||
|
||
</body> | ||
|
||
</html> | ||
|
||
{{ 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"docs.md":{"CompleteURL":"docs.html","Frontmatter":{"Title":"Anna Documentation","Date":"","Draft":false,"JSFiles":null,"Type":"","Description":"","PreviewImage":"","Tags":null,"TOC":false,"Authors":null,"Head":false},"Tags":null}} | ||
{"docs.md":{"CompleteURL":"docs.html","Frontmatter":{"Title":"Anna Documentation","Date":"","Draft":false,"JSFiles":null,"Type":"","Description":"","PreviewImage":"","Tags":null,"TOC":false,"Authors":null,"Collections":null,"Head":false},"Tags":null}} |