Add navigation settings, fix page generation

This commit is contained in:
Christoph Hagen
2025-01-02 11:56:51 +01:00
parent 922ba4ebe7
commit 4d4275e072
43 changed files with 921 additions and 581 deletions

View File

@ -67,6 +67,8 @@ enum FileType: String {
case js
case ttf
// MARK: Text
case json
@ -143,7 +145,7 @@ enum FileType: String {
return .video
case .mp3, .aac:
return .audio
case .js, .css:
case .js, .css, .ttf:
return .asset
case .json, .conf, .yaml:
return .text
@ -195,7 +197,7 @@ enum FileType: String {
var isAsset: Bool {
switch self {
case .js, .css:
case .js, .css, .ttf:
return true
default:
return false