Enable search promotions
This commit is contained in:
parent
b79e43249c
commit
a7975cb331
2 changed files with 6 additions and 2 deletions
|
@ -22,8 +22,10 @@
|
|||
<ul>
|
||||
{% for pick in search_picks %}
|
||||
<li>
|
||||
<h2><a href="{{ pick.page.url }}">{{ pick.page }}</a></h2>
|
||||
<h4><a href="{% pageurl pick.page %}">{{ pick.page.title }}</a></h4>
|
||||
{% if pick.description %}
|
||||
<p>{{ pick.description }}</p>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
@ -42,6 +42,8 @@ INSTALLED_APPS = [
|
|||
'wagtail.contrib.settings',
|
||||
'wagtail.contrib.forms',
|
||||
'wagtail.contrib.redirects',
|
||||
'wagtail.contrib.search_promotions',
|
||||
|
||||
'wagtail.embeds',
|
||||
'wagtail.sites',
|
||||
'wagtail.users',
|
||||
|
|
Loading…
Reference in a new issue