--- /dev/null
- hidden = true
+title = name
+data = 2010-08-09
+--
+Hiding my identity sometimes feels like I'm purposely limiting my success, or not proud of what I'm doing. I hide behind the pseudonym to save myself from judgement, critique. Posting under a pseudonym "[quilime](http://quilime.com)" feels safe. I am trying to relax, be loose, and allow myself to be myself. I still vacillate -- I'm still in the process of realizing my own crippling judgement of myself is the hardest thing to shake. What a nasty, destructive, selfish force.
$recursive = isset($args['recursive']) ? $args['recursive'] : 1;
$order_by = empty($args['order_by']) ? null : $args['order_by'];
$order = empty($args['order']) ? SORT_DESC : $args['order'];
-
-
$path = LOCAL_ROOT . CONTENT_DIR . $path;
++
if ($recursive) {
$iterator = new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_PATHNAME);
$dir_iterator = new RecursiveIteratorIterator($iterator, RecursiveIteratorIterator::SELF_FIRST);
{
$config = "";
$content = "";
+ $content_short = "";
++
$passed_config = false;
$file_contents = file($fileInfo->getRealPath(), FILE_USE_INCLUDE_PATH);
foreach ( $file_contents as $line ) {
return $file;
}
--
?>
putenv("TZ=America/Los_Angeles");
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . dirname(realpath(__FILE__)));
- define ('LOCAL_ROOT', join(array_slice(split( "/", dirname(realpath(__FILE__))),0,-1),"/").'/');
-
- define ('SITE_TITLE', 'plog');
- define ('WEB_ROOT', 'http://dev.quilime.com/');
+
++ define ('LOCAL_ROOT', join(array_slice(split( "/", dirname(realpath(__FILE__))),0,-1),"/").'/');
+ define ('SITE_TITLE', 'gabriel dunne');
- define ('LOCAL_ROOT', '/home/quilime/gabrieldunne-site/');
+ define ('WEB_ROOT', 'http://dev.gabrieldunne.com/');
define ('CONTENT_DIR', 'content');
define ('TEMPLATE_DIR', 'templates');
<? $this->include_template('nav.html.tpl') ?>
<div id="content">
-
-
- this is the index template
++
+ <img src="<?=get_base_dir();?>/media/splash/wawa.jpg" />
</div>
<ul class="nav">
- <li><h2><a href="/"><?=SITE_TITLE;?></a></h2></li>
+ <? $dirs = get_dirs("", array('recursive' => 1)); ?>
+ <? foreach($dirs as $dir) : ?>
+ <li><a href="<?=$dir['url']?>"><?=$dir['name']?></a></li>
+ <? endforeach; ?>
- <br />
-
- <h3>content</h3>
-
- <? $dirs = get_dirs(); ?>
- <? foreach($dirs as $dir) : ?>
- <li><a href="<?=$dir['url']?>"><?=$dir['name']?></a></li>
- <? endforeach; ?>
-
- <br />
-
- <h3>pages</h3>
-
- <? $pages = get_pages(); ?>
- <? foreach($pages as $page) : ?>
- <li><a href="<?=$page['url']?>"><?=$page['title']?></a></li>
- <? endforeach; ?>
+ <li><a href="/contact/">contact</a></li>
++ <li><a href="/cv/">cv</a></li>
</ul>
<? $this->include_template('head-inc.html.tpl') ?>
++<<<<<<< HEAD
+ <title><?=SITE_TITLE?>: <?=$data['title'];?></title>
++=======
+ <title><?=SITE_TITLE?><?=TITLE_DELIMITER?> <?=$data['title'];?></title>
++>>>>>>> master
</head>
<body>