-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #610 from rkvst/index-sub-trees
Improved navigation breadcrumb pages
- Loading branch information
Showing
15 changed files
with
209 additions
and
68 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
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 |
---|---|---|
@@ -1,22 +1,12 @@ | ||
{{ define "main" }} | ||
<div class="row justify-content-center"> | ||
<div class="col-md-12 col-lg-10 col-xl-8"> | ||
<div> | ||
<article> | ||
<h1 class="text-center">{{ .Title }}</h1> | ||
<div class="text">{{ .Content }}</div> | ||
<div class="card-list"> | ||
{{ $currentSection := .CurrentSection }} | ||
{{ range where .Site.RegularPages.ByTitle "Section" .Section }} | ||
{{ if in (.RelPermalink | string) $currentSection.RelPermalink }} | ||
<div class="card my-3"> | ||
<div class="card-body"> | ||
<a class="stretched-link" href="{{ .RelPermalink }}">{{ .Params.title | title }} →</a> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</article> | ||
<div class="text-left" style="padding-bottom: 50px;">{{ .Content }}</div> | ||
</article> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ 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,22 +1,9 @@ | ||
{{ define "main" }} | ||
<div class="row justify-content-center"> | ||
<div class="col-md-12 col-lg-10 col-xl-8"> | ||
<div> | ||
<article> | ||
<h1 class="text-center">{{ .Title }}</h1> | ||
<div class="text">{{ .Content }}</div> | ||
<div class="card-list"> | ||
{{ $currentSection := .CurrentSection }} | ||
{{ range where .Site.RegularPages.ByTitle "Section" .Section }} | ||
{{ if in (.RelPermalink | string) $currentSection.RelPermalink }} | ||
<div class="card my-3"> | ||
<div class="card-body"> | ||
<a class="stretched-link" href="{{ .RelPermalink }}">{{ .Params.title | title }} →</a> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} | ||
</div> | ||
</article> | ||
<div class="text-left" style="padding-bottom: 50px;">{{ .Content }}</div> | ||
</article> | ||
</div> | ||
</div> | ||
{{ end }} |
Oops, something went wrong.