| <div class='page-heading'>Search for TWRP for your device here:</div> |
| <script src="/js/jekyll-search.js"></script> |
| <input type="text" id="search-input" placeholder="Search.."> |
| <ul class="post-list" id="post-list"> |
| {% for post in site.devices %} |
| <a class="post-meta" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }} ({{ post.codename }})</a> |
| <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'></script> |
| <script type="text/javascript"> |
| SimpleJekyllSearch.init({ |
| searchInput: document.getElementById('search-input'), |
| resultsContainer: document.getElementById('results'), |
| dataSource: '/search.json', |
| searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}</a></li>', |
| noResultsText: 'No results found', |