Sha256: 6f818a65319cc5012abf627f376174ea4bf87a972851dc2aa6f15a4a961bb176

Contents?: true

Size: 717 Bytes

Versions: 2

Compression:

Stored size: 717 Bytes

Contents

<!-- Script pointing to search-script.js -->
<nav>
    {% for item in site.data.navigation %}
        <a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a>
    {% endfor %}
    <!-- HTML elements for search -->
    <input type="text" id="search-input" placeholder="Search blog posts.." style="float: right;">
</nav>
<ul id="results-container">
</ul>

<script src="/assets/js/simple-jekyll-search.min.js" type="text/javascript"></script>

<!-- Configuration -->
<script>
SimpleJekyllSearch({
  searchInput: document.getElementById('search-input'),
  resultsContainer: document.getElementById('results-container'),
  json: '/search.json'
})
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adam-jekyll-0.1.1 _includes/navigation.html
adam-jekyll-0.1.0 _includes/navigation.html