From 60bdf84f37c5c9c8b50e8dda245d3218e818e57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 1 Dec 2023 12:50:30 +0000 Subject: [PATCH] Don't center-align code within blocks --- assets/css/compiled/main.css | 4 ++++ assets/css/main.css | 4 ++++ exampleSite/content/_index.md | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index baebb65cd..e05cb96f2 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -4914,6 +4914,10 @@ body:has(#menu-controller:checked) { /* Custom */ +pre { + text-align: left; +} + .thumbnail { min-width: 300px; height: 180px; diff --git a/assets/css/main.css b/assets/css/main.css index bc69caeb1..fbb6ce8e1 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -339,6 +339,10 @@ body:has(#menu-controller:checked) { /* Custom */ +pre { + text-align: left; +} + .thumbnail { min-width: 300px; height: 180px; diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 312cf2414..eeb5c04f9 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -5,6 +5,10 @@ description: "This is a demo of the Blowfish theme for Hugo." This is a demo site built entirely using Blowfish. It also contains a complete set of [theme documentation]({{< ref "docs" >}}). Blowfish is flexible and is great for both static page-based content (like this demo) or a traditional blog with a feed of recent posts. +``` +var blowfish = require('blowfish'); +``` +
{{< icon "triangle-exclamation" >}}