Skip to content

Commit 6116730

Browse files
committed
Added basic events configuration etc
1 parent cdd4482 commit 6116730

13 files changed

+108
-26
lines changed

_config.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# Site settings
2-
title: PyDiff - Python Cardiff
2+
title: PyDiff - the Cardiff Python meetup
33
description: PyDiff is a Python and Django user group based in Cardiff, Wales.
44
baseurl: "" # the subpath of your site, e.g. /blog/
55
url: "http://yourdomain.com" # the base hostname & protocol for your site
66
twitter_username: PyDiff
77
github_username: PyDiff
8+
89

910
# Build settings
1011
markdown: kramdown
12+
13+
collections:
14+
events:
15+
output: true

_drafts/events.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: page
3+
title: Events
4+
permalink: /events/
5+
order: 10
6+
---
7+
8+
<ul>
9+
{% for post in site.events %}
10+
<li>
11+
<a href="{{ post.url }}">{{ post.title }}</a>
12+
</li>
13+
{% endfor %}
14+
</ul>

_drafts/news.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: page
3+
title: News
4+
permalink: /news/
5+
order: 20
6+
publish: false
7+
---
8+
9+
<ul>
10+
{% for post in site.posts %}
11+
<li>
12+
<a href="{{ post.url }}">{{ post.title }}</a>
13+
</li>
14+
{% endfor %}
15+
</ul>

_events/2015-10-13.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: post
3+
title: "Evolutionary mathematics; PyCon Namibia 2016"
4+
date: 2015-10-13 19:00
5+
venue: "Cardiff University"
6+
---
7+
8+
# Vincent Knight, Cardiff University School of Mathematics
9+
10+
This talk will begin with the origin of species. More precisely with a discussion of Darwin's theory of evolution and how Game Theory has been used to explain/illustrate aspects of co-operation in complex dynamics.
11+
12+
We'll introduce an open-source collaboration project in Python that uses Robert Axelrod's Tournaments to pit various strategies against each other to explore evolutionary theory.
13+
14+
# Daniele Procida, Divio AG
15+
16+
In February this year, with the help of the University of Namibia and Cardiff University's Phoenix Project, and with support from numerous organisations in the Django/Python community, we held Python Namibia, a four-day international software conference in the capital, Windhoek.
17+
18+
This is the story of why we did it, how we did it, how it went - and what's going to happen next.
19+

_events/2015-11-10.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: post
3+
title: "To be confirmed"
4+
date: 2015-11-10 19:00
5+
venue: "Cardiff University"
6+
---
7+
8+
# Kristian Glass, title to be confirmed
9+
10+
Kristian is a regular speaker at Python/Django events.

_includes/footer.html

+2-15
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@ <h2 class="footer-heading">{{ site.title }}</h2>
77
<div class="footer-col-wrapper">
88
<div class="footer-col footer-col-1">
99
<ul class="contact-list">
10-
<li>{{ site.title }}</li>
1110
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
1211
</ul>
1312
</div>
1413

1514
<div class="footer-col footer-col-2">
16-
<ul class="social-media-list">
17-
{% if site.github_username %}
18-
<li>
1915
<a href="https://github.com/{{ site.github_username }}">
2016
<span class="icon icon--github">
2117
<svg viewBox="0 0 16 16">
@@ -25,11 +21,9 @@ <h2 class="footer-heading">{{ site.title }}</h2>
2521

2622
<span class="username">{{ site.github_username }}</span>
2723
</a>
28-
</li>
29-
{% endif %}
24+
</div>
3025

31-
{% if site.twitter_username %}
32-
<li>
26+
<div class="footer-col footer-col-3">
3327
<a href="https://twitter.com/{{ site.twitter_username }}">
3428
<span class="icon icon--twitter">
3529
<svg viewBox="0 0 16 16">
@@ -40,13 +34,6 @@ <h2 class="footer-heading">{{ site.title }}</h2>
4034

4135
<span class="username">{{ site.twitter_username }}</span>
4236
</a>
43-
</li>
44-
{% endif %}
45-
</ul>
46-
</div>
47-
48-
<div class="footer-col footer-col-3">
49-
<p class="text">{{ site.description }}</p>
5037
</div>
5138
</div>
5239

