1
0
Fork 0
mirror of https://github.com/zrgn/zrgn.github.io synced 2025-05-30 00:52:28 +00:00

Move to standard Jekyll layout.

One standard layout broken down into included components: HTML head,
navbar, and footer.
This commit is contained in:
Alex Wood 2019-05-30 10:24:11 -04:00
parent 0534a81c9f
commit fbcb8ba5f2
11 changed files with 52 additions and 110 deletions

View file

@ -1,7 +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>
Hosted on <a href="https://github.com/zrgn/zrgn.github.io">GitHub</a> using <a href="https://bulma.io/">Bulma</a>
</p>
</div>
</footer>
</footer>

View file

@ -1,14 +0,0 @@
<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 %}

View file

@ -1,30 +0,0 @@
<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>

9
_includes/top.html Normal file
View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.title }} - {{ page.title }}</title>
<link rel="stylesheet" href="{{ site.baseurl }}/assets/zargon.css">