1
0

added AOC 2020 data

This commit is contained in:
2020-12-02 08:32:04 +01:00
parent 647e78575c
commit 8207ece48c
16 changed files with 1467 additions and 14 deletions

View File

@@ -128,6 +128,8 @@ class Blog implements IWebsiteModule
} else if ($post['type'] === 'aoc') {
if (!file_exists($post['file_fragment'])) return ['result'=>'err', 'message' => 'Fragment not found ' . $post['fragment']];
if (!array_key_exists('aoc:year', $post['extras'])) return ['result'=>'err', 'message' => 'AdventOfCode metadata [aoc:year] missing: ' . $post['title']];
// aok