_includes/header.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
</a>
1515

1616
<div class="trigger">
17-
{% for page in site.pages %}
17+
{% assign pages = site.pages | sort:"order" %}
18+
{% for page in pages %}
1819
{% if page.title %}
1920
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
2021
{% endif %}

_posts/2015-09-16-welcome-to-pydiff.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ date: 2015-09-16 12:54:36
55
---
66
PyDiff is the brand new Cardiff based Python and Django user group. We will be meeting monthly to share ideas, learn and have lots of fun! Meetings will probably be at the School of Mathematics on Senghennydd Road, Cathays, and we will keep you posted here about the date of the first meeting.
77

8-
In the meantime, keep and eye on this website and follow us on twitter [@PyDiff](https://twitter.com/PyDiff). We are excited to meet you!
8+
In the meantime, keep and eye on this website and follow us on twitter [@PyDiff](https://twitter.com/PyDiff). We are excited to meet you.

_sass/_layout.scss

+2
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,5 @@
234234
}
235235
}
236236
}
237+
238+
ul.inline li {display: inline;}

about.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
layout: page
33
title: About
44
permalink: /about/
5+
order: 40
56
---
67

78
This is the website for PyDiff, the Cardiff based Python and Django user group. The group was formed after the successful [DjangoCon Europe](http://2015.djangocon.eu) in Cardiff in 2015.
89

9-
This website, along with our twitter account [@Pydiff](https://twitter.com/PyDiff), will post meeting dates and general information for the group.
10+
This website, along with our twitter account [@Pydiff](https://twitter.com/PyDiff), will post meeting dates and general information for the group.

conduct.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: page
3+
title: Code of conduct
4+
permalink: /conduct/
5+
order: 30
6+
---
7+
8+
PyDiff activities are governed by a formal code of conduct. In short, participants at PyDiff events
9+
are expected to contribute to an environment that is **open** and welcoming, **considerate** and
10+
**respectful**.
11+
12+
A fuller statement of these values is given in the [Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/).

css/main.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77

88
// Our variables
9-
$base-font-family: Helvetica, Arial, sans-serif;
10-
$base-font-size: 16px;
9+
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
10+
$base-font-size: 14px;
1111
$small-font-size: $base-font-size * 0.875;
1212
$base-line-height: 1.5;
1313

index.html

+21-5
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,36 @@
44

55
<div class="home">
66

7-
<h1 class="page-heading">Posts</h1>
7+
<p><strong>PyDiff</strong> holds monthly meetups in Cardiff for anyone who uses or wants to learn about <a href="http://python.org">Python</a>.</p>
8+
9+
<p>Everyone's welcome, from experienced programmers to new learners, wherever their interest lies.</p>
10+
11+
<p>We hold technical talks and workshops and occasional social events.</p>
12+
13+
<p>We're also involved in a number of international Python/Django software community conferences - we've recently held:
14+
15+
<ul>
16+
<li><a href="http://djangoweekend.org">Django Weekend Cardiff 2014</a></li>
17+
<li><a href="http://python-namibia.org">Python Nambia 2015</a></li>
18+
<li><a href="http://2015.djangocon.eu">DjangoCon Europe 2015</a></li>
19+
</ul>
20+
21+
and we'll be involved in PyCon Namibia 2016 in February, while <a href="http://pyconuk.org">PyCon UK</a> will come to Cardiff in September 2016.</p>
22+
23+
<h1 class="page-heading">Forthcoming events</h1>
824

925
<ul class="post-list">
10-
{% for post in site.posts %}
26+
{% for post in site.events %}
1127
<li>
1228
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
13-
29+
{% if post.venue %}
30+
at <span class="post-meta">{{ post.venue }}</span>
31+
{% endif %}
1432
<h2>
1533
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
1634
</h2>
1735
</li>
1836
{% endfor %}
1937
</ul>
2038

21-
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
22-
2339
</div>

0 commit comments

Comments
 (0)