diff --git a/srv/src/http/static/mediocre.css b/srv/src/http/static/mediocre.css index d6e2905..95eb822 100644 --- a/srv/src/http/static/mediocre.css +++ b/srv/src/http/static/mediocre.css @@ -58,6 +58,18 @@ hr { opacity: 25%; } +table td { + border: 0; +} + +table tr { + border-bottom: 1px dashed var(--nc-tx-1); +} + +table tr:nth-child(1) { + border-top: 1px dashed var(--nc-tx-1); +} + table td form, table td input { margin: 0; diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html index 9376f2e..5db0600 100644 --- a/srv/src/http/tpl/edit-post.html +++ b/srv/src/http/tpl/edit-post.html @@ -1,16 +1,5 @@ {{ define "body" }} -{{ if gt (len .Payload.Tags) 0 }} -

- Existing tags: - - {{ range $i, $tag := .Payload.Tags }} - {{ if ne $i 0 }} {{ end }}{{ $tag }} - {{ end }} - -

-{{ end }} -
@@ -34,9 +23,7 @@ - + diff --git a/srv/src/http/tpl/index.html b/srv/src/http/tpl/index.html index 22f0e1c..1a5eaf8 100644 --- a/srv/src/http/tpl/index.html +++ b/srv/src/http/tpl/index.html @@ -10,17 +10,15 @@

{{ end }} -
-

Tags (space separated)

-
Tags (space separated) + + {{ if gt (len .Payload.Tags) 0 }} + + Existing tags: + {{ range $i, $tag := .Payload.Tags }} + {{ if ne $i 0 }} {{ end }}{{ $tag }} + {{ end }} + + {{ end }}
{{ range .Payload.Posts }} -
  • - {{ DateTimeFormat .PublishedAt }} -  •  {{ .Title }} -  •  {{ .Description }} -
  • + + + + + {{ end }} - - +
    {{ DateTimeFormat .PublishedAt }}{{ .Title }}{{ .Description }}
    {{ if ge .Payload.NextPage 0 }}

    diff --git a/srv/src/http/tpl/post.html b/srv/src/http/tpl/post.html index d4b24f4..c7ffc30 100644 --- a/srv/src/http/tpl/post.html +++ b/srv/src/http/tpl/post.html @@ -22,7 +22,7 @@ {{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}


    - If you liked this post, consider checking out other posts in the series:
    + This post is part of a series.
    {{ if .Payload.SeriesPrevious }} Previously: {{ .Payload.SeriesPrevious.Title }}