Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 5aade59a48753f2362216abaa956b606d77acc37 0 parents
@mroderick mroderick authored
1  .gitignore
@@ -0,0 +1 @@
+/_site/
3  README.md
@@ -0,0 +1,3 @@
+This is a Jekyll based website for CopenhagenJS.
+
+See http://copenhagenjs.dk
23 _config.yml
@@ -0,0 +1,23 @@
+safe: false
+auto: true
+server: true
+server_port: 4001
+
+source: .
+destination: ./_site
+plugins: ./_plugins
+
+future: true
+lsi: false
+pygments: true
+markdown: maruku
+permalink: /:year/:month/:day/:title
+
+maruku:
+ use_tex: false
+ use_divs: false
+ png_engine: blahtex
+ png_dir: images/latex
+ png_url: /images/latex
+
+rdiscount:
88 _layouts/default.html
@@ -0,0 +1,88 @@
+<!doctype html>
+<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
+<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
+<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
+<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <title>{{ page.title }} | CopenhagenJS</title>
+ {% if page.description %}
+ <meta name="description" content="">
+ {% endif %}
+
+ {% if page.author %}
+ <meta name="author" content="{{ page.author }}" />
+ {% else %}
+ <meta name="author" content="CopenhagenJS" />
+ {% endif %}
+
+ <!-- Mobile viewport optimized: j.mp/bplateviewport -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+
+ <!-- CSS: implied media="all" -->
+ <link rel="stylesheet" href="/stylesheets/style.css" />
+
+ <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
+ <link rel="shortcut icon" href="/favicon.ico" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
+
+ <meta name="robots" content="index,follow" />
+ <meta name="mssmarttagspreventparsing" content="true" />
+
+ <!-- TODO: use FeedBurner -->
+ <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="CopenhagenJS ATOM Feed" />
+ </head>
+ <body>
+ <div id="container">
+ <header role="navigation">
+ <a href="/" class="home">CopenhagenJS</a>
+ <ul class="nav">
+ <li><a href="/">Blog</a></li>
+ <li><a href="/archives.html">Archives</a></li>
+ <li><a href="/about/">About</a></li>
+ </ul>
+ <a href="/atom.xml" class="feed">Subscribe to the feed</a>
+ </header>
+
+ <div id="main" role="main">
+ {{ content }}
+ </div>
+
+ <div id="sidebar">
+ <h4>Meetups</h4>
+ <p>Meetup is on every third thursday of the month</p>
+
+ <h4>CopenhagenJS elsewhere</h4>
+ <p>
+ You should follow <a href="https://twitter.com/#!/CopenhagenJS">@CopenhagenJS</a> for announcements,
+ and participate in the community in the <a href="http://groups.google.com/group/copenhagenjs/">Google Group</a>.
+ </p>
+
+ <h5>Announcements</h5>
+ <p>
+ All announcements will be crossposted on <a href="/">copenhagenjs.dk</a>, the
+ <a href="http://groups.google.com/group/copenhagenjs/">Google Group</a> and on
+ <a href="https://twitter.com/#!/CopenhagenJS">@CopenhagenJS</a>.
+ </p>
+ </div>
+
+ <footer>
+ &copy;CopenhagenJS, unless otherwise noted.
+ </footer>
+ </div>
+
+ <!-- mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID -->
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-24633486-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ </body>
+</html>
9 _layouts/post.html
@@ -0,0 +1,9 @@
+---
+layout: default
+---
+<div class="article">
+ <article>
+ <h1>{{ page.title }}</h1>
+ {{ content }}
+ </article>
+</div>
6 _posts/2011-07-20-hello-world.md
@@ -0,0 +1,6 @@
+---
+title: Hello World
+layout: post
+---
+
+Welcome to CopenhagenJS, a JavaScript community in and around Copenhagen, Denmark.
6 about/index.md
@@ -0,0 +1,6 @@
+---
+title: About
+layout: default
+---
+
+This is the about page
9 archives.html
@@ -0,0 +1,9 @@
+---
+title: Archives
+layout: default
+---
+<ul>
+ {% for post in site.posts %}
+ <li><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
+ {% endfor %}
+</ul>
32 atom.xml
@@ -0,0 +1,32 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+ <title>CopenhagenJS</title>
+ <link type="application/atom+xml" href="http://copenhagenjs.dk/atom.xml" rel="self" />
+ <link type="text" href="copenhagenjs.dk/" rel="alternate" />
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>http://copenhagenjs.dk/</id>
+ <author>
+ <name>CopenhagenJS</name>
+ <email>hello@copenhagenjs.dk</email>
+ </author>
+ {% for post in site.posts %}
+ <entry>
+ <title>{{ post.title }}</title>
+ <link href="http://copenhagenjs.dk/{{ post.url }}"/>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>http://copenhagenjs.dk/{{ post.id }}</id>
+ <author>
+ {% if post.author %}
+ <name>{{ post.author }}</name>
+ {% else %}
+ <name>CopenhagenJS</name>
+ {% endif %}
+ </author>
+
+ <content type="html">{{ post.content | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+</feed>
8 humans.txt
@@ -0,0 +1,8 @@
+/* the humans responsible & colophon */
+/* humanstxt.org */
+
+/* TEAM */
+ CopenhagenJS: Morgan Roderick, Kenneth Auchenberg, Björn Söderqvist
+ Site: http://copenhagenjs.dk
+ Twitter: @copenhagenjs
+ Location: Copenhagen, Denmark
16 index.html
@@ -0,0 +1,16 @@
+---
+layout: default
+title: CopenhagenJS
+---
+
+# CopenhagenJS
+
+{% for post in site.posts limit:5 %}
+<div class="post">
+ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
+ <h4>Posted on <a href="{{ post.url }}" title="Permalink for this post">{{ post.date | date_to_string }}</a></h4>
+ <div class="post_content">
+ {{ post.content }}
+ </div>
+</div>
+{% endfor %}
5 robots.txt
@@ -0,0 +1,5 @@
+# www.robotstxt.org/
+# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449
+
+User-agent: *
+
27 sitemap.xml
@@ -0,0 +1,27 @@
+---
+layout: nil
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="/sitemap.xsl"?>
+<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>http://copenhagenjs.dk/</loc>
+ <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
+ <changefreq>daily</changefreq>
+ <priority>1.0</priority>
+ </url>
+ <url>
+ <loc>http://copenhagenjs.dk/about/</loc>
+ <lastmod>2011-02-07T20:59:36+00:00</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>0.6</priority>
+ </url>
+ {% for post in site.posts limit:20 %}
+ <url>
+ <loc>http://copenhagenjs.dk{{ post.url }}/</loc>
+ <lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>0.8</priority>
+ </url>
+ {% endfor %}
+</urlset>
106 sitemap.xsl
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="2.0"
+ xmlns:html="http://www.w3.org/TR/REC-html40"
+ xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
+ <xsl:template match="/">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>XML Sitemap</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <style type="text/css">
+ body {
+ font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana;
+ font-size:13px;
+ }
+
+ #intro {
+ background-color:#CFEBF7;
+ border:1px #2580B2 solid;
+ padding:5px 13px 5px 13px;
+ margin:10px;
+ }
+
+ #intro p {
+ line-height: 16.8667px;
+ }
+
+ td {
+ font-size:11px;
+ }
+
+ th {
+ text-align:left;
+ padding-right:30px;
+ font-size:11px;
+ }
+
+ tr.high {
+ background-color:whitesmoke;
+ }
+
+ #footer {
+ padding:2px;
+ margin:10px;
+ font-size:8pt;
+ color:gray;
+ }
+
+ #footer a {
+ color:gray;
+ }
+
+ a {
+ color:black;
+ }
+ </style>
+ </head>
+ <body>
+ <h1>XML Sitemap</h1>
+ <div id="intro">
+ <p>
+ This is a XML Sitemap which is supposed to be processed by search engines like <a href="http://www.google.com">Google</a>, <a href="http://search.msn.com">MSN Search</a> and <a href="http://www.yahoo.com">YAHOO</a>.<br />
+ You can find more information about XML sitemaps on <a href="http://sitemaps.org">sitemaps.org</a> and Google's <a href="http://code.google.com/sm_thirdparty.html">list of sitemap programs</a>.
+ </p>
+ </div>
+ <div id="content">
+ <table cellpadding="5">
+ <tr style="border-bottom:1px black solid;">
+ <th>URL</th>
+ <th>Priority</th>
+ <th>Change Frequency</th>
+ <th>LastChange (GMT)</th>
+ </tr>
+ <xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
+ <xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
+ <xsl:for-each select="sitemap:urlset/sitemap:url">
+ <tr>
+ <xsl:if test="position() mod 2 != 1">
+ <xsl:attribute name="class">high</xsl:attribute>
+ </xsl:if>
+ <td>
+ <xsl:variable name="itemURL">
+ <xsl:value-of select="sitemap:loc"/>
+ </xsl:variable>
+ <a href="{$itemURL}">
+ <xsl:value-of select="sitemap:loc"/>
+ </a>
+ </td>
+ <td>
+ <xsl:value-of select="concat(sitemap:priority*100,'%')"/>
+ </td>
+ <td>
+ <xsl:value-of select="concat(translate(substring(sitemap:changefreq, 1, 1),concat($lower, $upper),concat($upper, $lower)),substring(sitemap:changefreq, 2))"/>
+ </td>
+ <td>
+ <xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)))"/>
+ </td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </div>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
3  stylesheets/style.css
@@ -0,0 +1,3 @@
+body {
+ font-family: 'Times New Roman', serif;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.