feat: add open graph information to pages

This commit is contained in:
Stevan Freeborn
2024-04-14 16:38:50 -05:00
parent 0bc94e2a59
commit 29e83ece20
14 changed files with 120 additions and 13 deletions
+14 -1
View File
@@ -1,5 +1,12 @@
@page "/privacy"
<PageTitle>@PageTitle</PageTitle>
<HeadContent>
<meta name="description" content="@Description" />
<OpenGraph PageTitle="@PageTitle" Description="@Description" />
</HeadContent>
<div class="container">
<h2>Privacy Policy for journal</h2>
@@ -112,4 +119,10 @@
<p>By using our website, you hereby consent to our Privacy Policy and agree to its Terms and Conditions.</p>
</section>
</div>
</div>
@code
{
private const string PageTitle = "Privacy Policy - journal";
private const string Description = "Privacy Policy for journal";
}