Adjust app layout
This commit is contained in:
@@ -22,7 +22,6 @@ type searchResult struct {
|
||||
|
||||
type searchPageData struct {
|
||||
Title string
|
||||
ParentURL string
|
||||
EditMode bool
|
||||
Query string
|
||||
Results []searchResult
|
||||
@@ -66,7 +65,6 @@ func (h *handler) handleSearch(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
data := searchPageData{
|
||||
Title: title,
|
||||
ParentURL: "/",
|
||||
Query: query,
|
||||
Results: results,
|
||||
IndexBuiltAt: builtAt,
|
||||
|
||||
Reference in New Issue
Block a user