From 81173d5cbd7f1e6aa6944e567ba740edc629bd7f Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sat, 3 Dec 2022 10:28:06 -0500 Subject: [PATCH] speed tweaks --- Makefile | 22 ++++++++++++++++++---- config.toml | 2 +- sass/global.scss | 2 -- sass/styles/components/about-card.scss | 10 +++++++++- templates/base.html | 7 +++++-- templates/components/about-card.html | 17 +++++++++-------- 6 files changed, 42 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 8056326..6a3142b 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,28 @@ -static/dist: static/dist/line-awesome/fonts static/dist/github-markdown-css/github-markdown-light.css +static/dist: static/dist/line-awesome/svg static/dist/github-markdown-css/github-markdown-light.css -static/dist/line-awesome/fonts: node_modules/line-awesome/dist/line-awesome/fonts - mkdir -p $@ - cp -r $ + integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous" lazyload> {# Site-wide styles #} - + {# Less important styles #} + + + {# Component styles #} {% block component_styles %} {% endblock component_styles %} diff --git a/templates/components/about-card.html b/templates/components/about-card.html index c10f77f..0eac183 100644 --- a/templates/components/about-card.html +++ b/templates/components/about-card.html @@ -15,26 +15,27 @@