color:#999;
line-height:1.3em;
margin:0;
- padding:0;
+ padding:1em;
+ background:#ddd;
+ max-width:600px;
}
pre {
padding:10px 20px;
; settings
-site_title = GABRIEL DUNNE
+site_title = GABRIEL L DUNNE
clean_urls = 1
-limit = 100
+limit = 1000
; http://php.net/manual/en/function.date.php
; ie, M d Y, h:i:s A T
date_format = M d Y
$order = empty($args['order']) ? SORT_DESC : $args['order'];
$tag = empty($args['tag']) ? null : $args['tag'];
$show_featured = isset($args['show_featured']) ? $args['show_featured'] : 0;
+ $archived = isset($args['archived']) ? $args['archived'] : 0;
$local_path = rtrim(LOCAL_ROOT . '/' . CONTENT_DIR . '/' . $path, "/");
$data_path = rtrim(LOCAL_ROOT . '/' . DATA_DIR . '/' . CONTENT_DIR . '/' . $path, '/');
}
}
}
+ if ($archived) {
+ foreach ($data->entries as $i => $entry) {
+ if (!$entry->archived) {
+ unset($data->entries[$i]);
+ }
+ }
+ }
if (isset($tag)) {
foreach ($data->entries as $i => $entry) {
if (
$file['timestamp'] = $file['config']['date'] ? date('U', strtotime( $file['config']['date'])) : $fileInfo->getCTime();
$file['tags'] = isset($file['config']['tags']) ? explode(" ", $file['config']['tags']) : null;
$file['featured'] = isset($file['config']['featured']) ? $file['config']['featured'] : null;
+ $file['archived'] = isset($file['config']['archived']) ? $file['config']['archived'] : null;
$file['related'] = isset($file['config']['related']) ? explode(" ", $file['config']['related']) : null;
$file['content'] = Markdown($content);
if (isset($this->config->config->show_featured) && !$this->tag) {
$entries_args['show_featured'] = true;
}
+ if (isset($this->config->config->archived) && !$this->tag) {
+ $entries_args['archived'] = true;
+ }
$this->entries = get_entries( $request['path'], $entries_args);
// pagination
template = page\r
-title = c/v\r
--\r
<div style="float:right;display:none;">\r
<img src="http://media.quilime.com/files/img/IMG_1881.jpg" />\r
Gabriel Labov Dunne \r
studio (at) gabrieldunne (dot) com \r
1242 Market St, FL 2 \r
-San Francisco, CA 94102\r
+San Francisco, CA 94102 \r
+[blog](http://quilime.com)\r
<br />\r
<br />\r
\r
<br />\r
\r
\r
-###### select exhibitions / projects\r
+###### exhibition\r
2013 [Stars](/stars) SomArts 'NightLight', San Francisco CA \r
2013 [FaceReplace](/facereplace) @ ArtHackDay "Lethal Software, San Francisco CA \r
2012 [Audio ShaderToy](/audioshadertoy) @ Creators Project SF, collab w/ Ryan Alexander, Reza Ali, San Francisco, CA \r
<br />\r
\r
\r
-###### talks / teaching / workshops\r
+###### talks / teaching\r
2012 Film/Code/Remix, BAVC, San Francisco \r
2012 Processing, ACCU, Symantic, Palo Alto \r
2012 Processing, ACCU Davis Linux Users Group, Davis, CA \r
<html>
<head>
-
<? $this->include_template('head-inc.html.tpl') ?>
-
<title><?=SITE_TITLE?><?=$this->page_title(TITLE_DELIMITER);?></title>
-
</head>
<body>
-
-
-<div id="content">
- <ul class="archive">
+<? $this->include_template('nav.html.tpl', array('index' => true)) ?>
+
+<?
+ $m = new Model(get_request(''), 1);
+ $entries = $m->entries;
+ $this->assign('pagination', $m->pagination);
+ $tag = "";
+?>
+
+
+<div id="content">
+ <ul class="entries projects <?=isset($tag)&&$tag!==""?'tagged':''; ?>">
<? foreach($entries as $entry): ?>
- <li>
- — <a class="more" href="<?= $entry['url']; ?>"><?= $entry['title']; ?></a>
- </li>
- <? endforeach; ?>
+ <li class="entry <?=$entry->cat->name?>">
+ <a href="<?=$entry->url;?>">
+ <img src="<?=$entry->thumb?>" class="thumb" />
+ <br />
+ <strong><?=$entry->title;?></strong>
+ </a>
+<!-- <br />
+ —
+ <br />
+ <ul class="tags">
+ <? for($i = 0; $i < sizeof($entry->tags); $i++) : $tag = $entry->tags[$i]; ?>
+ <li class="tag"><a href="<?=WEB_ROOT.'tag/'.$tag?>"><?=$tag?></a></li>
+ <? endfor; ?>
+ </ul> -->
+ </li>
+ <? endforeach; ?>
</ul>
-
</div>
+
+ <? $this->include_template('pagination.html.tpl') ?>
+
<? $this->include_template('footer.html.tpl') ?>
- <? $this->include_template('nav.html.tpl') ?>
</body>
</html>
<? eval('?>' . $entry->content); ?>
</div>
-<? if ((isset($entry->is_single) && $entry->is_single) || $show_metadata) : ?>
+<? if ((isset($entry->is_single) && $entry->is_single) || (isset($show_metadata) && $show_metadata)) : ?>
<div class="metadata">
<ul class="tags">
<? $tags = get_tags('/'); if (isset($_GET['s'])) arsort($tags); else ksort($tags); ?>
<? foreach($tags as $tag => $count) : ?>
-<li class="tag"><a href="<?=WEB_ROOT?>tag/<?=$tag?>"><?=$tag?></a> <?=$count?></li>
+<li class="tag">
+ <a href="<?=WEB_ROOT?>tag/<?=$tag?>"><?=$tag?></a>
+<? if (isset($_GET['s'])): ?>
+ <?=$count?>
+<? endif; ?>
+</li>
<? endforeach; ?>
</ul>
<? endif; ?>