From 3d6440e7c873cc5ee7be851209767e0548b32456 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Mon, 29 Aug 2022 13:34:00 +0200 Subject: [PATCH] Add metadata example --- .../Content/GenericMetadata.swift | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/WebsiteGenerator/Content/GenericMetadata.swift b/WebsiteGenerator/Content/GenericMetadata.swift index eb8b601..d43f922 100644 --- a/WebsiteGenerator/Content/GenericMetadata.swift +++ b/WebsiteGenerator/Content/GenericMetadata.swift @@ -172,3 +172,23 @@ extension GenericMetadata { } } } + +extension GenericMetadata { + + static var full: GenericMetadata { + .init( + author: "", + topBarTitle: "", + date: "", + endDate: "", + state: "", + sortIndex: 1, + externalFiles: [], + requiredFiles: [], + thumbnailStyle: "", + useManualSorting: false, + overviewItemCount: 6, + useCustomHeader: false, + languages: [.full]) + } +}