forked from Traneptora/grimoire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (31 loc) · 1.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
layout: default
---
<div class="home">
<h1 class="page-heading">All Spells</h1>
<p id="spellSearch">Search by name: <input type="search" class="jetsSearch" id="jetsSearch"></p>
<p id="tagSearch">Search by tag: <input type="search" name="tagSearch" id="tagSearchBar" class="jetsSearch"></p>
<p id="sourceSearch">Search by source: <input type="search" name="sourceSearch" id="sourceSearchBar" class="jetsSearch"></p>
<dl class="tag-list">
<dt>Spell tier:</dt>
{% for level in site.data.levels %}
<dd>
<a href="#{{level.tag}}">{{level.name}}</a>
</dd>
{% endfor %}
</dl>
{% for level in site.data.levels %}
<a id="{{level.tag}}"></a>
<h2 class="post-list-head jetsHide">{{level.title}}</h2>
<ul class="post-list jetsContent">
{% assign post_list = site.tags[level.tag] | sort: 'title' %}
{% for post in post_list %}
<li class="post-link-container" data-tags="{{ post.tags | join: ',' }}" data-sources="{{ post.sources | join: ',' }}">
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
<a class="post-meta jetsHide" href="#top">Back to top ↑</a>
{% endfor %}
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>