Skip to content

Commit 129438e

Browse files
committed
fixed blog ordering
modified home.html to put external blogs before internal blogs.
1 parent 2cbe557 commit 129438e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

_layouts/home.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
<div id="main" role="main">
1010
{% include sidebar.html %}
1111
<div class = 'archive'>
12-
{%- for blog in site.data.blogs.internal_blogs -%}
13-
<a class = 'blog_card' href = '/{{ blog.name | downcase | slugify }}/'>
12+
{%- for blog in site.data.blogs.external_blogs -%}
13+
<a class = 'blog_card' href = '{{ blog.url }}' target = '_blank' rel = 'noopener'>
1414
<h2 class = 'blog_header'>{{ blog.name }}</h2>
1515
<p class = 'blog_excerpt'>{{ blog.description }}</p>
1616
</a>
1717
{%- endfor -%}
18-
{%- for blog in site.data.blogs.external_blogs -%}
19-
<a class = 'blog_card' href = '{{ blog.url }}' target = '_blank' rel = 'noopener'>
18+
{%- for blog in site.data.blogs.internal_blogs -%}
19+
<a class = 'blog_card' href = '/{{ blog.name | downcase | slugify }}/'>
2020
<h2 class = 'blog_header'>{{ blog.name }}</h2>
2121
<p class = 'blog_excerpt'>{{ blog.description }}</p>
2222
</a>

0 commit comments

Comments
 (0)