-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sample page to filter tagged showcase items
- Loading branch information
1 parent
d8817e4
commit fbae307
Showing
4 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: layouts/base.vto | ||
title: コグレー珠里 ポートフォリオ サイトのトップ | ||
date: Git Last Modified | ||
description: "Top page of the site, showing a list of works with a link to a bio page." | ||
priority: 0.9 | ||
--- | ||
<!-- ===== START LAYOUT: HOME ===== --> | ||
|
||
<article class="fl w-100 bg-white"> | ||
{{ for item of search.pages(`type=showcase flyer`, "order=asc") }} | ||
<div class="fl w-100 w-50-m w-25-l pv3 pa4"> | ||
{{ if !item.hidelink }}<a href="{{ item.url }}" target="_blank">{{ /if }} | ||
<div class="aspect-ratio aspect-ratio--1x1 shadow-1 br4"> | ||
<span style="background-image:url({{ item.indeximage }});" class="dt cover bg-center aspect-ratio--object grow hide-child br4"> | ||
<span class="white dtc v-mid w-100 h-100 child bg-black-40 pa5 br4"><em><span class="bg-white-40">{{ item.category }} | ||
{{if item.url.includes("/private/")}} | ||
<span class="dark-red"> {{ "lock-laminated" |> phosphor("duotone") }}{{ "password" |> phosphor("duotone") }}</span> | ||
{{/if}} | ||
</span><br>{{ item.indextitle }}</em></span> | ||
</span> | ||
</div> | ||
{{ if !item.hidelink }}</a>{{ /if }} | ||
</div> | ||
{{ /for }} | ||
</article> | ||
<div class="cf pa3 mw9 center"><!-- Needed to balance footer spacing --></div> | ||
|
||
<!-- ===== END LAYOUT: HOME ===== --> |
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