diff options
Diffstat (limited to 'templates/themes/catalog')
| -rw-r--r-- | templates/themes/catalog/catalog.html | 3 | ||||
| -rw-r--r-- | templates/themes/catalog/theme.php | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index a932278d..b5f2e832 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -68,9 +68,10 @@ <strong>R: {{ post.reply_count }} / I: {{ post.image_count }}{% if post.sticky %} (sticky){% endif %}{% if post.locked %} <span class="fa fa-lock"> </span>{% endif %}</strong> {% if post.subject %} <p class="intro"> + <a href="{{post.link}}"> <span class="subject"> {{ post.subject|e }} - </span> + </span></a> </p> {% else %} <br /> diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index 81148882..bc312fc0 100644 --- a/templates/themes/catalog/theme.php +++ b/templates/themes/catalog/theme.php @@ -27,7 +27,7 @@ } } } elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') - || $action == 'sticky' || ($action == 'lock' && in_array($board, $boards))) { + || $action == 'sticky' || ($action == 'lock' && in_array($board, $boards))) { $b = new Catalog($settings); $action = generation_strategy("sb_catalog", array($board)); @@ -37,7 +37,8 @@ } elseif ($action == 'rebuild') { $b->build($settings, $board); - } + } + $b->build($settings, $board); } // FIXME: Check that Ukko is actually enabled |
