1
0
Fork 0
mirror of https://github.com/zrgn/zrgn.github.io synced 2025-06-03 11:02:28 +00:00

Adding lots of stuff to make this an actual site driven by json data

This commit is contained in:
Patrick Connelly 2019-05-14 13:09:22 -04:00 committed by Alex Wood
parent 16c98e99fc
commit 3161176e3a
22 changed files with 26326 additions and 3 deletions

7
_includes/footer.html Normal file
View file

@ -0,0 +1,7 @@
<footer class="footer">
<div class="content has-text-centered">
<p>
Hosted on <a href="https://github.com/zargon-now/zargon-now.github.io">GitHub</a> using <a href="https://bulma.io/">Bulma</a>
</p>
</div>
</footer>

26
_includes/navbar.html Normal file
View file

@ -0,0 +1,26 @@
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item has-text-info is-capitalized" href="/">
<b>Zargon</b>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false"
data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/">
Home
</a>
<a class="navbar-item" href="/about">
About
</a>
</div>
</div>
</nav>

14
_includes/rules.html Normal file
View file

@ -0,0 +1,14 @@
<h1 class="title is-1">Rules of Zargon</h1>
{% for order in site.data.rules.order %}
{% assign rule_data = site.data.all_rules[order] %}
<div class="content ruleset">
<h4 class="subtitle is-4">{{ rule_data.title }}</h4>
<ul>
{% for rule in rule_data.rules %}
<li>
{{ rule.text }}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}

30
_includes/style.html Normal file
View file

@ -0,0 +1,30 @@
<style>
html,
body {
height: 100%;
}
.page-wrap {
min-height: 100%;
/* equal to footer height */
margin-bottom: -72px;
}
.page-wrap:after {
content: "";
display: block;
}
footer {
padding: 1.5rem !important;
}
footer,
.page-wrap:after {
height: 72px;
}
.ruleset {
margin-top: 1.5rem;
}
</style>