Skip to content

Commit 5f98644

Browse files
committed
Center, seamless, desciptions
1 parent 94fb05b commit 5f98644

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

_includes/content.html

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ <h3 class="panel-title"{% if blogon %} style="text-align: center"{% endif %}>{{
1616
<div class="panel-body">
1717
{{ content }}
1818
</div>
19+
{% if page.layout-data == 'main' %}
20+
{% include genprojlist.html %}
21+
{% endif %}
1922
</div>
2023
</div>
2124
{% if blogon == false %}

_includes/genprojlist.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{% assign list = "KCore" | split: " " %}
2+
{% assign desc = "Common Core for TechShroom" | split: "~~" %}
3+
<div class="list-group">
4+
{% for item in list %}
5+
<center><a href="/{{ item }}/" class="list-group-item">{{ item }} &bull; {{ desc[forloop.index0] }}</a></center>
6+
{% endfor %}
7+
</div>

index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: page
3+
layout-data: main
34
title: TechShroom, The GitPages
45
group: Home
56
---
@@ -9,7 +10,3 @@
910
If you're not a developer, you probably are looking for our main site, over <a href="http://techshroom.com/">here</a>.
1011
</p>
1112
<p>This list will be kept updated as much as possible.</p>
12-
13-
<div class="list-group">
14-
<a href="/KCore/" class="list-group-item">KCore</a>
15-
</div>

0 commit comments

Comments
 (0)