Skip to content

Commit

Permalink
Re-organize and tweak blog posts
Browse files Browse the repository at this point in the history
  • Loading branch information
doomspork committed Apr 25, 2018
1 parent 45f3bc0 commit 479f970
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2>Appendix</h2>
</header>
<div class="posts">
{% for post in site.posts %}
{% for post in site.posts limit:6 %}
<article>
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<p class="post-date">{{ post.date | date_to_string }}</p>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
layout: default
---
{% include section-home-banner.html %}
{% include section-home-features.html %}
{% include section-home-appendix-posts.html %}
{% include section-contributors.html %}
{% include section-pagination.html %}
33 changes: 15 additions & 18 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,28 @@
---
<section id="section-page">
<header class="main">
<h1>{{ page.title }}</h1>
<h1 class="post-title">{{ page.title }}</h1>
<p>{{ page.date | date_to_string }} · by <a href="{{page.author_link}}">{{page.author}}</a></p>
</header>
<div class="content">
{{ content }}
{{ content }}
</div>
</section>
<!--
<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_string }}</span>
{{ content }}
</div>

{% if page.related_posts %}
<div class="related">
<h2>Related Posts</h2>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<h3>
<a href="{{ post.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
</h3>
</li>
{% for post in page.related_posts limit:3 %}
<li>
<h3>
<a href="{{ post.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
</h3>
</li>
{% endfor %}
</ul>
</div> -->
</div>
{% endif %}
2 changes: 1 addition & 1 deletion _posts/2018-04-03-a-look-at-16.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
author: Sean Callan
author_link: https://github.com/doomspork
categories: general
date: 2018-04-02
layout: post
title: A look at Elixir 1.6
preview: image.jpg
excerpt: >
Follow along as we take a peek at what's inside the latest Elixir release.
Learn more about the all new code formatter, exciting dynamic supervisors, and changes coming to your code editors that make working in Elixir even better!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---
author: Sean Callan
author_link: https://github.com/doomspork
categories: announcement
date: 2018-04-24
date: 2018-04-23
layout: post
title: Just the beginning
excerpt: >
Announcing the official Elixir School blog: Appendix.
Follow along to learn more about Elixir, functional programming, in addition to tips and tricks you can take advantage of when building Elixir applications.
Join us to learn more!
preview: default.jpg
pinned: true
---

Welcome, Bem-vindo, Bienvenido!
Expand Down

0 comments on commit 479f970

Please sign in to comment.