diff --git a/_config.yml b/_config.yml index 8968d13..f8e2f56 100644 --- a/_config.yml +++ b/_config.yml @@ -2,3 +2,15 @@ # enable dynamic recomimpiling of templates auto: true +# the site name +name: Unified Diff + +# a description of the site +description: Cardiff Tech Meetup + +# url to the site +url: http://unifieddiff.co.uk + +# enable code highlighting +pygments: true + diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..55ce57b --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,16 @@ + +
+
+
+

get involved

+

If you'd like to give a tech talk, or have something you'd + like to share at a future event, we'd love to hear from you. + Contact us via Twitter - @unifieddiff

+
+
+
+ + + + + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..ff8fd8a --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,41 @@ + + + + + unified.diff - {{ page.title }} + + + + + + + + + + +
+
+
+ +

unified.diff

+
+
+
+
+
+

For too long, Cardiff's software development community has been + fragmented by language, discipline, and platform.

+ +

unified.diff is a + monthly meet-up for anybody involved or interested in the field of software + development.

+ +

We hold tech talks, and trade war stories.

+
+
+
+ diff --git a/_includes/tabs.html b/_includes/tabs.html index c0f48ab..ae19407 100644 --- a/_includes/tabs.html +++ b/_includes/tabs.html @@ -1,9 +1,11 @@
diff --git a/_layouts/default.html b/_layouts/default.html index ece340f..d409bf1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,58 +1,6 @@ - - - - - unified.diff - +{% include header.html %} - - - +{{ content }} - - +{% include footer.html %} - -
-
-
- -

unified.diff

-
-
-
-
-
-

For too long, Cardiff's software development community has been - fragmented by language, discipline, and platform.

- -

unified.diff is a - monthly meet-up for anybody involved or interested in the field of software - development.

- -

We hold tech talks, and trade war stories.

-
-
-
- - {{ content }} - -
-
-
-

get involved

-

If you'd like to give a tech talk, or have something you'd - like to share at a future event, we'd love to hear from you. - Contact us via Twitter - @unifieddiff

-
-
-
-
- - - - diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..6e11648 --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,10 @@ +{% include header.html %} + +{% assign tab-blog = 'active' %} +{% include tabs.html %} + +
+ {{ content }} +
+ +{% include footer.html %} diff --git a/_layouts/video.html b/_layouts/video.html new file mode 100644 index 0000000..b7584bd --- /dev/null +++ b/_layouts/video.html @@ -0,0 +1,11 @@ +{% include header.html %} + +{% assign tab-videos = 'active' %} +{% include tabs.html %} + +
+

{{ page.title }}

+ {{ content }} +
+ +{% include footer.html %} diff --git a/_posts/2013-02-10-welcome-to-the-blog.html b/_posts/2013-02-10-welcome-to-the-blog.html new file mode 100644 index 0000000..ec821f4 --- /dev/null +++ b/_posts/2013-02-10-welcome-to-the-blog.html @@ -0,0 +1,37 @@ +--- +layout: post +title: Welcome to the blog +description: Welcome to the new Unified Diff blog! +--- + +

Welcome to the Blog

+ +

We're always looking for more ways to get as many people as possible +involved and contributing to Unified Diff, it's main purpose is to get +everyone active and involved in the scene. People should feel like this +is their meetup, not just something they attend.

+ +

So as a new outlet we've decided to start a blog!

+ +

Contributing

+ +If you'd like to write something on the blog then you'll need to first fork the repository, +add your post, and then open a pull request. + +

Blog posts need to be stored in the _posts directory, and are +simply HTML files. Take a look at the source of this post to see an example. +You should be able to easily include source code snippets like this...

