-
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.
add a table index for the showcase section
- Loading branch information
1 parent
9a380bb
commit 2085260
Showing
1 changed file
with
45 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,45 @@ | ||
--- | ||
layout: layouts/base.vto | ||
title: JCP Site TOP | ||
date: Git Last Modified | ||
description: "Index of the showcase page, showing a list of works with details." | ||
priority: 0.5 | ||
type: index | ||
templateEngine: [vto] | ||
--- | ||
<!-- ===== START LAYOUT: HOME ===== --> | ||
|
||
<h1 class="mw10 pa4">Showcase ページ一覧</h1> | ||
|
||
{{# <article class="fl w-100 bg-white"> #}} | ||
<article class="cf pa4 mw10 center f6 lh-copy"> | ||
<table class="collapse ba br2 b--black-10 pv2 ph3 mt4"> | ||
<tr class="striped--near-white"> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">Index Order</th> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">Category</th> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">Search Engine Title</th> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">URL</th> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">Index Title</th> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">Index Image</th> | ||
<th class="pv2 ph3 tl f6 fw6 ttu">Index Hide Link</th> | ||
</tr> | ||
{{ for item of search.pages(`type=showcase`, "order=asc") }} | ||
<tr class="striped--near-white"> | ||
<td class="pv2 ph3">{{ item.order }}</td> | ||
<td class="pv2 ph3">{{ item.category }}</td> | ||
<td class="pv2 ph3">{{ item.metas.title }}</td> | ||
<td class="pv2 ph3"><a href="{{ item.url }}">{{ item.url }}</a></td> | ||
<td class="pv2 ph3">{{ item.indextitle }}</td> | ||
<td class="pv2 ph3">{{ item.indeximage }}</td> | ||
<td class="pv2 ph3">{{ item.hidelink }}</td> | ||
</tr> | ||
{{ /for }} | ||
</table> | ||
</article> | ||
|
||
|
||
|
||
<div class="cf pa3 mw9 center"><!-- Needed to balance footer spacing --></div> | ||
|
||
|
||
<!-- ===== END LAYOUT: HOME ===== --> |