-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·61 lines (57 loc) · 1.91 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
layout: page
header-img: "img/skyline.jpg"
description: ""
---
<div class="Welcome">
<h1>Welcome to The Pulpit</h1>
<p>
<p>Reviewing albums and songs from artists missed by the mainstream</p>
</p>
</div>
<div class="home-wrap Featured">
<h1>Featured Articles</h1>
<div class="ThreeColumn" id="featured-articles-container">
{% assign counter = 0 %}
{% for post in site.posts %}
{% if post.group contains "featured" and counter < 3 %}
{% assign counter = counter | plus: 1 %}
<div class="clearfix Column article-cards recent-articles">
<a class='post-link' href="{{ post.url }}">
<div class="article-caption">
<div class="holder">
<div class="caption-content">
<h4>{{ post.title }}</h4>
<p> </p>
<i>{{ post.categories }}</i>
</div>
</div>
</div>
<img src='{% if post.thumbnail %}{{ post.thumbnail }}{% else %}{{ '/img/P.png' }}{% endif %}' class="thumbnails" {% if post.thumbnail %}{% else %} style="margin-top: 10%"{% endif %}></a>
</a>
</div>
{% endif %}
{% endfor %}
</div>
</div>
<div class="home-wrap Recent">
<h1>Recent Articles</h1>
<div class="ThreeColumn" id="recent-articles-container">
{% for post in site.posts limit:3 %}
<div class="clearfix Column article-cards recent-articles">
<a class='post-link' href="{{ post.url }}">
<div class="article-caption">
<div class="holder">
<div class="caption-content">
<h4>{{ post.title }}</h4>
<p> </p>
<i>{{ post.categories }}</i>
</div>
</div>
</div>
<img src='{% if post.thumbnail %}{{ post.thumbnail }}{% else %}{{ '/img/P.png' }}{% endif %}' class="thumbnails" {% if post.thumbnail %}{% else %} style="margin-top: 10%"{% endif %}></a>
</a>
<br>
</div>
{% endfor %}
</div>