diff --git a/formatter.go b/formatter.go index 4ddaf92..d9246b8 100644 --- a/formatter.go +++ b/formatter.go @@ -37,7 +37,7 @@ func (fileContent *FileContent) FormatContent() string { } // append links to that paragraph if len(buffer) > 0 { - data = append(data, []byte("\n")...) + data = append(data, []byte("\n\n")...) data = append(data, buffer...) } diff --git a/templates/sgs/index.gmi b/templates/sgs/index.gmi index acdc551..829a276 100644 --- a/templates/sgs/index.gmi +++ b/templates/sgs/index.gmi @@ -22,6 +22,8 @@ Pagrindėnės temas paskėrstītas par kateguorėjės. Kuožnos fails gal turie {{ tag_url(lang, tag, count) }} {% endfor %} {% endif %} {% if lastFiles %}### Paskotėnē īrašā -{% for file in lastFiles %}{{ text_url(lang, file) }} {% endfor %} {% endif %} + +{% for file in lastFiles %}{{ text_url(lang, file) }} {% endfor %} +{% endif %} => /sgs/f vėsė straipsnē ({{ tree.Files|length }})