diff --git a/static/styles/post.css b/static/styles/post.css index d968dd2..7760cfd 100644 --- a/static/styles/post.css +++ b/static/styles/post.css @@ -15,11 +15,3 @@ .file { width: 100%; } - -.line-break { - white-space: pre-line; -} - -.word-wrap { - word-break: break-word; -} \ No newline at end of file diff --git a/static/styles/utils.css b/static/styles/utils.css new file mode 100644 index 0000000..abdbd80 --- /dev/null +++ b/static/styles/utils.css @@ -0,0 +1,3 @@ +.line-break { + white-space: pre-line; +} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 3d46276..0887520 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,34 +1,29 @@ +
{{ template "static" }} - - + + {{ template "meta-tags-static" }}{{ slice $Post.Text 0 300 }} ...
+{{ slice $Post.Text 0 300 }} ...
{{ else }} -{{$Post.Text}}
+{{$Post.Text}}
{{ end }} Open @@ -55,9 +50,9 @@