From 3fdf43bf562f472fd049fadbd3a9a9363ef7a62d Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Tue, 30 Oct 2012 16:08:59 -0700 Subject: [PATCH] Commenting out back button --- css/style.css | 2 +- index.php | 5 ++--- templates/entry.html.tpl | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/css/style.css b/css/style.css index cfcc62b..4adf21c 100644 --- a/css/style.css +++ b/css/style.css @@ -200,7 +200,7 @@ a.home:hover { .entry .metadata, .entry .metadata a { font-weight:normal; - /*color:#aaa; */ + color:#aaa; } .entry .metadata .title a { font-weight:bold; diff --git a/index.php b/index.php index 4e50101..3246ee6 100644 --- a/index.php +++ b/index.php @@ -13,16 +13,15 @@ $v->assign('request', $request); if ($m->is_multiple()) { $v->assign('pagination', $m->pagination); $v->assign('entries', $m->entries); + $v->assign('entry', $m->entry); } if ($m->is_single() || $m->is_page()) { $v->assign('media', $m->entry->media); -} - -if ($m->is_single() || $m->is_page() || $m->is_multiple()) { $v->assign('entry', $m->entry); } + if (!empty($m->tag)) $v->assign('tag', $m->tag); diff --git a/templates/entry.html.tpl b/templates/entry.html.tpl index 260a198..361b52c 100644 --- a/templates/entry.html.tpl +++ b/templates/entry.html.tpl @@ -38,9 +38,9 @@ -
+