1
0

more dynamic header

This commit is contained in:
2020-01-20 21:13:26 +01:00
parent cf6c496b34
commit 6f90fb912b
13 changed files with 107 additions and 12 deletions

View File

@@ -17,6 +17,8 @@ $year = $post['extras']['aoc:year'];
$day = $SITE->modules->AdventOfCode()->getDayFromStrIdent($year, $subview);
if ($day === NULL) { $FRAME_OPTIONS->forceResult(404, 'AdventOfCode entry not found'); return; }
$FRAME_OPTIONS->alternative_url = $day['url-alternative'];
?>
<div class="boxedcontent base_markdown">