diff --git a/templates/pasta.html b/templates/pasta.html index a3eee04..67794be 100644 --- a/templates/pasta.html +++ b/templates/pasta.html @@ -1,19 +1,27 @@ {% include "header.html" %} -Raw Text Content -{% if pasta.file.is_some() %} -Attached file - '{{pasta.file.as_ref().unwrap().name}}' [{{pasta.file.as_ref().unwrap().size}}] -{%- endif %} -{% if pasta.editable %} -Edit -{%- endif %} -Remove -{% if args.highlightsyntax %} -
{{pasta.content_syntax_highlighted()}}
-{%- else %}
-{{pasta.content_not_highlighted()}}
-{%- endif %}
-
+{{pasta.content_syntax_highlighted()}}
+ {%- else %}
+ {{pasta.content_not_highlighted()}}
+ {%- endif %}
+