Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Oct 11, 2020
1 parent e854d41 commit 3786191
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion content/search.md
Expand Up @@ -84,7 +84,7 @@ type: search
{{else}}
<input name="f_{{../filter_name}}" value="{{value.filter_name}}" type="checkbox" onclick="resubmit()" style="vertical-align: middle;">
{{/if}}
<small style="vertical-align: middle;">{{value.display_name}} ({{value.count}})</small>
<small style="vertical-align: top;">{{value.display_name}} ({{value.count}})</small>
</label>
</div>
{{/if}}
Expand Down
6 changes: 6 additions & 0 deletions funcsrc/site-search/response.go
Expand Up @@ -143,6 +143,12 @@ func displayName(in string) string {
switch in {
case "type":
return "Type"
case "blog":
return "Blog"
case "page":
return "Page"
case "bluge":
return "Bluge Docs"
}
return in
}

0 comments on commit 3786191

Please sign in to comment.