trwnh.com/unified.test.hugo/layouts/_default/search.html

39 lines
903 B
HTML
Raw Permalink Normal View History

2024-10-05 06:27:07 +00:00
{{ define "head" }}
{{ end }}
{{ define "body" }}
2024-10-05 19:56:14 +00:00
<body class="search-layout">
<header>
<div class="container">
<a href="/"><p>{{.Site.Title}}</p></a>
</div>
</header>
2024-10-05 06:27:07 +00:00
<main>
2024-10-05 19:56:14 +00:00
<header>
<div class="container">
<h1>{{.Title}}</h1>
{{ partial "search/search-form.html" .}}
</div>
</header>
<section class="search-results section">
2024-10-05 06:27:07 +00:00
<header>
<div class="container">
<h2 class="search-results__title"><span id="results-count"></span> <span id="results-count-text"></span> for "<span id="results-query"></span>"</h2>
</div>
</header>
<section>
<div class="container">
<ul id="search-results">
</ul>
</div>
</section>
2024-10-05 19:56:14 +00:00
</section>
2024-10-05 06:27:07 +00:00
</main>
<style>
a[href="#top"] {display: none;}
</style>
2024-10-05 19:56:14 +00:00
<div id="baseUrl" data-base-url="{{(trim .Path .File.ContentBaseName)}}"></div>
2024-10-05 06:27:07 +00:00
{{ partial "search/search-index.html" . }}
</body>
{{ end }}