Skip to content

Commit 3497a87

Browse files
committed
added moderators page for easy linking.
1 parent 907bc73 commit 3497a87

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

_includes/footer.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
<footer>
22
<p>TECH404 runs on <a href="http://www.slack.com">Slack</a>, a simple and easy way for people to stay connected.</p>
3-
<p>The current moderators are:</p>
4-
<ul>
5-
{% for admin in site.data.admins %}
6-
{% if admin.twitter %}
7-
<li><a href="https://twitter.com/{{ admin.twitter }}">{{ admin.name }}</a></li>
8-
{% else %}
9-
<li>{{ admin.name }}</li>
10-
{% endif %}
11-
{% endfor %}
12-
</ul>
133
<p>If you&rsquo;d like to participate as an admin or to invite your group to the discussion, just ask one of them how to get involved.</p>
144
<div class="footer-nav">
15-
<a href="https://github.com/tech404">The Github Project</a>
5+
<a href="/moderators/">The Moderators</a>
166
&middot;
177
<a href="https://github.com/tech404/CoC">Code of Conduct</a>
8+
&middot;
9+
<a href="https://github.com/tech404">The Github Project</a>
1810
</div>
19-
</footer>
11+
</footer>

css/main.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ header .site-title {
3939
text-decoration: none;
4040
}
4141

42-
form, footer {
42+
43+
44+
section, form, footer {
4345
width: 600px;
4446
margin: auto;
4547
text-align: left;
@@ -133,4 +135,4 @@ form, footer {
133135
padding:1em;
134136
}
135137

136-
/** that's all, folks **/
138+
/** that's all, folks **/

moderators/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: default
3+
---
4+
<section>
5+
<h2>The current moderators are:</h2>
6+
<ul>
7+
{% for admin in site.data.admins %}
8+
{% if admin.twitter %}
9+
<li><a href="https://twitter.com/{{ admin.twitter }}">{{ admin.name }}</a></li>
10+
{% else %}
11+
<li>{{ admin.name }}</li>
12+
{% endif %}
13+
{% endfor %}
14+
</ul>
15+
</section>

0 commit comments

Comments
 (0)