This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7ca054c
Showing
15 changed files
with
293 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
output/ | ||
tmp/ |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
This is the webtuesday.ch web site. | ||
|
||
To get started: | ||
1. Install nanoc: gem install nanoc | ||
2. Edit some file: vi content/index.html | ||
3. Compile: nanoc compile | ||
|
||
Check the nanoc documentation for details: http://nanoc.stoneship.org/docs/ |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
require 'nanoc3/tasks' |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env ruby | ||
|
||
# A few helpful tips about the Rules file: | ||
# | ||
# * The order of rules is important: for each item, only the first matching | ||
# rule is applied. | ||
# | ||
# * Item identifiers start and end with a slash (e.g. "/about/" for the file | ||
# "content/about.html"). To select all children, grandchildren, ... of an | ||
# item, use the pattern "/about/*/"; "/about/*" will also select the parent, | ||
# because "*" matches zero or more characters. | ||
|
||
compile '/stylesheet/' do | ||
# don't filter or layout | ||
end | ||
|
||
compile '/files/*' do | ||
# don't filter or layout | ||
end | ||
|
||
compile '*' do | ||
filter :erb | ||
layout 'default' | ||
end | ||
|
||
route '/stylesheet/' do | ||
'/style.css' | ||
end | ||
|
||
route '/files/*' do | ||
f = item.raw_filename | ||
f[f.index('/files/')..-1] | ||
end | ||
|
||
route '*' do | ||
item.identifier + 'index.html' | ||
end | ||
|
||
layout '*', :erb |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# A list of file extensions that nanoc will consider to be textual rather than | ||
# binary. If an item with an extension not in this list is found, the file | ||
# will be considered as binary. | ||
text_extensions: [ 'css', 'erb', 'haml', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ] | ||
|
||
# The path to the directory where all generated files will be written to. This | ||
# can be an absolute path starting with a slash, but it can also be path | ||
# relative to the site directory. | ||
output_dir: output | ||
|
||
# A list of index filenames, i.e. names of files that will be served by a web | ||
# server when a directory is requested. Usually, index files are named | ||
# "index.hml", but depending on the web server, this may be something else, | ||
# such as "default.htm". This list is used by nanoc to generate pretty URLs. | ||
index_filenames: [ 'index.html' ] | ||
|
||
# Whether or not to generate a diff of the compiled content when compiling a | ||
# site. The diff will contain the differences between the compiled content | ||
# before and after the last site compilation. | ||
enable_output_diff: false | ||
|
||
# The data sources where nanoc loads its data from. This is an array of | ||
# hashes; each array element represents a single data source. By default, | ||
# there is only a single data source that reads data from the "content/" and | ||
# "layout/" directories in the site directory. | ||
data_sources: | ||
- | ||
# The type is the identifier of the data source. By default, this will be | ||
# `filesystem_unified`. | ||
type: filesystem_unified | ||
|
||
# The path where items should be mounted (comparable to mount points in | ||
# Unix-like systems). This is "/" by default, meaning that items will have | ||
# "/" prefixed to their identifiers. If the items root were "/en/" | ||
# instead, an item at content/about.html would have an identifier of | ||
# "/en/about/" instead of just "/about/". | ||
items_root: / | ||
|
||
# The path where layouts should be mounted. The layouts root behaves the | ||
# same as the items root, but applies to layouts rather than items. | ||
layouts_root: / |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Contact | ||
--- | ||
|
||
<h2>Contact</h2> | ||
<p>We are always looking for presentors and locations where we can hold the | ||
webtuesday. Please get in contact with one of the organizers if you can | ||
offer that or if you have a question.</p> | ||
<ul> | ||
<li><a href="http://twitter.com/webtuesday">@webtuesday on Twitter</a></li> | ||
<li><a href="">Harry Fuecks</a></li> | ||
<li><a href="http://patrice.ch/">Patrice Neff</a></li> | ||
</ul> |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
title: Home | ||
--- | ||
|
||
<h1>Webtuesday</h1> | ||
<p> | ||
Webtuesday is a meeting by developers around Zürich, Switzerland. We meet | ||
every second Tuesday of the month at various companies in Zürich. | ||
</p> | ||
|
||
<h2>Next meeting</h2> | ||
<p> | ||
The <a href="/meetings/20110412/">next meeting</a> will take place on | ||
<strong>April 12, 2011</strong> at 19:30. | ||
</p> | ||
|
||
<div id="feeds"></div> | ||
|
||
<h2>Updates</h2> | ||
<p>Keep updated on the following channels:</p> | ||
<ul> | ||
<li><a href="http://twitter.com/webtuesday">@webtuesday on Twitter</a></li> | ||
<li><a href="http://techup.ch/">techup.ch</a></li> | ||
<li><a href="http://groups.google.com/group/webtuesday-announce/">webtuesday-announce mailing list</a></li> | ||
</ul> | ||
|
||
<h2>Future dates</h2> | ||
<ul> | ||
<li><a href="/meetings/20110510/">May 10, 2011</a></li> | ||
<li><a href="/meetings/20110614/">June 14, 2011</a></li> | ||
<li><a href="/meetings/20110712/">July 12, 2011</a></li> | ||
<li><a href="/meetings/20110809/">August 9, 2011</a></li> | ||
<li><a href="/meetings/20110913/">September 13, 2011</a></li> | ||
<li><a href="/meetings/20111011/">October 11, 2011</a></li> | ||
<li><a href="/meetings/20111108/">November 8, 2011</a></li> | ||
<li><a href="/meetings/20111213/">December 13, 2011</a></li> | ||
</ul> | ||
<p><a href="/meetings/">See all future and past meetings</a></p> | ||
|
||
<h2>Contact</h2> | ||
<p>We are always looking for presentors and locations where we can hold the | ||
webtuesday. Please get in contact with one of the organizers if you can | ||
offer that or if you have a question.</p> | ||
<ul> | ||
<li><a href="http://twitter.com/webtuesday">@webtuesday on Twitter</a></li> | ||
<li><a href="">Harry Fuecks</a></li> | ||
<li><a href="http://patrice.ch/">Patrice Neff</a></li> | ||
</ul> | ||
|
||
<!-- load the Twitter feed --> | ||
<script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAAjIKJZdsneVMYnLsofamAchS98H9opBN_nujJnKZLB6L34znnGxRp3M61BeT83eCqzLxTalCbKZPozA"></script> | ||
<script type="text/javascript"> | ||
google.load("feeds", "1"); | ||
function initialize() { | ||
var feedControl = new google.feeds.FeedControl(); | ||
feedControl.addFeed("http://search.twitter.com/search.atom?q=webtuesday", "Twitter"); | ||
feedControl.draw(document.getElementById("feeds")); | ||
} | ||
google.setOnLoadCallback(initialize); | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
date: 2006-03-13 | ||
title: March 13, 2006 | ||
type: meeting | ||
--- | ||
|
||
<h1>March 13, 2006</h1> | ||
|
||
<p>Meeting at 18:30 at Bitflux for talk, moving onto Rossi's next door.</p> | ||
|
||
<h2>Presentation</h2> | ||
<p><a href="/files/2006-03-phpsecprimer.pdf">phpsecprimer.pdf</a></p> | ||
|
||
<h2>Agenda</h2> | ||
<ul> | ||
<li>PHP Security Primer: short talk by Harry on basic security "gotchas" in PHP</li> | ||
<li>Drinks at Rossi's next door around 20:00</li> | ||
</ul> |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
date: 2011-04-12 | ||
title: April 12, 2011 | ||
type: meeting | ||
--- | ||
|
||
<h1>April 12, 2011</h1> | ||
<p>We meet at 19:30. The location hasn't been assigned yet.</p> | ||
|
||
<h2>Agenda</h2> | ||
<p> | ||
We don't have a topic for this meeting yet. | ||
<a href="/contact/">Contact us</a> if you would like to do a talk! | ||
</p> |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: All meetings | ||
--- | ||
|
||
<h2>Future</h2> | ||
<ul> | ||
<li><a href="/meetings/20110412/">April 12, 2011</a></li> | ||
<li><a href="/meetings/20110510/">May 10, 2011</a></li> | ||
<li><a href="/meetings/20110614/">June 14, 2011</a></li> | ||
<li><a href="/meetings/20110712/">July 12, 2011</a></li> | ||
<li><a href="/meetings/20110809/">August 9, 2011</a></li> | ||
<li><a href="/meetings/20110913/">September 13, 2011</a></li> | ||
<li><a href="/meetings/20111011/">October 11, 2011</a></li> | ||
<li><a href="/meetings/20111108/">November 8, 2011</a></li> | ||
<li><a href="/meetings/20111213/">December 13, 2011</a></li> | ||
</ul> | ||
|
||
<h2>Past meetings</h2> | ||
<ul> | ||
<li><a href="/meetings/20060314/">March 2006</a> - PHP security primer</li> | ||
</ul> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: README | ||
--- | ||
|
||
<h2>README</h2> | ||
<p> | ||
This site can be written by interested members of the webtuesday community. | ||
Simply <a href="">clone the repository on github</a> and then send a pull | ||
request. We can also give you write access to the master repository | ||
directly if you wish. Simply <a href="/contact/">contact us</a>. | ||
</p> |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* structure */ | ||
body { | ||
font: 75% "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; | ||
font-size: 75%; /* Reduce to 12px */ | ||
} | ||
#main { | ||
margin-left: 17em; | ||
max-width: 40em; | ||
} | ||
#sidebar { | ||
float: left; | ||
width: 15em; | ||
border-right: 1px solid #8d0000; | ||
padding-right: 1em; | ||
margin-right: 1em; | ||
margin-top: 3.5em; | ||
} | ||
|
||
/* content styling */ | ||
h1 { | ||
color: #8d0000; | ||
margin-bottom: 0.1em; | ||
} | ||
|
||
/* feed on the home page */ | ||
#feeds { | ||
float: right; | ||
width: 20em; | ||
border: 1px solid #ccc; | ||
margin-left: 2em; | ||
} | ||
.gfc-resultsHeader, .gfc-results { | ||
padding: 0.2em; | ||
width: auto; | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE HTML> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title><%= @item[:title] %> - Webtuesday</title> | ||
<link rel="stylesheet" type="text/css" href="/style.css" media="screen"> | ||
</head> | ||
<body> | ||
<div id="sidebar"> | ||
<ul> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/meetings/20110402/">Next meeting</a></li> | ||
<li><a href="/meetings/">All meetings</a></li> | ||
<li><a href="/readme/">About this site</a></li> | ||
</ul> | ||
<h2>Community</h2> | ||
<ul> | ||
<li><a href="http://twitter.com/webtuesday">@webtuesday on Twitter</a></li> | ||
<li><a href="http://techup.ch/">techup.ch</a></li> | ||
<li><a href="http://groups.google.com/group/webtuesday-announce/">mailing list</a></li> | ||
</ul> | ||
</div> | ||
<div id="main"> | ||
<%= yield %> | ||
</div> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# All files in the 'lib' directory will be loaded | ||
# before nanoc starts compiling. |