Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Now works with updated plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlkonig committed Jul 17, 2018
1 parent 823a576 commit 2c3cfc4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.3.6
## 07/17/2018

1. [](#bugfix)
* Now works with the latest version of the `count-views` plugin.

# v1.3.5
## 04/24/2018

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Knowledge Base
version: 1.3.5
version: 1.3.6
description: A theme for a knowledge base or FAQ
icon: database
author:
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/sidebar.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

{% if config.themes['knowledge-base'].params.sidebar.show.popular %}
<div class="topiclist">
{% set counts = config.plugins['count-views'].counts|sort|reverse %}
{% set counts = viewcounts|sort|reverse %}
{% set popular = [] %}
{% for route,views in counts %}
{% if route starts with homeroute %}
Expand Down

1 comment on commit 2c3cfc4

@Perlkonig
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. Is that possible? In this case, it's my own fault for not testing the theme after updating the plugin. If you know how to do this, please let me know. Otherwise I'll have to do some reading later this week.

Please sign in to comment.