Skip to content

Remove date from landing page of Blogs #2824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 47 additions & 14 deletions docs/blog/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,53 @@
---
layout: blog-page
title: "Blog"
layout: main
extraCSS:
- css/toolbar.css
- css/sidebar.css
title: Blog
---

<ul class="post-list">
{% for post in site.posts %}
<li>
<div>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
{% include "toolbar" %}

<div id="content-wrapper">
{% assign sidebarTop = "75px" %}
{% include "sidebar" %}

<div id="content-body" class="doc-page-body">
<div id="post-title">
<h1 id="main-title">{{ page.title }}</h1>
{% if page.subTitle %}
<h2 id="sub-title">{{ page.subTitle }}</h2>
{% endif %}
</div>
<div class="date">
{{ post.date | date: '%B %d, %Y' }}

<div id="blog-post-container">
<ul class="post-list">
{% for post in site.posts %}
<li>
<div>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</div>
<div class="date">
{{ post.date | date: '%B %d, %Y' }}
</div>
<div class="excerpt">
{{ post.excerpt }}
</div>
</li>
{% endfor %}
</ul>
</div>
<div class="excerpt">
{{ post.excerpt }}

{% if page.author %}
<div id="post-footer">
{% if page.authorImg %}
<img id="author-image" src="{{ site.baseurl }}/{{ page.authorImg }}">
{% endif %}
<span id="post-author">
{% if page.authorImg == null %}- {% endif %}{{ page.author }}
</span>
</div>
</li>
{% endfor %}
</ul>
{% endif %}

</div><!-- end content-body -->
</div><!-- end content-wrapper -->