Skip to content

Commit f374886

Browse files
authored
Remove date from landing page of Blogs
1 parent 3bfe849 commit f374886

File tree

1 file changed

+47
-14
lines changed

1 file changed

+47
-14
lines changed

docs/blog/index.html

+47-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,53 @@
11
---
2-
layout: blog-page
3-
title: "Blog"
2+
layout: main
3+
extraCSS:
4+
- css/toolbar.css
5+
- css/sidebar.css
6+
title: Blog
47
---
58

6-
<ul class="post-list">
7-
{% for post in site.posts %}
8-
<li>
9-
<div>
10-
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
9+
{% include "toolbar" %}
10+
11+
<div id="content-wrapper">
12+
{% assign sidebarTop = "75px" %}
13+
{% include "sidebar" %}
14+
15+
<div id="content-body" class="doc-page-body">
16+
<div id="post-title">
17+
<h1 id="main-title">{{ page.title }}</h1>
18+
{% if page.subTitle %}
19+
<h2 id="sub-title">{{ page.subTitle }}</h2>
20+
{% endif %}
1121
</div>
12-
<div class="date">
13-
{{ post.date | date: '%B %d, %Y' }}
22+
23+
<div id="blog-post-container">
24+
<ul class="post-list">
25+
{% for post in site.posts %}
26+
<li>
27+
<div>
28+
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
29+
</div>
30+
<div class="date">
31+
{{ post.date | date: '%B %d, %Y' }}
32+
</div>
33+
<div class="excerpt">
34+
{{ post.excerpt }}
35+
</div>
36+
</li>
37+
{% endfor %}
38+
</ul>
1439
</div>
15-
<div class="excerpt">
16-
{{ post.excerpt }}
40+
41+
{% if page.author %}
42+
<div id="post-footer">
43+
{% if page.authorImg %}
44+
<img id="author-image" src="{{ site.baseurl }}/{{ page.authorImg }}">
45+
{% endif %}
46+
<span id="post-author">
47+
{% if page.authorImg == null %}- {% endif %}{{ page.author }}
48+
</span>
1749
</div>
18-
</li>
19-
{% endfor %}
20-
</ul>
50+
{% endif %}
51+
52+
</div><!-- end content-body -->
53+
</div><!-- end content-wrapper -->

0 commit comments

Comments
 (0)