mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-12-03 15:37:12 +00:00
Fix simple search path issues
This commit is contained in:
parent
7b26bbff4d
commit
f30520be41
6 changed files with 4 additions and 3 deletions
|
@ -31,7 +31,7 @@ $(function() {
|
|||
// Simple Jekyll Search options
|
||||
$(document).ready(function() {
|
||||
$('.search-field').simpleJekyllSearch({
|
||||
jsonFile : 'search.json',
|
||||
jsonFile : '{siteurl}/search.json',
|
||||
searchResults : '.search-results',
|
||||
template : '<li><article><a href="{url}">{title} <span class="entry-date"><time datetime="{date}">{shortdate}</time></span></a></article></li>',
|
||||
noResults: '<p>Nothing found.</p>'
|
||||
|
|
2
assets/js/scripts.min.js
vendored
2
assets/js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
images/michael-rose-photo.jpg
Normal file
BIN
images/michael-rose-photo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
images/michael-rose-sketch.jpg
Normal file
BIN
images/michael-rose-sketch.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
@ -3,9 +3,10 @@
|
|||
[
|
||||
{% for post in site.posts %}
|
||||
{
|
||||
"siteurl" : "{{ site.url }}",
|
||||
"title" : "{{ post.title | escape }}",
|
||||
"category" : "{{ post.category }}",
|
||||
"url" : "{{ post.url }}",
|
||||
"url" : "{{ site.url }}{{ post.url }}",
|
||||
"date" : "{{ post.date }}",
|
||||
"shortdate" : "{{ post.date | date: '%B %d, %Y' }}"
|
||||
} {% if forloop.last %}{% else %},{% endif %}
|
||||
|
|
Loading…
Reference in a new issue