2016-07-31 19:28:23 +02:00
|
|
|
---
|
|
|
|
title: Search
|
|
|
|
---
|
2016-10-04 16:25:03 +02:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-half">
|
|
|
|
<div class="content">
|
|
|
|
<h1>Blog results</h1>
|
|
|
|
</div>
|
|
|
|
<div id="blog_results"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="column">
|
|
|
|
<div class="content">
|
|
|
|
<h1>Event results</h1>
|
|
|
|
</div>
|
|
|
|
<div id="event_results"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-04 01:40:53 +02:00
|
|
|
|
|
|
|
<% content_for :scripts do %>
|
2016-07-23 21:17:24 +02:00
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
2016-10-04 22:04:34 +02:00
|
|
|
$('#tipue_search_input_field').tipuesearch({
|
2016-10-04 16:25:03 +02:00
|
|
|
'mode': 'json',
|
|
|
|
'showTitleCount': false,
|
|
|
|
'tipue_search_content': '#blog_results',
|
|
|
|
'contentLocation': '../blog_search.json'
|
|
|
|
});
|
2016-10-04 22:04:34 +02:00
|
|
|
$('#tipue_search_input_field').tipuesearch({
|
2016-10-04 16:25:03 +02:00
|
|
|
'mode': 'json',
|
|
|
|
'showTitleCount': false,
|
|
|
|
'tipue_search_content': '#event_results',
|
|
|
|
'contentLocation': '../event_search.json'
|
2016-07-23 21:17:24 +02:00
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2017-05-04 01:40:53 +02:00
|
|
|
<% end %>
|