-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
14 changed files
with
179 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
{{ define "main" }} | ||
|
||
<header class="tag--header post--list"> | ||
<h1 class="post-title">{{.Title}}</h1> | ||
{{ if .Params.description }} | ||
<div class="taxonomy--description">{{ .Params.description }}</div> | ||
{{ end }} | ||
</header> | ||
<div class="post--list"> | ||
{{ range .Data.Pages }} | ||
{{ partial "post.html" . }} | ||
{{ end }} | ||
<header class="term--header"> | ||
<div class="term--header__content"> | ||
<h1 class="post-title">{{.Title}}</h1> | ||
{{ if .Params.description }} | ||
<div class="taxonomy--description">{{ .Params.description }}</div> | ||
{{ end }} | ||
</div> | ||
</header> | ||
<div class="block--list"> | ||
{{ range .Data.Pages }} | ||
{{ partial "post.html" . }} | ||
{{ end }} | ||
</div> | ||
{{ $paginator := .Paginate (where .Pages "Type" "post") }} | ||
<nav class="navigation "> | ||
<div class="nav-links"> | ||
{{ range $paginator.Pagers }} | ||
<a class="page-numbers{{ if eq . $paginator }} current{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a> | ||
{{ end }} | ||
</div> | ||
</nav> | ||
</div> | ||
{{ 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,21 +1,27 @@ | ||
{{ define "main" }} | ||
<header class="tag--header"> | ||
<h1 class="page--headline">{{.Title}}</h1> | ||
</header> | ||
<section class="layoutSingleColumn"> | ||
{{ $data := .Data }} | ||
{{ range $key, $value := .Data.Terms.ByCount }} | ||
<div class="category--item"> | ||
{{ if $value.Page.Params.cover }} | ||
<img src="{{ $value.Page.Params.cover }}" class="category--cover"> | ||
<div class="template--terms articleContainer"> | ||
<header class="article--header"> | ||
<h1 class="article--headline">{{.Title}}</h1> | ||
</header> | ||
<section class="collectionCard"> | ||
{{ $data := .Data }} | ||
{{ range $key, $value := .Data.Terms.ByCount }} | ||
<a href="{{ $value.Page.Permalink }}" class="collectionCard--item" data-count="{{ $value.Count }}"> | ||
{{ if $value.Page.Params.cover }} | ||
<img src="{{ $value.Page.Params.cover }}" class="collectionCard--image"> | ||
{{ end }} | ||
<div class="collectionCard--meta"> | ||
<div class="collectionCard--title">{{ $value.Page.Title }}</div> | ||
<div class="collectionCard--description">{{ $value.Page.Params.description }}</div> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="41" height="40" viewBox="0 0 41 40" fill="none" | ||
class="collectionCard--icon"> | ||
<path | ||
d="M20.75 1.25C23.2123 1.25 25.6505 1.73498 27.9253 2.67726C30.2002 3.61953 32.2672 5.00065 34.0083 6.74175C35.7494 8.48285 37.1305 10.5498 38.0727 12.8247C39.015 15.0995 39.5 17.5377 39.5 20C39.5 22.4623 39.015 24.9005 38.0727 27.1753C37.1305 29.4502 35.7494 31.5172 34.0083 33.2583C32.2672 34.9994 30.2002 36.3805 27.9253 37.3227C25.6505 38.265 23.2123 38.75 20.75 38.75C15.7772 38.75 11.0081 36.7746 7.49175 33.2583C3.97544 29.7419 2 24.9728 2 20C2 15.0272 3.97544 10.2581 7.49175 6.74175C11.0081 3.22544 15.7772 1.25 20.75 1.25ZM22.625 10H18.875V18.125H10.75V21.875H18.875V30H22.625V21.875H30.75V18.125H22.625V10Z" | ||
fill="#a47864"></path> | ||
</svg> | ||
</div> | ||
</a> | ||
{{ end }} | ||
<div class="category--content"> | ||
<a href="{{ $value.Page.Permalink }}"> | ||
{{ $value.Page.Title }}<span>({{ $value.Count }})</span> | ||
</a> | ||
<div class="category--desc">{{ $value.Page.Params.description }}</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
</section> | ||
</section> | ||
</div> | ||
{{ 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
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,7 +1,7 @@ | ||
<div class="widget--links "> | ||
<div class="widget--link"><a href="/" title="My Work">My Work</a></div> | ||
<div class="widget--link"><a href="/categories" title="My Work">Categories</a></div> | ||
<div class="widget--link"><a href="/archive" title="My Work">Archive</a></div> | ||
<div class="widget--link"><a href="/" title="My Work">Lens</a></div> | ||
<div class="widget--link"><a href="/map" title="My Work">Travel Footprint</a></div> | ||
</div> | ||
<ul class="widget--links "> | ||
{{ range $.Site.Menus.main }} | ||
{{ if not .HasChildren }} | ||
<li class="menu-item"><a href="{{ .URL }}">{{ .Name }}</a></li> | ||
{{ end }} | ||
{{ end }} | ||
</ul> |