From cfd2fa15b6a52a479e0e404fde2de3849bd9a501 Mon Sep 17 00:00:00 2001 From: Gunwant Jain Date: Wed, 6 Jan 2021 04:10:59 +0530 Subject: [PATCH] pretty.html: corrections for optimum lighthouse results added meta tag for SEO use font-display: swap (almost) for faster contentful paints Signed-off-by: Gunwant Jain --- docker-compose.yml | 1 - templates/pretty.html.tera | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9091991..7fd8766 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,6 @@ services: - 127.0.0.1:6162:6162 environment: - ROCKET_PORT=6162 # Port the app uses - - THEME=gruvbox-dark # By default, it uses the Ayu Colorscheme - HOST=localhost:6162 # or bin.example.com volumes: - ./upload:/app/upload # upload folder will have your pastes diff --git a/templates/pretty.html.tera b/templates/pretty.html.tera index f43e327..88133af 100644 --- a/templates/pretty.html.tera +++ b/templates/pretty.html.tera @@ -4,11 +4,14 @@ + {{ title }} - +