summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/postlist.html28
1 files changed, 5 insertions, 23 deletions
diff --git a/_layouts/postlist.html b/_layouts/postlist.html
index 765c014..0143919 100644
--- a/_layouts/postlist.html
+++ b/_layouts/postlist.html
@@ -3,30 +3,12 @@ layout: default
---
<div class="home">
- <div
- id="AdBlock"
- style="border-radius: 10px; padding: 5px; background: #eeeeee; margin-bottom: 1em; position: relative;"
- >
- <a
- class="close-button"
- style="position: absolute; top: 10px; right: 10px;"
- >&lbrack;&times;&rbrack;</a>
- <p>
- <div style="font-weight: bold">You don't seem to be using an ad blocker.</div>
- <div>Please consider installing one.</div>
- </p>
- </div>
- <div
- id="news1"
- style="border-radius: 10px; padding: 5px; background: #eeeeee; margin-bottom: 1em; position: relative;"
- >
- <a
- class="close-button"
- style="position: absolute; top: 10px; right: 10px;"
- >&lbrack;&times;&rbrack;</a>
- <p>Now also available via Tor</p>
- <code>http://iwccx6ebuapto7dlkd4m5fooud6nqn2z7go7aass5c4q6vl6gzs5htad.onion/</code>
+ {% for item in site.data.news %}
+ <div id="{{ item.id }}" class="news-item">
+ <a class="banner-close-button">&lbrack;&times;&rbrack;</a>
+ {{ item.content }}
</div>
+ {% endfor %}
{%- if page.title -%}
<h1 class="page-heading">{{ page.title }}</h1>