From 2ded561dedff56ddc35088f520ec218eef580f69 Mon Sep 17 00:00:00 2001 From: pancakes
Date: Tue, 16 Sep 2025 22:12:38 +1000
Subject: [PATCH] Undo fucked formatting on html pre block
---
PancakesWeb/Components/Pages/Home.razor | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/PancakesWeb/Components/Pages/Home.razor b/PancakesWeb/Components/Pages/Home.razor
index d3a15a4..afe13e0 100644
--- a/PancakesWeb/Components/Pages/Home.razor
+++ b/PancakesWeb/Components/Pages/Home.razor
@@ -97,9 +97,12 @@
The image URL may change in the future. Instead of hotlinking it you should download the image
manually.Add my button
+ @* @formatter:off *@
+ <img src="@Buttons.Pancakes.Href@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" alt"@Buttons.Pancakes.Title">
+</a>
+ @* @formatter:on *@
+
<a href="@Buttons.Pancakes.Href" target="_blank">
- <img src="@Buttons.Pancakes.Href@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" alt"@Buttons.Pancakes.Title">
- </a>