-
Notifications
You must be signed in to change notification settings - Fork 11
templates and styling for upcoming events and event details #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'digest/md5' | ||
|
||
module MD5 | ||
def md5 input | ||
Digest::MD5.hexdigest input | ||
end | ||
end | ||
|
||
Liquid::Template.register_filter MD5 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
layout: post | ||
country: Sweden | ||
city: Stockholm | ||
street: Klarna AB Sveavägen 46 | ||
latitude: 59.3371711 | ||
longitude: 18.0623905 | ||
date: 2018-05-05 18:00:00 +0200 | ||
workshop_dates: 5–6 May 2018 | ||
city_image_url: https://upload.wikimedia.org/wikipedia/commons/8/88/Stockholm_Port.jpg | ||
organizers: | ||
email: [email protected] | ||
names: ["Mariana Bocoi", "Josh Glover"] | ||
accounts: | ||
- service: github | ||
username: ClojureBridgeSE | ||
- service: twitter | ||
username: ClojureBridgeSE | ||
- service: unrecognized | ||
username: ClojureBridgeSE | ||
sponsors: | ||
- name: Klarna AB | ||
image: http://s3.amazonaws.com/clojurebridge/thumb/197/klarna-blue-black.png?1488765101 | ||
url: https://lifeatklarna.com/ | ||
- name: PurelyFunctional.tv | ||
image: http://s3.amazonaws.com/clojurebridge/thumb/198/95571868-0513-11e7-80b1-f62efc8b6793.png?1489095657 | ||
url: https://purelyfunctional.tv/ | ||
--- | ||
|
||
### Description | ||
|
||
ClojureBridge is a free 1-day workshop aimed at increasing the participation | ||
of women in the Clojure community. It will be held in Stockholm, on Saturday | ||
May 6th, 2017 with an install fest on Friday May 5th, 2017 in the evening. | ||
The workshop is intended both for those new to programming, as well as those | ||
with some programming experience who would like to explore programming using | ||
Clojure, a modern functional programming language. If you have a lot of | ||
programming experience, you may find the pace a bit slow; consider joining | ||
us as a coach! :) | ||
|
||
The workshop will introduce you to fundamental programming concepts and | ||
approaches. Participants will fill out a quick survey to help us create groups | ||
based on prior knowledge and understanding. Although participants can install | ||
the required software for the workshop on their own, it is recommended everyone | ||
attend on Friday to set up her programming environment. Saturday will be spent | ||
learning and practising Clojure programming. You will be working in small | ||
groups of around 3 attendees each. Each participant needs to bring a laptop | ||
computer with a fairly recent operating system (Mac, Linux or Windows). If you | ||
have questions about your hardware or you don’t have a laptop, please don’t | ||
hesitate to send an email to the organisers before the event. | ||
|
||
The workshop will be held in English, but we will have a few Swedish speakers | ||
on hand, as well. | ||
|
||
### Contact us | ||
|
||
We're on Twitter at [ClojureBridgeSE](https://twitter.com/ClojureBridgeSE). | ||
|
||
### Who can attend? | ||
|
||
The workshop is open to all women, trans*, and gender nonconforming people. | ||
|
||
### Code of Conduct | ||
|
||
The workshop provides a safe and welcoming environment for everyone, | ||
so we will be asking all learners and event volunteers to respect our | ||
[Code of Conduct](http://bridgefoundry.org/code-of-conduct/), which will be | ||
strictly enforced. Our aim is that ClojureBridge Stockholm will introduce | ||
learners to new possibilities in programming and grow the tech community | ||
into a more diverse and interesting group. | ||
|
||
### Schedule | ||
|
||
#### Friday | ||
|
||
- 6:00 PM Installfest | ||
|
||
#### Saturday | ||
|
||
- 9:00 AM Doors open | ||
- 9:30 AM Welcome and introductions | ||
- 10:00 AM Group workshops | ||
- 12:30 PM Lunch | ||
- 1:30 PM Lightning talk | ||
- 2:00 PM Group workshop | ||
- 5:30 PM Demo | ||
- 6:30 PM After party |
This file contains hidden or 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
This file contains hidden or 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 |
---|---|---|
|
@@ -20,24 +20,21 @@ <h2> | |
Upcoming Events | ||
</h2> | ||
|
||
{% assign upcoming_events = site.posts | where_exp: 'post', 'post.date >= site.time' %} | ||
{% if upcoming_events.size == 0 %} | ||
<p>There are no upcoming workshops.</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, great. Can we merge this PR then? |
||
{% else %} | ||
<ul id="events-list"> | ||
|
||
{% assign curDate = site.time | date: '%s' %} | ||
{% for post in site.posts %} | ||
{% assign postStartDate = post.date | date: '%s' %} | ||
{% if postStartDate >= curDate %} | ||
<li> | ||
<div class="city" style="background-image: url(http://www.telegraph.co.uk/content/dam/Travel/leadAssets/24/49/david-bowie_2449256a-large.jpg)"></div> | ||
<img src="https://avatars1.githubusercontent.com/u/5123681?v=3&s=460" class="organizer"> | ||
<h3> | ||
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> | ||
</h3> | ||
<p>{{ post.workshop_dates }}</li> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
{% for post in upcoming_events reversed %} | ||
<li> | ||
<div class="background-image city" style="background-image: url({{ post.city_image_url }})"></div> | ||
<div class="background-image organizer" style="background-image: url(https://www.gravatar.com/avatar/{{ post.organizers.email | strip | downcase | md5 }}?s=200)"></div> | ||
<h3><a class="post-link" href="{{ post.url }}">{{ post.city }}</a></h3> | ||
<p>{{ post.workshop_dates }}</li> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
|
||
</div> | ||
</div> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed the year from 2017 to 2018 so this workshop appears as an upcoming event. When I add the other completed workshops I will revert this to 2017.