diff --git a/.dockerignore b/.dockerignore index cd967fc..af50df1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,4 @@ -**/.dockerignore +**/.dockerignore **/.env **/.git **/.gitignore diff --git a/OliverBooth/Areas/Api/Controllers/BlogApiController.cs b/OliverBooth/Areas/Api/Controllers/BlogApiController.cs index 14aed01..b5732bd 100644 --- a/OliverBooth/Areas/Api/Controllers/BlogApiController.cs +++ b/OliverBooth/Areas/Api/Controllers/BlogApiController.cs @@ -1,4 +1,4 @@ -using Humanizer; +using Humanizer; using Microsoft.AspNetCore.Mvc; using OliverBooth.Data.Blog; using OliverBooth.Services; diff --git a/OliverBooth/Areas/Blog/Pages/Article.cshtml b/OliverBooth/Areas/Blog/Pages/Article.cshtml index 6c2a044..bd4cfab 100644 --- a/OliverBooth/Areas/Blog/Pages/Article.cshtml +++ b/OliverBooth/Areas/Blog/Pages/Article.cshtml @@ -1,4 +1,4 @@ -@page "/blog/{year:int}/{month:int}/{day:int}/{slug}" +@page "/blog/{year:int}/{month:int}/{day:int}/{slug}" @using Humanizer @using OliverBooth.Data.Blog @using OliverBooth.Services diff --git a/OliverBooth/Areas/Blog/Pages/Article.cshtml.cs b/OliverBooth/Areas/Blog/Pages/Article.cshtml.cs index 563959b..b5c016b 100644 --- a/OliverBooth/Areas/Blog/Pages/Article.cshtml.cs +++ b/OliverBooth/Areas/Blog/Pages/Article.cshtml.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using OliverBooth.Data.Blog; using OliverBooth.Services; diff --git a/OliverBooth/Areas/Blog/Pages/Index.cshtml.cs b/OliverBooth/Areas/Blog/Pages/Index.cshtml.cs index 6d4d1e7..7b67335 100644 --- a/OliverBooth/Areas/Blog/Pages/Index.cshtml.cs +++ b/OliverBooth/Areas/Blog/Pages/Index.cshtml.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using OliverBooth.Data.Blog; using OliverBooth.Services; diff --git a/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml b/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml index cf3dc29..64cdeb2 100644 --- a/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml +++ b/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml @@ -1,2 +1,2 @@ -@page "/blog/{year:int}/{month:int}/{day:int}/{slug}/raw" +@page "/blog/{year:int}/{month:int}/{day:int}/{slug}/raw" @model OliverBooth.Areas.Blog.Pages.RawArticle \ No newline at end of file diff --git a/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml.cs b/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml.cs index 8ae85b8..b1530ac 100644 --- a/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml.cs +++ b/OliverBooth/Areas/Blog/Pages/RawArticle.cshtml.cs @@ -1,4 +1,4 @@ -using Cysharp.Text; +using Cysharp.Text; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using OliverBooth.Data.Blog; diff --git a/OliverBooth/Areas/Blog/Pages/_ViewStart.cshtml b/OliverBooth/Areas/Blog/Pages/_ViewStart.cshtml index 1af6e49..d641c67 100644 --- a/OliverBooth/Areas/Blog/Pages/_ViewStart.cshtml +++ b/OliverBooth/Areas/Blog/Pages/_ViewStart.cshtml @@ -1,3 +1,3 @@ -@{ +@{ Layout = "_Layout"; } \ No newline at end of file diff --git a/OliverBooth/Data/Blog/Author.cs b/OliverBooth/Data/Blog/Author.cs index e7d5865..318c1ce 100644 --- a/OliverBooth/Data/Blog/Author.cs +++ b/OliverBooth/Data/Blog/Author.cs @@ -1,4 +1,4 @@ -using System.ComponentModel.DataAnnotations.Schema; +using System.ComponentModel.DataAnnotations.Schema; using System.Security.Cryptography; using System.Text; diff --git a/OliverBooth/Data/Blog/BlogPost.cs b/OliverBooth/Data/Blog/BlogPost.cs index 826934c..fb1cfb9 100644 --- a/OliverBooth/Data/Blog/BlogPost.cs +++ b/OliverBooth/Data/Blog/BlogPost.cs @@ -1,4 +1,4 @@ -using SmartFormat; +using SmartFormat; namespace OliverBooth.Data.Blog; diff --git a/OliverBooth/Data/Blog/Configuration/AuthorConfiguration.cs b/OliverBooth/Data/Blog/Configuration/AuthorConfiguration.cs index e8321af..70bb47c 100644 --- a/OliverBooth/Data/Blog/Configuration/AuthorConfiguration.cs +++ b/OliverBooth/Data/Blog/Configuration/AuthorConfiguration.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace OliverBooth.Data.Blog.Configuration; diff --git a/OliverBooth/Data/Blog/Configuration/BlogPostConfiguration.cs b/OliverBooth/Data/Blog/Configuration/BlogPostConfiguration.cs index 0ba9614..e11c48c 100644 --- a/OliverBooth/Data/Blog/Configuration/BlogPostConfiguration.cs +++ b/OliverBooth/Data/Blog/Configuration/BlogPostConfiguration.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace OliverBooth.Data.Blog.Configuration; diff --git a/OliverBooth/Data/BlogContext.cs b/OliverBooth/Data/BlogContext.cs index 504a5fa..c282b55 100644 --- a/OliverBooth/Data/BlogContext.cs +++ b/OliverBooth/Data/BlogContext.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using OliverBooth.Data.Blog; using OliverBooth.Data.Blog.Configuration; diff --git a/OliverBooth/Data/Rss/AtomLink.cs b/OliverBooth/Data/Rss/AtomLink.cs index 79a2e5d..eeda606 100644 --- a/OliverBooth/Data/Rss/AtomLink.cs +++ b/OliverBooth/Data/Rss/AtomLink.cs @@ -1,4 +1,4 @@ -using System.Xml.Serialization; +using System.Xml.Serialization; namespace OliverBooth.Data.Rss; diff --git a/OliverBooth/Data/Rss/BlogChannel.cs b/OliverBooth/Data/Rss/BlogChannel.cs index d2c3bf7..c871890 100644 --- a/OliverBooth/Data/Rss/BlogChannel.cs +++ b/OliverBooth/Data/Rss/BlogChannel.cs @@ -1,4 +1,4 @@ -using System.Xml.Serialization; +using System.Xml.Serialization; namespace OliverBooth.Data.Rss; diff --git a/OliverBooth/Data/Rss/BlogItem.cs b/OliverBooth/Data/Rss/BlogItem.cs index be2fc70..e4ae38d 100644 --- a/OliverBooth/Data/Rss/BlogItem.cs +++ b/OliverBooth/Data/Rss/BlogItem.cs @@ -1,4 +1,4 @@ -using System.Xml.Serialization; +using System.Xml.Serialization; namespace OliverBooth.Data.Rss; diff --git a/OliverBooth/Data/Rss/BlogRoot.cs b/OliverBooth/Data/Rss/BlogRoot.cs index fe23822..ea4a1ec 100644 --- a/OliverBooth/Data/Rss/BlogRoot.cs +++ b/OliverBooth/Data/Rss/BlogRoot.cs @@ -1,4 +1,4 @@ -using System.Xml.Serialization; +using System.Xml.Serialization; namespace OliverBooth.Data.Rss; diff --git a/OliverBooth/Data/Web/ArticleTemplate.cs b/OliverBooth/Data/Web/ArticleTemplate.cs index c5bb202..bffd5ab 100644 --- a/OliverBooth/Data/Web/ArticleTemplate.cs +++ b/OliverBooth/Data/Web/ArticleTemplate.cs @@ -1,4 +1,4 @@ -namespace OliverBooth.Data.Web; +namespace OliverBooth.Data.Web; /// /// Represents a MediaWiki-style template. diff --git a/OliverBooth/Data/Web/Configuration/ArticleTemplateConfiguration.cs b/OliverBooth/Data/Web/Configuration/ArticleTemplateConfiguration.cs index 4de24a9..d4a4f6e 100644 --- a/OliverBooth/Data/Web/Configuration/ArticleTemplateConfiguration.cs +++ b/OliverBooth/Data/Web/Configuration/ArticleTemplateConfiguration.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace OliverBooth.Data.Web.Configuration; diff --git a/OliverBooth/Data/Web/Configuration/SiteConfigurationConfiguration.cs b/OliverBooth/Data/Web/Configuration/SiteConfigurationConfiguration.cs index f327901..9fbcb2a 100644 --- a/OliverBooth/Data/Web/Configuration/SiteConfigurationConfiguration.cs +++ b/OliverBooth/Data/Web/Configuration/SiteConfigurationConfiguration.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace OliverBooth.Data.Web.Configuration; diff --git a/OliverBooth/Data/Web/SiteConfiguration.cs b/OliverBooth/Data/Web/SiteConfiguration.cs index 0bbee47..b118f75 100644 --- a/OliverBooth/Data/Web/SiteConfiguration.cs +++ b/OliverBooth/Data/Web/SiteConfiguration.cs @@ -1,4 +1,4 @@ -namespace OliverBooth.Data.Web; +namespace OliverBooth.Data.Web; /// /// Represents a site configuration item. diff --git a/OliverBooth/DateFormatter.cs b/OliverBooth/DateFormatter.cs index 58aa93f..292143f 100644 --- a/OliverBooth/DateFormatter.cs +++ b/OliverBooth/DateFormatter.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using SmartFormat.Core.Extensions; namespace OliverBooth; diff --git a/OliverBooth/Logging/ColorfulConsoleTarget.cs b/OliverBooth/Logging/ColorfulConsoleTarget.cs index b3185f3..4013d9b 100644 --- a/OliverBooth/Logging/ColorfulConsoleTarget.cs +++ b/OliverBooth/Logging/ColorfulConsoleTarget.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using NLog; using NLog.Targets; using LogLevel = NLog.LogLevel; diff --git a/OliverBooth/Logging/LogFileTarget.cs b/OliverBooth/Logging/LogFileTarget.cs index bc8373f..905caf2 100644 --- a/OliverBooth/Logging/LogFileTarget.cs +++ b/OliverBooth/Logging/LogFileTarget.cs @@ -1,4 +1,4 @@ -using System.Text; +using System.Text; using NLog; using NLog.Targets; using OliverBooth.Services; diff --git a/OliverBooth/Markdown/TemplateExtension.cs b/OliverBooth/Markdown/TemplateExtension.cs index d576656..bcdceeb 100644 --- a/OliverBooth/Markdown/TemplateExtension.cs +++ b/OliverBooth/Markdown/TemplateExtension.cs @@ -1,4 +1,4 @@ -using Markdig; +using Markdig; using Markdig.Renderers; using OliverBooth.Services; diff --git a/OliverBooth/Markdown/TemplateInline.cs b/OliverBooth/Markdown/TemplateInline.cs index fabc822..31f5872 100644 --- a/OliverBooth/Markdown/TemplateInline.cs +++ b/OliverBooth/Markdown/TemplateInline.cs @@ -1,4 +1,4 @@ -using Markdig.Syntax.Inlines; +using Markdig.Syntax.Inlines; namespace OliverBooth.Markdown; diff --git a/OliverBooth/Markdown/TemplateInlineParser.cs b/OliverBooth/Markdown/TemplateInlineParser.cs index 40ca4f1..192ef5f 100644 --- a/OliverBooth/Markdown/TemplateInlineParser.cs +++ b/OliverBooth/Markdown/TemplateInlineParser.cs @@ -1,4 +1,4 @@ -using Cysharp.Text; +using Cysharp.Text; using Markdig.Helpers; using Markdig.Parsers; diff --git a/OliverBooth/Markdown/TemplateRenderer.cs b/OliverBooth/Markdown/TemplateRenderer.cs index c55048b..4da9323 100644 --- a/OliverBooth/Markdown/TemplateRenderer.cs +++ b/OliverBooth/Markdown/TemplateRenderer.cs @@ -1,4 +1,4 @@ -using Markdig.Renderers; +using Markdig.Renderers; using Markdig.Renderers.Html; using OliverBooth.Services; diff --git a/OliverBooth/Markdown/Timestamp/TimestampExtension.cs b/OliverBooth/Markdown/Timestamp/TimestampExtension.cs index f772b84..45ae2df 100644 --- a/OliverBooth/Markdown/Timestamp/TimestampExtension.cs +++ b/OliverBooth/Markdown/Timestamp/TimestampExtension.cs @@ -1,4 +1,4 @@ -using Markdig; +using Markdig; using Markdig.Renderers; namespace OliverBooth.Markdown.Timestamp; diff --git a/OliverBooth/Markdown/Timestamp/TimestampFormat.cs b/OliverBooth/Markdown/Timestamp/TimestampFormat.cs index f66d5bd..29eca6b 100644 --- a/OliverBooth/Markdown/Timestamp/TimestampFormat.cs +++ b/OliverBooth/Markdown/Timestamp/TimestampFormat.cs @@ -1,4 +1,4 @@ -namespace OliverBooth.Markdown.Timestamp; +namespace OliverBooth.Markdown.Timestamp; /// /// An enumeration of timestamp formats. diff --git a/OliverBooth/Markdown/Timestamp/TimestampInline.cs b/OliverBooth/Markdown/Timestamp/TimestampInline.cs index 42cf57f..615ee03 100644 --- a/OliverBooth/Markdown/Timestamp/TimestampInline.cs +++ b/OliverBooth/Markdown/Timestamp/TimestampInline.cs @@ -1,4 +1,4 @@ -using Markdig.Syntax.Inlines; +using Markdig.Syntax.Inlines; namespace OliverBooth.Markdown.Timestamp; diff --git a/OliverBooth/Markdown/Timestamp/TimestampInlineParser.cs b/OliverBooth/Markdown/Timestamp/TimestampInlineParser.cs index 48469ce..414fc48 100644 --- a/OliverBooth/Markdown/Timestamp/TimestampInlineParser.cs +++ b/OliverBooth/Markdown/Timestamp/TimestampInlineParser.cs @@ -1,4 +1,4 @@ -using Markdig.Helpers; +using Markdig.Helpers; using Markdig.Parsers; namespace OliverBooth.Markdown.Timestamp; diff --git a/OliverBooth/Markdown/Timestamp/TimestampRenderer.cs b/OliverBooth/Markdown/Timestamp/TimestampRenderer.cs index 1738324..b2c7f3d 100644 --- a/OliverBooth/Markdown/Timestamp/TimestampRenderer.cs +++ b/OliverBooth/Markdown/Timestamp/TimestampRenderer.cs @@ -1,4 +1,4 @@ -using System.ComponentModel; +using System.ComponentModel; using Humanizer; using Markdig.Renderers; using Markdig.Renderers.Html; diff --git a/OliverBooth/Middleware/RssEndpointExtensions.cs b/OliverBooth/Middleware/RssEndpointExtensions.cs index 34544e4..8b0d501 100644 --- a/OliverBooth/Middleware/RssEndpointExtensions.cs +++ b/OliverBooth/Middleware/RssEndpointExtensions.cs @@ -1,4 +1,4 @@ -namespace OliverBooth.Middleware; +namespace OliverBooth.Middleware; internal static class RssEndpointExtensions { diff --git a/OliverBooth/Middleware/RssMiddleware.cs b/OliverBooth/Middleware/RssMiddleware.cs index 36b4313..d21792f 100644 --- a/OliverBooth/Middleware/RssMiddleware.cs +++ b/OliverBooth/Middleware/RssMiddleware.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; using System.Xml.Serialization; using OliverBooth.Data.Blog; using OliverBooth.Data.Rss; diff --git a/OliverBooth/Pages/Contact/OpenSource.cshtml b/OliverBooth/Pages/Contact/OpenSource.cshtml index 259131a..fcb8e44 100644 --- a/OliverBooth/Pages/Contact/OpenSource.cshtml +++ b/OliverBooth/Pages/Contact/OpenSource.cshtml @@ -1,4 +1,4 @@ -@page "/contact/open-source" +@page "/contact/open-source" @{ ViewData["Title"] = "Contact"; } diff --git a/OliverBooth/Pages/Contact/Other.cshtml b/OliverBooth/Pages/Contact/Other.cshtml index 92eae41..1baff0a 100644 --- a/OliverBooth/Pages/Contact/Other.cshtml +++ b/OliverBooth/Pages/Contact/Other.cshtml @@ -1,4 +1,4 @@ -@page +@page @{ ViewData["Title"] = "Contact"; } diff --git a/OliverBooth/Pages/Contact/Privacy.cshtml b/OliverBooth/Pages/Contact/Privacy.cshtml index ef6ca43..a6ee939 100644 --- a/OliverBooth/Pages/Contact/Privacy.cshtml +++ b/OliverBooth/Pages/Contact/Privacy.cshtml @@ -1,4 +1,4 @@ -@page "/contact/privacy/{which?}" +@page "/contact/privacy/{which?}" @model OliverBooth.Pages.Contact.Privacy @{ ViewData["Title"] = "Contact"; diff --git a/OliverBooth/Pages/Contact/Privacy.cshtml.cs b/OliverBooth/Pages/Contact/Privacy.cshtml.cs index af9b022..9327497 100644 --- a/OliverBooth/Pages/Contact/Privacy.cshtml.cs +++ b/OliverBooth/Pages/Contact/Privacy.cshtml.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +using Microsoft.AspNetCore.Mvc.RazorPages; namespace OliverBooth.Pages.Contact; diff --git a/OliverBooth/Pages/Contact/TechnicalHelp.cshtml b/OliverBooth/Pages/Contact/TechnicalHelp.cshtml index b0c625d..f4f7f9a 100644 --- a/OliverBooth/Pages/Contact/TechnicalHelp.cshtml +++ b/OliverBooth/Pages/Contact/TechnicalHelp.cshtml @@ -1,4 +1,4 @@ -@page "/contact/technical-help" +@page "/contact/technical-help" @{ ViewData["Title"] = "Contact"; } diff --git a/OliverBooth/Pages/Donate.cshtml b/OliverBooth/Pages/Donate.cshtml index fc2b7c3..5f1b172 100644 --- a/OliverBooth/Pages/Donate.cshtml +++ b/OliverBooth/Pages/Donate.cshtml @@ -1,4 +1,4 @@ -@page +@page @{ ViewData["Title"] = "Donate"; } diff --git a/OliverBooth/Pages/Error.cshtml b/OliverBooth/Pages/Error.cshtml index aa6753a..13e5af3 100644 --- a/OliverBooth/Pages/Error.cshtml +++ b/OliverBooth/Pages/Error.cshtml @@ -1,4 +1,4 @@ -@page "/error/{code:int?}" +@page "/error/{code:int?}" @model OliverBooth.Pages.ErrorModel @{ ViewData["Title"] = "Error"; diff --git a/OliverBooth/Pages/Privacy/GooglePlay.cshtml b/OliverBooth/Pages/Privacy/GooglePlay.cshtml index 2fcbd09..fff3fe7 100644 --- a/OliverBooth/Pages/Privacy/GooglePlay.cshtml +++ b/OliverBooth/Pages/Privacy/GooglePlay.cshtml @@ -1,4 +1,4 @@ -@page "/privacy/google-play" +@page "/privacy/google-play" @model OliverBooth.Pages.Privacy.GooglePlay @{ ViewData["Title"] = "Google Play Privacy Policy"; diff --git a/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs b/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs index 12995c2..e996002 100644 --- a/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs +++ b/OliverBooth/Pages/Privacy/GooglePlay.cshtml.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +using Microsoft.AspNetCore.Mvc.RazorPages; namespace OliverBooth.Pages.Privacy; diff --git a/OliverBooth/Pages/Privacy/Index.cshtml b/OliverBooth/Pages/Privacy/Index.cshtml index e6eae42..99abcdf 100644 --- a/OliverBooth/Pages/Privacy/Index.cshtml +++ b/OliverBooth/Pages/Privacy/Index.cshtml @@ -1,4 +1,4 @@ -@page +@page @model OliverBooth.Pages.Privacy.Index @{ ViewData["Title"] = "Privacy Policy"; diff --git a/OliverBooth/Pages/Privacy/Index.cshtml.cs b/OliverBooth/Pages/Privacy/Index.cshtml.cs index 66bbcff..fc3e1a5 100644 --- a/OliverBooth/Pages/Privacy/Index.cshtml.cs +++ b/OliverBooth/Pages/Privacy/Index.cshtml.cs @@ -1,4 +1,4 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +using Microsoft.AspNetCore.Mvc.RazorPages; namespace OliverBooth.Pages.Privacy; diff --git a/OliverBooth/Pages/Shared/_LoadingSpinner.cshtml b/OliverBooth/Pages/Shared/_LoadingSpinner.cshtml index 9b421f3..0ed6bf1 100644 --- a/OliverBooth/Pages/Shared/_LoadingSpinner.cshtml +++ b/OliverBooth/Pages/Shared/_LoadingSpinner.cshtml @@ -1,4 +1,4 @@ -
+

Loading...

diff --git a/OliverBooth/Pages/Shared/_ValidationScriptsPartial.cshtml b/OliverBooth/Pages/Shared/_ValidationScriptsPartial.cshtml index 660f00c..0720c36 100644 --- a/OliverBooth/Pages/Shared/_ValidationScriptsPartial.cshtml +++ b/OliverBooth/Pages/Shared/_ValidationScriptsPartial.cshtml @@ -1,2 +1,2 @@ - + \ No newline at end of file diff --git a/OliverBooth/Pages/_ViewImports.cshtml b/OliverBooth/Pages/_ViewImports.cshtml index 878b230..47d742e 100644 --- a/OliverBooth/Pages/_ViewImports.cshtml +++ b/OliverBooth/Pages/_ViewImports.cshtml @@ -1,2 +1,2 @@ -@namespace OliverBooth.Pages +@namespace OliverBooth.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers \ No newline at end of file diff --git a/OliverBooth/Pages/_ViewStart.cshtml b/OliverBooth/Pages/_ViewStart.cshtml index 1af6e49..d641c67 100644 --- a/OliverBooth/Pages/_ViewStart.cshtml +++ b/OliverBooth/Pages/_ViewStart.cshtml @@ -1,3 +1,3 @@ -@{ +@{ Layout = "_Layout"; } \ No newline at end of file diff --git a/OliverBooth/Services/BlogService.cs b/OliverBooth/Services/BlogService.cs index f1c9e9e..969ff7c 100644 --- a/OliverBooth/Services/BlogService.cs +++ b/OliverBooth/Services/BlogService.cs @@ -1,4 +1,4 @@ -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; using Humanizer; using Markdig; using Microsoft.EntityFrameworkCore; diff --git a/OliverBooth/Services/ConfigurationService.cs b/OliverBooth/Services/ConfigurationService.cs index 249bcc8..5a7f777 100644 --- a/OliverBooth/Services/ConfigurationService.cs +++ b/OliverBooth/Services/ConfigurationService.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using OliverBooth.Data; namespace OliverBooth.Services; diff --git a/OliverBooth/Services/LoggingService.cs b/OliverBooth/Services/LoggingService.cs index fb57ec4..327f8b2 100644 --- a/OliverBooth/Services/LoggingService.cs +++ b/OliverBooth/Services/LoggingService.cs @@ -1,4 +1,4 @@ -using System.IO.Compression; +using System.IO.Compression; using NLog; using NLog.Config; using NLog.Layouts; diff --git a/OliverBooth/Services/TemplateService.cs b/OliverBooth/Services/TemplateService.cs index ce1732b..da8ff1d 100644 --- a/OliverBooth/Services/TemplateService.cs +++ b/OliverBooth/Services/TemplateService.cs @@ -1,4 +1,4 @@ -using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; using OliverBooth.Data; using OliverBooth.Data.Web; using OliverBooth.Markdown; diff --git a/src/scss/prism.vs.scss b/src/scss/prism.vs.scss index 40f8e5e..0cbc760 100644 --- a/src/scss/prism.vs.scss +++ b/src/scss/prism.vs.scss @@ -1,4 +1,4 @@ -$background: #1E1E1E; +$background: #1E1E1E; $foreground: #DCDCDA; // C# diff --git a/src/ts/API.ts b/src/ts/API.ts index 45bae6e..34fe267 100644 --- a/src/ts/API.ts +++ b/src/ts/API.ts @@ -1,4 +1,4 @@ -import BlogPost from "./BlogPost"; +import BlogPost from "./BlogPost"; import Author from "./Author"; class API { diff --git a/src/ts/Author.ts b/src/ts/Author.ts index e97c2fc..16a98fe 100644 --- a/src/ts/Author.ts +++ b/src/ts/Author.ts @@ -1,4 +1,4 @@ -class Author { +class Author { private readonly _name: string; private readonly _avatarHash: string; diff --git a/src/ts/BlogPost.ts b/src/ts/BlogPost.ts index 0e0a984..7951444 100644 --- a/src/ts/BlogPost.ts +++ b/src/ts/BlogPost.ts @@ -1,4 +1,4 @@ -class BlogPost { +class BlogPost { private readonly _id: number; private readonly _commentsEnabled: boolean; private readonly _title: string; diff --git a/src/ts/Input.ts b/src/ts/Input.ts index f584c21..a1f03b3 100644 --- a/src/ts/Input.ts +++ b/src/ts/Input.ts @@ -1,4 +1,4 @@ -class Input { +class Input { public static readonly KONAMI_CODE = [ "ArrowUp", "ArrowUp", diff --git a/src/ts/TimeUtility.ts b/src/ts/TimeUtility.ts index ebe832d..4393580 100644 --- a/src/ts/TimeUtility.ts +++ b/src/ts/TimeUtility.ts @@ -1,4 +1,4 @@ -class TimeUtility { +class TimeUtility { public static formatRelativeTimestamp(timestamp: Date) { const now = new Date(); // @ts-ignore diff --git a/tsconfig.json b/tsconfig.json index e71f507..fca6a56 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,4 @@ -{ +{ "compilerOptions": { "lib": ["ES2022", "DOM"], "target": "ES2022",