From 8108d55c29b30a261380a4f124e848543e5c56ae Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 13 Feb 2023 17:24:09 +0100 Subject: [PATCH] Fix some line wraps in gemini copy --- src/gmi/tpl/posts/index.gmi | 3 +-- src/gmi/tpl/posts/post.gmi | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gmi/tpl/posts/index.gmi b/src/gmi/tpl/posts/index.gmi index cc206df..cf83052 100644 --- a/src/gmi/tpl/posts/index.gmi +++ b/src/gmi/tpl/posts/index.gmi @@ -3,8 +3,7 @@ {{ $page := .GetQueryIntValue "page" 0 -}} {{ if eq $page 0 -}} -Here you'll find an archive of all published posts. The content varies almost as -much as the quality! +Here you'll find an archive of all published posts. The content varies almost as much as the quality! {{ end -}} diff --git a/src/gmi/tpl/posts/post.gmi b/src/gmi/tpl/posts/post.gmi index 9daa4d3..99cfd86 100644 --- a/src/gmi/tpl/posts/post.gmi +++ b/src/gmi/tpl/posts/post.gmi @@ -1,8 +1,7 @@ {{ $post := .GetPostByID (.GetQueryValue "id" "") -}} {{ if eq $post.Format "md" -}} -This post has been translated from it's original markdown format, if it seems -busted it might appear better over HTTP: +This post has been translated from it's original markdown format, if it seems busted it might appear better over HTTP: => {{ PostHTTPURL $post.ID }}