mirror of https://github.com/kiwix/libkiwix.git
Small cleanups.
- Remove unused `archive` - Replace tab by spaces
This commit is contained in:
parent
d9124ed40b
commit
609bc24cbe
|
@ -97,7 +97,6 @@ std::string SearchRenderer::getHtml()
|
|||
result.set("snippet", it.getSnippet());
|
||||
std::string zim_id(it.getZimId());
|
||||
result.set("resultContentId", mp_nameMapper->getNameForId(zim_id));
|
||||
std::shared_ptr<zim::Archive> archive;
|
||||
if (!mp_library) {
|
||||
result.set("bookTitle", kainjow::mustache::data(false));
|
||||
} else {
|
||||
|
|
|
@ -125,9 +125,9 @@
|
|||
{{#snippet}}
|
||||
<cite>{{>snippet}}...</cite>
|
||||
{{/snippet}}
|
||||
{{#bookTitle}}
|
||||
<div class="book-title">from {{bookTitle}}</div>
|
||||
{{/bookTitle}}
|
||||
{{#bookTitle}}
|
||||
<div class="book-title">from {{bookTitle}}</div>
|
||||
{{/bookTitle}}
|
||||
{{#wordCount}}
|
||||
<div class="informations">{{wordCount}} words</div>
|
||||
{{/wordCount}}
|
||||
|
|
Loading…
Reference in New Issue