From 7ee9d3637ce228ba7f3047bf46ea134a081190b3 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 15 Aug 2023 17:04:43 +0100 Subject: [PATCH] feat: add support for template variants --- .../Configuration/TemplateConfiguration.cs | 5 ++- OliverBooth/Data/Web/ITemplate.cs | 8 +++- OliverBooth/Data/Web/Template.cs | 9 +++-- .../Markdown/Template/TemplateInline.cs | 6 +++ .../Markdown/Template/TemplateInlineParser.cs | 14 +++++++ OliverBooth/Services/ITemplateService.cs | 25 ++++++++++++ OliverBooth/Services/TemplateService.cs | 40 ++++++++++++++----- 7 files changed, 92 insertions(+), 15 deletions(-) diff --git a/OliverBooth/Data/Web/Configuration/TemplateConfiguration.cs b/OliverBooth/Data/Web/Configuration/TemplateConfiguration.cs index 9cf5d8b..512b5ab 100644 --- a/OliverBooth/Data/Web/Configuration/TemplateConfiguration.cs +++ b/OliverBooth/Data/Web/Configuration/TemplateConfiguration.cs @@ -11,9 +11,10 @@ internal sealed class TemplateConfiguration : IEntityTypeConfiguration