feat(Footer) Adding a basic footer (#32)

This commit is contained in:
2022-05-02 12:13:28 -04:00
parent 8fa45196e9
commit bd8d6e6373
5 changed files with 66 additions and 4 deletions
+3 -1
View File
@@ -27,6 +27,8 @@ using (var db = new DatabaseContext(options.Options))
File.WriteAllTextAsync($"{webPath}/NoteContentModels.json", JsonSerializer.Serialize(db.NoteContentModels));
File.WriteAllTextAsync($"{webPath}/NoteConnectionModels.json", JsonSerializer.Serialize(db.NoteConnectionModels));
File.WriteAllTextAsync($"{webPath}/NoteSectionModels.json", JsonSerializer.Serialize(db.NoteSectionModels));
// Set date variable
db.Variables.Find("LastUpdated")!.Value = $"{DateTime.Now:MMMM dd, yyyy}";
File.WriteAllTextAsync($"{webPath}/Variables.json", JsonSerializer.Serialize(db.Variables));
}