Commit 87fcfc48 authored by Davide Depau's avatar Davide Depau

Add topic and tags pages

parent 81fc355f
---
layout: listing
---
<ul class="posts noList">
{% for post in site.categories[page.category] %}
<li>
<span class="date">{{ post.date | date: '%B %d, %Y' }}</span>
<h3><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.excerpt | strip_html }}{% endif %}</p>
</li>
{% endfor %}
</ul>
---
layout: default
---
<div class="home" id="home">
<h1 class="pageTitle">{{ page.pagetitle }}</h1>
{{ content }}
</div>
</div>
---
layout: listing
---
<ul class="posts noList">
{% for post in site.tags[page.tag] %}
<li>
<span class="date">{{ post.date | date: '%B %d, %Y' }}</span>
<h3><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.excerpt | strip_html }}{% endif %}</p>
</li>
{% endfor %}
</ul>
......@@ -12570,6 +12570,16 @@ POST LIST STYLING
color: black;
text-decoration: none; }
.column-balance {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
-moz-column-fill: balance;
column-fill: balance; }
@media only screen and (min-width: 800px) {
/***************
GLOBAL STYLES
......@@ -12778,7 +12788,11 @@ CONTACT PAGE STYLING
.header .hq-status-fab, .hq-status-fab {
display: block; }
.flex-grid {
display: flex; } }
display: flex; }
.column-balance {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2; } }
@media only screen and (min-width: 1200px) {
body {
......@@ -12788,4 +12802,8 @@ CONTACT PAGE STYLING
#home-hq-map {
height: 650px; }
.hq-status-fab {
top: 88px; } }
top: 88px; }
.column-balance {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3; } }
......@@ -13,3 +13,9 @@ body {
.hq-status-fab {
top: 88px;
}
.column-balance {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}
......@@ -346,3 +346,8 @@ CONTACT PAGE STYLING
display: flex;
}
.column-balance {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
......@@ -571,3 +571,14 @@ POST LIST STYLING
text-decoration: none;
}
}
.column-balance {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
-webkit-column-gap: 40px;
-moz-column-gap: 40px;
column-gap: 40px;
-moz-column-fill: balance;
column-fill: balance;
}
---
layout: default
title: POuL » Events
layout: listing
title: POuL » Events
pagetitle: Events
---
<div class="home" id="home">
<h1 class="pageTitle">Events</h1>
{% include events.html %}
</div>
</div>
{% include events.html %}
---
title: POuL » Tags
pagetitle: Tags
layout: listing
---
<ul class="column-balance">
{% capture temptags %}
{% for tag in site.tags %}
{{ tag[1].size | plus: 1000 }}#{{ tag[0] }}#{{ tag[1].size }}
{% endfor %}
{% endcapture %}
{% assign sortedtemptags = temptags | split:' ' | sort | reverse %}
{% for temptag in sortedtemptags %}
{% assign tagitems = temptag | split: '#' %}
{% capture tagname %}{{ tagitems[1] }}{% endcapture %}
<li><a href="/tag/{{ tagname }}"><nobr>{{ tagname }}</nobr></a></li>
{% endfor %}
</ul>
---
title: POuL » Topics
pagetitle: Topics
layout: listing
---
<ul class="column-balance">
{% capture tempcategories %}
{% for category in site.categories %}
{{ category[1].size | plus: 1000 }}#{{ category[0] }}#{{ category[1].size }}
{% endfor %}
{% endcapture %}
{% assign sortedtempcategories = tempcategories | split:' ' | sort | reverse %}
{% for tempcategory in sortedtempcategories %}
{% assign categoryitems = tempcategory | split: '#' %}
{% capture categoryname %}{{ categoryitems[1] }}{% endcapture %}
<li><a href="/topic/{{ categoryname }}"><nobr>{{ categoryname }}</nobr></a></li>
{% endfor %}
</ul>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment