forked from Gibberlings3/iesdp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.htm
34 lines (29 loc) · 1.02 KB
/
test.htm
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
---
title: internal playground
---
<p class="center">
Checking code concepts, github limits.
<br />
</p>
<div>
<!--
I could not make where_exp work at all. Would be handy, since we could just use an array.
Turns out I had a too old jekyll, but in hindsight this way is more explicit and less prone to error,
since all the values (keys) are there.
-->
{% assign ops = site.opcodes | where: 'bg1', 1 %}
{% for opcode in ops %}
<div id="op{{ opcode.n }}" class="opcode">
<span class="opnumberdata">#{{ opcode.n }} ({{ opcode.n | dec_to_hex }})</span>
<span class="opnamedata">{{ opcode.name }}</span><br />
<span class="parameterheading">Parameter #1:</span>
<span class="parameterdata">{{ opcode.param1 }}</span><br />
<span class="parameterheading">Parameter #2:</span>
<span class="parameterdata">{{ opcode.param2 }}</span><br />
<span class="descriptionheading">Description</span><br />
<div class="descriptiondata"> {{ opcode.content }} </div><br />
<hr />
<br />
</div>
{% endfor %}
</div>