diff --git a/_includes/featured-post-hero.html b/_includes/featured-post-hero.html index 1f56b65..f09234d 100644 --- a/_includes/featured-post-hero.html +++ b/_includes/featured-post-hero.html @@ -58,31 +58,12 @@

Featured Series

diff --git a/_includes/post-list-item.html b/_includes/post-list-item.html new file mode 100644 index 0000000..be5498a --- /dev/null +++ b/_includes/post-list-item.html @@ -0,0 +1,23 @@ +
  • + + +

    + + {{ post.title | escape }} + +

    + + + + Author: + {%- if site.data.authors[post.author] -%} + {{ site.data.authors[post.author].name}} + {%- else -%} + {{ post.author }} + {%- endif -%} + + +
  • diff --git a/blog/index.html b/blog/index.html index 5064ca2..61eb1a1 100644 --- a/blog/index.html +++ b/blog/index.html @@ -19,29 +19,7 @@ title: Blog {%- for post in paginator.posts -%} -
  • - - -

    - - {{ post.title | escape }} - -

    - - - - Author: - {%- if site.data.authors[post.author] -%} - {{ site.data.authors[post.author].name}} - {%- else -%} - {{ post.author }} - {%- endif -%} - - -
  • + {% include post-list-item.html %} {%- endfor -%}