-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of future and past on index page
We basically split the list of posts into 3 parts: - the next meetup - meetups _after_ the next one - meetups in the past This is necessary to allow having more than one meetup planned and on the website (cf. #14). It also makes use of some newer Jekyll filters which make the code much more functionally-flavored and readable. I also change the "Help us [plan the next meetup]" link to point to Github issues (instead of being a mailto link).
- Loading branch information
Showing
2 changed files
with
48 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
.featured-impressions, | ||
.prev-meetup { | ||
.future-meetups, | ||
.prev-meetup, | ||
.featured-impressions { | ||
margin-top: $spacing-large; | ||
border-top: 1px solid $color-lo; | ||
padding-top: $spacing-large; | ||
padding-bottom: $spacing-large; | ||
} | ||
|
||
.prev-meetup-byline { | ||
font-style: italic; | ||
} | ||
.future-meetups, | ||
.prev-meetup { | ||
.byline { | ||
font-style: italic; | ||
} | ||
|
||
.prev-meetup .event-title { | ||
margin-top: 0; | ||
font-size: 1em; | ||
margin-bottom: $spacing; | ||
} | ||
.event-title { | ||
margin-top: 0; | ||
font-size: 1em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters