Jo Jerrica Decker
1 year ago
9 changed files with 100 additions and 13 deletions
@ -0,0 +1,11 @@ |
|||||
|
{{ define "header" }} |
||||
|
{{ partial "header.html" . }} |
||||
|
{{ end }} |
||||
|
|
||||
|
{{ define "content" }} |
||||
|
{{ partial "artfolio/content.html" . }} |
||||
|
{{ end }} |
||||
|
|
||||
|
{{ define "footer" }} |
||||
|
{{ partial "artfolio/footer.html" . }} |
||||
|
{{ end }} |
@ -0,0 +1,32 @@ |
|||||
|
<span class="section__title">{{ .Title | default "Artfolio" }}</span> |
||||
|
<div class="artfolio__content"> |
||||
|
{{ range first 1 (where .Data.Pages "Params.featured" "==" true) }} |
||||
|
<section class="artfolio__featured-project"> |
||||
|
<div class="section-inner"> |
||||
|
<div class="artfolio_content"> |
||||
|
<div class="item featured text-center"> |
||||
|
<span class="project__artwork"> |
||||
|
{{ if .Params.artworks }} |
||||
|
<a href={{ .RelPermalink }} target="_blank" rel="noopener noreferrer"><img class="project__image img-responsive" src="{{ .Params.artworks.s1.file }}" alt="{{ .Params.artworks.s1.caption }}" title="{{ .Params.artworks.s1.caption }}"></a> |
||||
|
{{ end }} |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
{{ end }} |
||||
|
<section> |
||||
|
<hr class="divider"> |
||||
|
<div class="artfolio_content"> |
||||
|
{{ range (where .Data.Pages "Params.featured" "!=" true).ByDate.Reverse }} |
||||
|
<div class="artfolio-block"> |
||||
|
<span class="artwork__primary-art"> |
||||
|
{{ if .Params.artworks }} |
||||
|
<a href={{ .RelPermalink }} target="_blank" rel="noopener noreferrer"><img class=" artwork__image img-responsive" src="{{ .Params.artworks.s1.file }}" alt="{{ .Params.artworks.s1.caption }}" title="{{ .Params.artworks.s1.caption }}"></a> |
||||
|
{{ end }} |
||||
|
</span> |
||||
|
</div> |
||||
|
{{ end }} |
||||
|
</div> |
||||
|
</section> |
||||
|
</div> |
@ -0,0 +1,5 @@ |
|||||
|
{{ if .Site.GoogleAnalytics }} |
||||
|
<!-- Google Analytics --> |
||||
|
{{ template "_internal/google_analytics_async.html" . }} |
||||
|
{{ end }} |
||||
|
{{ partial "footer/font-awesome-js.html" . }} |
Loading…
Reference in new issue