change outputs for specifications

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1693381142243034077/jamesk-patch-1
Toshaan Bharvani 3 years ago
parent fd09731bb9
commit a58caee4ce

@ -3,7 +3,7 @@ title: "Technical Specifications"
date: 2021-03-22 date: 2021-03-22
outputs: outputs:
- html - html
- rss
- json - json
- rss
draft: false draft: false
--- ---

@ -26,12 +26,11 @@
<form action="{{ .RelPermalink }}" onkeyup="executeInlineSearch()"> <form action="{{ .RelPermalink }}" onkeyup="executeInlineSearch()">
<input id="search-query" placeholder="Search..." name="s" autocomplete="off" search autofocus/> <input id="search-query" placeholder="Search..." name="s" autocomplete="off" search autofocus/>
</form> </form>
<div id="search-results"><h3 class="search-results-title">Matching pages</h3></div> <div id="search-results"><h3 class="search-results-title">Matching items</h3></div>
</div> </div>
<script id="search-result-template" type="text/x-js-template"> <script id="search-result-template" type="text/x-js-template">
<div class="search-results-summary" id="summary-${key}"> <div class="search-results-summary" id="summary-${key}">
<h4><a class="search-item" href="${link}">${title}</a></h4> <h4><a class="search-item" href="${link}">${title}</a></h4>
<p>${snippet} ... <a class="search-item-more" href="${link}">[more]</a></p>
${ isset tags }<p>${tags}</p>${ end } ${ isset tags }<p>${tags}</p>${ end }
${ isset categories }<p>Categories: ${categories}</p>${ end } ${ isset categories }<p>Categories: ${categories}</p>${ end }
</div> </div>

Loading…
Cancel
Save