.entries.log li {
height:auto;
}
+.entries.log .entry {
+ margin-bottom:200px;
+ }
+.entries.log .entry {
+
+}
.entries.projects ul.tags li {
}
.entries li {
margin-bottom:4em;
- text-align:center;
}
.entry h2.title {
font-size:12px;
margin-bottom:40px;
width:120px; }
.projects li {
- margin-bottom:2em; }
+ margin-bottom:2em;
+ text-align:center;
+}
<? eval('?>' . $entry->content); ?>
</div>
-<? if (isset($entry->is_single) && $entry->is_single) : ?>
+<? if ((isset($entry->is_single) && $entry->is_single) || $show_metadata) : ?>
<div class="metadata">
<? $entry = 0; foreach($entries as $entry): ?>
<div class="entry">
<?
- //if (isset($entry->content_short))
- //$entry->content = $entry->content_short . '<br /><a class="more" href="' . $entry->url . '">more →</a><br /><br />';
- $this->include_template('entry.html.tpl', array('entry' => $entry));
+ if (isset($entry->content_short))
+ $entry->content = $entry->content_short . '<br /><a class="more" href="' . $entry->url . '">more →</a><br /><br />';
+ else
+ $this->include_template('entry.html.tpl', array('entry' => $entry, 'show_metadata' => true));
?>
+
</div>
<? endforeach; ?>
- <? $dirs = get_dirs('', array('recursive'=>0)); ?>
- <? foreach($dirs as $e) : ?>
- <li><a href="<?=$e->url?>"><?=$e->title?></a></li>
- <? endforeach; ?>
+
<? if (!isset($entry->is_single)) {
'order_by' => 'alpha',
'order' => SORT_ASC
) ); ?>
+ <? $dirs = get_dirs('', array('recursive'=>0)); ?>
+ <? foreach($dirs as $e) : ?>
+ <li><a href="<?=$e->url?>"><?=$e->title?></a></li>
+ <? endforeach; ?>
<? foreach($en as $e) : /*print_r($e);*/ ?>