feat(Footer) Adding a basic footer (#32)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
Reference in New Issue
Block a user