made some fixes in the docs and to the relative links with posts and news pages

This commit is contained in:
tomjohnson1492
2016-07-10 15:29:15 -07:00
parent 7a4516772a
commit 646a115376
28 changed files with 6818 additions and 6737 deletions

View File

@ -81,7 +81,8 @@ search: exclude
{% unless forloop.last %},{% endunless %}
{% endfor %}
]{% endraw %}
]
{% endraw %}
```
The \_includes/topnav.html file then makes use of these values:
@ -93,12 +94,12 @@ The \_includes/topnav.html file then makes use of these values:
<input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">
<ul id="results-container"></ul>
</div>
<script src="{{ "js/jekyll-search.js" | prepend: site.baseurl }}" type="text/javascript"></script>
<script src="{{ "js/jekyll-search.js" }}" type="text/javascript"></script>
<script type="text/javascript">
SimpleJekyllSearch.init({
searchInput: document.getElementById('search-input'),
resultsContainer: document.getElementById('results-container'),
dataSource: '{{ "/search.json" | prepend: site.baseurl }}',
dataSource: '{{ "search.json" }}',
searchResultTemplate: '<li><a href="{url}" title="{{page.title | replace: "'", "\"}}">{title}</a></li>',
noResultsText: '{{site.data.strings.search_no_results_text}}',
limit: 10,