2 Commits

Author SHA1 Message Date
0467e4e12f Disable progress bar in Stork. 2020-12-28 22:44:34 -08:00
8164624cee Remove useless paragraph element and fix CSS. 2020-12-28 22:41:15 -08:00
2 changed files with 11 additions and 8 deletions

View File

@@ -8,6 +8,11 @@ $search-element-padding: 0.5rem 1rem 0.5rem 1rem;
box-shadow: 0px 0px 5px rgba($primary-color, 0.7);
}
.stork-wrapper {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.stork-input-wrapper {
display: flex;
flex-direction: row;

View File

@@ -1,14 +1,12 @@
{{ define "main" }}
{{ .Content }}
<p>
<div class="stork-wrapper">
<div class="stork-wrapper">
<div class="stork-input-wrapper">
<input class="stork-input" data-stork="blog" placeholder="Search (requires JavaScript)"/>
</div>
<div class="stork-output" data-stork="blog-output"></div>
</div>
</p>
</div>
Recent posts:
<ul class="post-list">
@@ -18,5 +16,5 @@ Recent posts:
</ul>
<script src="https://files.stork-search.net/stork.js"></script>
<script>stork.register("blog", "/index.st");</script>
<script>stork.register("blog", "/index.st", {"showProgress" : false});</script>
{{ end }}