Add link to feeds

This commit is contained in:
pancakes 2025-09-16 17:13:05 +10:00
parent 437641cb6b
commit bb98bec8fc
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw

View file

@ -48,6 +48,9 @@
<BlogPosts/> <BlogPosts/>
<p>I have an <a href="https://pancakes.gay/feed.atom" target="_blank">Atom feed</a> and <a
href="https://pancakes.gay/feed.json" target="_blank">JSON Feed</a></p>
<h2 id="projects">Projects</h2> <h2 id="projects">Projects</h2>
<p>Projects that I have created</p> <p>Projects that I have created</p>
@ -96,8 +99,10 @@
<summary>Add my button</summary> <summary>Add my button</summary>
<pre><code>&lt;a href="@Buttons.Pancakes.Href" target="_blank"&gt; <pre><code>&lt;a href="@Buttons.Pancakes.Href" target="_blank"&gt;
&lt;img src="@Buttons.Pancakes.Href@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" alt"@Buttons.Pancakes.Title"&gt; &lt;img src="@Buttons.Pancakes.Href@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" alt"@Buttons.Pancakes.Title"&gt;
&lt;/a&gt;</code></pre> &lt;/a&gt;</code></pre>
<p>The image URL may change in the future. Instead of hotlinking it you should <a href="@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" download="pancakes.png">download the image</a> manually.</p> <p>The image URL may change in the future. Instead of hotlinking it you should <a
href="@Assets[$"imgs/buttons/{Buttons.Pancakes.Image}"]" download="pancakes.png">download the image</a>
manually.</p>
</details> </details>
<ul class="buttons card"> <ul class="buttons card">
@ -133,7 +138,8 @@
</ul> </ul>
<h2 id="notify">Notify</h2> <h2 id="notify">Notify</h2>
<p>Send me a push notification. This will be a silent notification on my phone with no popup, vibration, or sound.</p> <p>Send me a push notification. This will be a silent notification on my phone with no popup, vibration, or
sound.</p>
<EditForm Model="Ntfy" OnValidSubmit="SubmitNtfy" FormName="Ntfy"> <EditForm Model="Ntfy" OnValidSubmit="SubmitNtfy" FormName="Ntfy">
<DataAnnotationsValidator/> <DataAnnotationsValidator/>
@ -165,7 +171,7 @@
public class NtfyModel public class NtfyModel
{ {
[StringLength(128)] [StringLength(128)] public string Message { get; set; } = "";
public string Message { get; set; } = "";
} }
} }