Compare commits

...

6 Commits

4 changed files with 7 additions and 2 deletions

BIN
static/index.st Normal file

Binary file not shown.

View File

@ -74,6 +74,9 @@ input.stork-input {
.stork-title, .stork-excerpt {
margin: 0;
}
.stork-excerpt {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@ -82,6 +85,8 @@ input.stork-input {
.stork-title {
font-family: $font-heading;
font-size: 1.4rem;
text-align: left;
width: 100%;
}
.stork-highlight {

View File

@ -2,7 +2,7 @@
base_directory = "content/"
title_boost = "Large"
files = [
{{ range $index , $e := .Site.RegularPages }}{{ if $index }}, {{end}}{ path = {{ $e.File.Path | jsonify }}, title = {{ $e.Title | jsonify }}, url = {{ $e.Permalink | jsonify }} }
{{ range $index , $e := .Site.RegularPages }}{{ if $index }}, {{end}}{ filetype = "PlainText", contents = {{ $e.Plain | jsonify }}, title = {{ $e.Title | jsonify }}, url = {{ $e.Permalink | jsonify }} }
{{ end }}
]

View File

@ -18,5 +18,5 @@ Recent posts:
</ul>
<script src="https://files.stork-search.net/stork.js"></script>
<script>stork.register("blog", "http://localhost:8000/index.st");</script>
<script>stork.register("blog", "/index.st");</script>
{{ end }}