mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
fix search and star function
This commit is contained in:
parent
7496479380
commit
7413e383a8
4 changed files with 14 additions and 8 deletions
|
@ -122,7 +122,7 @@
|
|||
</svg>
|
||||
</summary>
|
||||
<form action="{{ route "searchEntries" }}" aria-labelledby="search-input-label">
|
||||
<input type="search" name="q" aria-label="{{ t "search.label" }}" {{ if $.searchQuery }}value="{{ .searchQuery }}"{{ end }} required>
|
||||
<input type="search" name="q" id="search-input" aria-label="{{ t "search.label" }}" {{ if $.searchQuery }}value="{{ .searchQuery }}"{{ end }} required>
|
||||
<button type="submit">{{ t "search.submit" }}</button>
|
||||
</form>
|
||||
</details>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{{ define "title"}}{{ .entry.Title }}{{ end }}
|
||||
|
||||
{{ define "page_header"}}
|
||||
<section class="page-header" aria-labelledby="page-header-title">
|
||||
<div class="entry-header">
|
||||
<section class="entry page-header" data-id="{{ .entry.ID }}" aria-labelledby="page-header-title">
|
||||
<header class="entry-header">
|
||||
<h1 id="page-header-title" dir="auto">
|
||||
<a href="{{ .entry.URL | safeURL }}" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ .entry.Title }}</a>
|
||||
</h1>
|
||||
|
@ -143,7 +143,7 @@
|
|||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue