Commit 06cd71f3 authored by colmoneill's avatar colmoneill

the gitlab-ci is not deploying properly it seems

parent 9400d4c6
Pipeline #16380239 passed with stages
in 3 minutes and 22 seconds
......@@ -47,5 +47,15 @@ PLUGINS = ['tipue_search',]
TIPUE_SEARCH = True
YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%m}/index.html'
MARKDOWN = {
'extension_configs': {
'markdown.extensions.attr_list': {},
},
'output_format': 'html5',
}
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
......@@ -5,7 +5,7 @@
<h2>All articles</h2>
{% endblock %}
<ol id="post-list">
<ul id="post-list">
{% for article in articles_page.object_list %}
<li><article class="hentry">
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
......@@ -19,10 +19,9 @@
{% endfor %}
</address>
</footer><!-- /.post-info -->
<div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
</article></li>
</article></li>
{% endfor %}
</ol><!-- /#posts-list -->
</ul><!-- /#posts-list -->
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
......
......@@ -2,9 +2,8 @@
{% block content %}
HELOOO
<article>
search results:
search results for: <span id="replace-search-item"></span>
<div class="span8 offset2">
<div id="tipue_search_content"><div id="tipue_search_loading"></div></div>
</div>
......@@ -14,10 +13,12 @@ HELOOO
$(document).ready(function() {
$('#tipue_search_input').tipuesearch({
'mode' : 'json',
'show': 10,
'show': 200,
'newWindow': false,
'contentLocation': 'tipuesearch_content.json'
});
var search_query = $('#tipue_search_input').val()
$('#replace-search-item').html(search_query);
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment