+++ /dev/null
-title = test post
-date = 2010-07-07
-tags = test post tag1 tag2
---
-
-This is a test post. Hello world!
-
-*ooo*
-**ahh**
-***eee***
-
-some inline code `some code` woo
-
- fn(test) { code };
- some more <pre> code
- // a comment perhaps
-
-line
-------
-break
+++ /dev/null
-title = another test post
-date = 2010-07-01
-tags = with different tags
---
-
-this is an older test post!
-
-`some code`
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . dirname(realpath(__FILE__)));
- define ('SITE_TITLE', 'plog');
- define ('LOCAL_ROOT', '/local/plog/root/');
- define ('WEB_ROOT', 'http://webroot.com/');
+ define ('SITE_TITLE', 'quilime');
+ define ('LOCAL_ROOT', '/home/quilime/quilime-site/' );
+ define ('WEB_ROOT', 'http://py.quilime.com/' );
define ('CONTENT_DIR', 'content');
define ('TEMPLATE_DIR', 'templates');
title = about
--
-all about the about
\ No newline at end of file
+a codification of exploration, resources, and creativity.
+
+**author**: gabriel dunne ([email](mailto:gdunne@quilime.com), [www](http://gabrieldunne.com))
+**elsewhere**:
+[flickr](http://flickr.com/photos/quilime/),
+[delicious](http://delicious.com/quilime/),
+[vimeo](http://vimeo.com/quilime/),
+[github](http://github.com/quilime/)
+
+[rss](http://quilime.com/.rss)
\ No newline at end of file
title = links
+type = page
+markdown = true
--
-+ [quilime](http://quilime.com) →
-+ [gabriel dunne](http://gabrieldunne.com) →
\ No newline at end of file
++ [stephanie sherriff](http://ssherriff.com) →
++ [ryan alexander](http://onecm.com) →
++ [daniel massey](http://oddsympathy.com) →
++ [joshua nimoy](http://jtnimoy.net) →
++ [keith pasko](http://keithpasko.com) →
++ [jeff lubow](http://dabkitsch.com/jml/) →
++ [carbon workshop (gustavo huber & shelly brown)](http://carbonworkshop.com) →
++ [sascha pohflepp](http://pohflepp.com) →
++ [mylinh trieu](http://mylinhtrieu.com) →
++ [aaron meyers](http://universaloscillation.com) →
++ [tom carden](http://tom-carden.co.uk) →
++ [michal migurski](http://mike.teczno.com) →
++ [adam roth](http://ripevessel.com) →
++ [david rager](http://davidrager.org) →
++ [marc nimoy](http://digitanalog.net) →
++ [matthew gale](http://makaga.com) →
++ [frédéric eyl](http://fredericeyl.de) →
++ [the green eyl](http://thegreeneyl.com) →
\ No newline at end of file
}
# page
else if (is_file( LOCAL_ROOT . PAGE_DIR . DIRECTORY_SEPARATOR . $url_parts['filename'] )) {
- $t->assign('data', parse_file(LOCAL_ROOT . PAGE_DIR . DIRECTORY_SEPARATOR . $url_parts['filename']));
- $template = 'page.' . $response_format . '.tpl';
+ $page = parse_file(LOCAL_ROOT . PAGE_DIR . DIRECTORY_SEPARATOR . $url_parts['filename']);
+ $t->assign('data', $page);
+ $template = $page['template'] ? $page['template'] . '.' . $response_format . '.tpl' : 'page.' . $response_format . '.tpl';
}
# direct template
else if (is_file( LOCAL_ROOT . TEMPLATE_DIR . DIRECTORY_SEPARATOR . $url_parts['filename'] .'.'. $response_format . '.tpl')) {
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?= get_base_dir(); ?>/.rss" />
+
<link rel="stylesheet" href="<?= get_base_dir(); ?>/css/style.css" type="text/css">
+<link href="<?= get_base_dir(); ?>/js/prettify/prettify.css" type="text/css" rel="stylesheet" />
+
+<script type="text/javascript" src="<?= get_base_dir(); ?>/js/jquery-1.3.2.min.js"></script>
+<script type="text/javascript" src="<?= get_base_dir(); ?>/js/prettify/prettify.js"></script>
+
+
+
+<script>
+$(document).ready(function() {
+ prettyPrint();
+});
+</script>
<br />
- <h3>categories</h3>
-
<? $categories = get_content_folders(); ?>
<? foreach($categories as $cat) : ?>
<li><a href="<?=$cat['url']?>"><?=$cat['title']?></a></li>
<br />
- <h3>pages</h3>
-
- <? $pages = get_pages(); ?>
- <? foreach($pages as $page) : ?>
- <li><a href="<?=$page['url']?>"><?=$page['title']?></a></li>
- <? endforeach; ?>
+ <li><a href="/agg/">aggregate</a></li>
+ <li><a href="/links/">links</a></li>
+ <li><a href="/about/">about</a></li>
</ul>
<div id="content">
- <h1><?=$data['title']?></h1>
-
<?=$data['content'];?>
</div>