if ($passed_more)
$file['content_short'] = Markdown($content_short);
- $file['comments_enabled'] = isset($f['config']['comments']) && $f['config']['comments'];
- $file['comments'] = new Comments($fileInfo);
+ if (isset($f['config']['comments']) && $f['config']['comments']) {
+ $file['comments'] = new Comments($fileInfo);
+ }
$cat = clean_slashes(str_replace(rtrim(LOCAL_ROOT . '/' . CONTENT_DIR, "/"), "", $fileInfo->getPath()));
template = page\r
title = bio\r
--\r
-<div style="float:right">\r
+<div style="float:right;display:none;">\r
<img src="http://media.quilime.com/files/img/IMG_1881.jpg" />\r
</div>\r
\r
<html>
<head>
<? $this->include_template('head-inc.html.tpl') ?>
- <title><?=SITE_TITLE?></title>
+ <title><?=SITE_TITLE?><?=$this->page_title(TITLE_DELIMITER);?></title>
</head>
<body>
$tag = "";
?>
-<div id="content">
<div id="content">
<ul class="entries projects <?=isset($tag)&&$tag!==""?'tagged':''; ?>">
</li>
<? endforeach; ?>
</ul>
-
</div>
-</div>
<? $this->include_template('pagination.html.tpl') ?>
<? endif; ?>
<?
-if (isset($entry->is_single) && $entry->is_single && $entry->comments_enabled)
+if (isset($entry->is_single) && $entry->is_single && isset($entry->comments))
$this->include_template('comments.html.tpl', array('entry' => $entry));
?>
<html>
-<head>
-
+<head>
<? $this->include_template('head-inc.html.tpl') ?>
-
<title><?=SITE_TITLE?><?=$this->page_title(TITLE_DELIMITER);?></title>
-
</head>
<body>
<br />
- <ul>
- <? $entry = 0; foreach($entries as $entry): ?>
+ <ul style="float:left;">
+ <? foreach($entries as $entry): ?>
<li>
- <a href="<?=$entry->url?>"><?=$entry->title?></a>
+ <a href="<?=$entry->url;?>">
+ <strong><?=$entry->title;?></strong>
+ </a>
</li>
- <? endforeach; ?>
+ <? endforeach; ?>
</ul>
- <br /><br />
-
-<!-- <h2>tags</h2>
- <ul class="tags">
- <? $tags = get_tags($entry->cat->url); ksort($tags); ?>
- <? foreach($tags as $tag => $count) : ?>
- <li class="tag"><a href="<?=WEB_ROOT?><?=$entry->cat->url?>tag/<?=$tag?>"><?=$tag?></a> × <?=$count?></li>
+ <ul style="margin-left:200px;" class="entries projects <?=isset($tag)&&$tag!==""?'tagged':''; ?>">
+ <? foreach($entries as $entry): ?>
+ <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> -->
+ </ul>
</div>
<? $this->include_template('footer.html.tpl') ?>
</body>
</html>
+
+
+
+
+