+ }
}
\ No newline at end of file
diff --git a/OliverBooth/Pages/Blog/Article.cshtml.cs b/OliverBooth/Pages/Blog/Article.cshtml.cs
index 5fa96e4..0d1166e 100644
--- a/OliverBooth/Pages/Blog/Article.cshtml.cs
+++ b/OliverBooth/Pages/Blog/Article.cshtml.cs
@@ -1,4 +1,4 @@
-using Markdig;
+using Markdig;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
@@ -20,6 +20,14 @@ public class Article : PageModel
public Author Author { get; private set; }
+ ///
+ /// Gets a value indicating whether the post is a legacy WordPress post.
+ ///
+ ///
+ /// if the post is a legacy WordPress post; otherwise, .
+ ///
+ public bool IsWordPressLegacyPost => Post?.WordPressId.HasValue ?? false;
+
public BlogPost Post { get; private set; } = new();
public string SanitizeContent(string content)
diff --git a/src/ts/app.ts b/src/ts/app.ts
index 7494145..5084b91 100644
--- a/src/ts/app.ts
+++ b/src/ts/app.ts
@@ -1,5 +1,3 @@
-declare const hljs: any;
(() => {
- hljs.highlightAll();
})();