Skip to content

Commit

Permalink
Fix search of web
Browse files Browse the repository at this point in the history
  • Loading branch information
noqqe committed Jun 30, 2023
1 parent b4f0067 commit 4469364
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions templates/index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Serra</title>
<title>{{.title}}{{ if .query.Set }} - Set: {{.query.Set}}{{end}}</title>
<link rel="stylesheet" href="https://jenil.github.io/bulmaswatch/cosmo/bulmaswatch.min.css">
<!-- <link rel="stylesheet" href="https://jenil.github.io/bulmaswatch/lumen/bulmaswatch.min.css"> -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> -->
Expand Down Expand Up @@ -67,7 +67,7 @@
<section class="hero is-black">
<div class="hero-body">
<p class="title">
{{ .title }}
<a href="/">{{ .title }}</a>
</p>
<p class="subtitle">
<i>Magic: The Gathering</i> Collection
Expand Down Expand Up @@ -253,11 +253,8 @@
var selectedSetVal = getParam("set");
document.getElementById("set").value = selectedSetVal;

var selectedSetVal = getParam("page");
document.getElementById("page").value = selectedSetVal;

var selectedSetVal = getParam("limit");
document.getElementById("limit").value = selectedSetVal;
var selectedLimitVal = getParam("limit");
document.getElementById("limit").value = selectedLimitVal;

var selectedSortVal = getParam("sort");
document.getElementById("sort").value = selectedSortVal;
Expand Down

0 comments on commit 4469364

Please sign in to comment.