Compare commits
6 Commits
8215c59122
...
e0451d026c
Author | SHA1 | Date | |
---|---|---|---|
e0451d026c | |||
1f1345477f | |||
44529e872f | |||
a10996954e | |||
4d1dfb5f66 | |||
f97b624688 |
BIN
static/index.st
Normal file
BIN
static/index.st
Normal file
Binary file not shown.
|
@ -74,6 +74,9 @@ input.stork-input {
|
||||||
|
|
||||||
.stork-title, .stork-excerpt {
|
.stork-title, .stork-excerpt {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stork-excerpt {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -82,6 +85,8 @@ input.stork-input {
|
||||||
.stork-title {
|
.stork-title {
|
||||||
font-family: $font-heading;
|
font-family: $font-heading;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stork-highlight {
|
.stork-highlight {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
base_directory = "content/"
|
base_directory = "content/"
|
||||||
title_boost = "Large"
|
title_boost = "Large"
|
||||||
files = [
|
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 }}
|
{{ end }}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -18,5 +18,5 @@ Recent posts:
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<script src="https://files.stork-search.net/stork.js"></script>
|
<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 }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user