From 9ff5314bc080af220a22b5bb681b84a34e4033ae Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sun, 10 Oct 2021 19:36:47 -0500 Subject: [PATCH] Use with in head.html and add code block section to CSS --- assets/css/bobastyle.css | 11 +++++++---- layouts/partials/head.html | 5 +++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 82ace38..ec8b273 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -118,6 +118,13 @@ hr { border-color: #444; } +* { + box-sizing: border-box; +} + + + +/* Code blocks */ pre { width: 100%; overflow: auto; @@ -130,10 +137,6 @@ pre { overflow-wrap: break-word; } -* { - box-sizing: border-box; -} - /* Icons */ diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ce00da4..70a44e9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,8 +3,9 @@ {{ hugo.Generator }} - {{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }} - + {{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }} + + {{ end }} {{ with .Site.Params.faviconICO }}