Skip to content

Commit

Permalink
fixes #160
Browse files Browse the repository at this point in the history
  • Loading branch information
egladman committed Jan 28, 2016
1 parent ecd6327 commit df84755
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.
13 changes: 8 additions & 5 deletions _assets/css/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,14 @@ hr
h5
display: inline
text-transform: capitalize
&::after
content: "\f105"
font-family: FontAwesome
margin: 0 0.5em
color: $textColor

a:not(:last-of-type)
h5::after
content: "\f105"
font-family: FontAwesome
margin: 0 0.5em
color: $textColor




Expand Down
22 changes: 19 additions & 3 deletions _includes/jade/posts.jade
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
.section.posts
.container


{% if page.is_post %}
.category-title
a(href='{{ site.baseurl }}/{{ post.categories | first }}')

{% if post.categories contains 'announcements' %}
a(href='{{ site.baseurl }}/')
h5 {{ page.tags }}
{% else %}
a(href='{{ site.baseurl }}/{{ page.tags | first }}')
h5 {{ page.tags }}
{% endif %}

a(href='{{ site.baseurl }}{{ post.url }}')
h5 {{ page.title }}
{% endif %}

{% if page.category %}

{% if page.category %}
.category-title

{% if post.categories contains 'announcements' %}
a(href='{{ site.baseurl }}/')
h5 {{ page.category }}

{% else %}
a(href='{{ site.baseurl }}/{{ page.category }}')
h5 {{ page.category }}
{% endif %}
a
h5 page {{ paginator.page }}
{% endif %}


Expand Down
2 changes: 1 addition & 1 deletion index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
layout: html/default
title: Open Source Club
category: announcements
alias: [/index.html, /club_email.html, /articles.html, /club_meetings.html, /mailinglist, /mailinglist/about.html, /mailinglist-info.html, /about/summer.html, /about.1.html]
alias: [/index.html, /club_email.html, /articles.html, /club_meetings.html, /mailinglist, /mailinglist/about.html, /mailinglist-info.html, /about/summer.html, /about.1.html, /announcements]
---

0 comments on commit df84755

Please sign in to comment.