+ +{% highlight php %} +class Hello { + public function bar() { + // etc... + } +} +{% endhighlight %} + +

And any other styling you need, add it to the CSS. If you have any problems +then you can tweet us, jump on IRC, or post to the mailing list.

+ +

We look forward to reading your work!

+ diff --git a/_posts/2013-02-16-february-meetup-summary.html b/_posts/2013-02-16-february-meetup-summary.html new file mode 100644 index 0000000..81e37a4 --- /dev/null +++ b/_posts/2013-02-16-february-meetup-summary.html @@ -0,0 +1,35 @@ +--- +layout: post +title: February Meetup +description: Writeup of February meetup +--- + +

Feburary Meetup

+ +

As always a massive thanks to everyone who came along to the February meetup, we hope +you had as much fun as we did. Quick intro to the format of this blog post, we're hoping +that we'll add at least a monthly writeup with a few more details than we usually include +in the short summary on the homepage. This will be the task of the compere, whomever that +may be (if you fancy getting involved and stepping up for this role one month please get in +touch we'd love to hear from you!)

+ +

So without further ado...

+ +

Emulate this!

+ +

First up this month was @DougCore, back for +his second Unified Diff talk (a veritable veteran). Previously Doug had spoke about +the Raspberry Pi and this time his topic was +again quite low level - how to write your own emulator.

+ +

@TODO SCREENSHOT

+ +

Doug started off by giving a great overview of what an emulator is, along with the different approaches +towards how you accomplish emulation with the challenges, trade-offs and benefits of each.

+ +

High Quality Code

+ +

Next up was resident Unified Diff soundman and workhorse of an organiser @GavD_UK. +This slot was originally planned to be taken by @niftydigits but +he had to step down at the last minute, but luckily Gav was able to step up.

+ diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..b8954d3 --- /dev/null +++ b/blog.html @@ -0,0 +1,28 @@ +--- +layout: default +title: Blog +--- + +{% assign tab-blog = 'active' %} +{% include tabs.html %} + +
+
+
    + {% for post in site.posts %} +
  • +

    + {{ post.title }} +

    +

    + {{ post.description }} +

    +

    + {{ post.date | date: "%a, %d %b %Y" }} +

    +
  • + {% endfor %} +
+
+
+ diff --git a/css/main.css b/css/main.css index 2e1ca05..4068397 100755 --- a/css/main.css +++ b/css/main.css @@ -57,6 +57,7 @@ section:nth-of-type(odd) h2:before { h3 { font-size: 16px; + margin: 25px 0 15px 0; } .unified { @@ -128,3 +129,46 @@ dd { outline:none; overflow:hidden; } + +/*======== blog ==========*/ + +.rss { + float: right; + background-image: url(../img/icons-22.png); + background-position: right -134px; + background-repeat: no-repeat; + padding: 0 30px 0 0; + height: 22px; + line-height: 22px; +} + +.posts { + margin: 0 0 0 20px; + list-style-type: none; +} + +.posts .post { + padding: 0 0 20px 0; + border-bottom: 1px #ddd solid; +} + +.posts h2 { + margin-bottom: 5px; +} + +.posts h2:before { + content: none; +} + +.posts .summary { + font-style: italic; +} + +.posts .date { + color: #aaa; +} + +.post pre { + margin: 15px; +} + diff --git a/feed.xml b/feed.xml new file mode 100644 index 0000000..3be565d --- /dev/null +++ b/feed.xml @@ -0,0 +1,22 @@ +--- +layout: none +--- + + + + + {{ site.name }} + {{ site.description }} + {{ site.url }} + + {% for post in site.posts limit:10 %} + + {{ post.title }} + {{ post.content | xml_escape }} + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.url }}{{ post.url }} + {{ site.url }}{{ post.url }} + + {% endfor %} + + diff --git a/img/icons-22.png b/img/icons-22.png index 64d58f6..633dfaa 100644 Binary files a/img/icons-22.png and b/img/icons-22.png differ diff --git a/index.html b/index.html index 0b2705c..e99ea9a 100755 --- a/index.html +++ b/index.html @@ -1,5 +1,6 @@ --- layout: default +title: Home --- {% assign tab-index = 'active' %} diff --git a/videos.html b/videos.html index 4775ca8..d28b332 100644 --- a/videos.html +++ b/videos.html @@ -1,5 +1,6 @@ --- layout: default +title: Videos --- {% assign tab-videos = 'active' %} diff --git a/videos/doug-gore-raspberry-pi.html b/videos/doug-gore-raspberry-pi.html new file mode 100644 index 0000000..9b80d80 --- /dev/null +++ b/videos/doug-gore-raspberry-pi.html @@ -0,0 +1,7 @@ +--- +layout: video +title: Doug Gore - Emulate this! +--- + +

Video coming soon...

+