// // Version Info.swift // IgniteSamples // https://www.github.com/twostraws/Ignite // See LICENSE for license information. // import Ignite /// Displays the version of Ignite the site was built with and the publishing date. struct VersionInfo: HTML { private let dateFormat = Date.FormatStyle().day(.defaultDigits).month(.wide).year(.extended()) var body: some HTML { Text("Updated \(Date.now.formatted(dateFormat))") .foregroundStyle(.gray) } }