diff --git a/www/fragments/blogview_aoc_list.php b/www/fragments/blogview_aoc_list.php
index ad487af..b5a0eb9 100644
--- a/www/fragments/blogview_aoc_list.php
+++ b/www/fragments/blogview_aoc_list.php
@@ -1,8 +1,17 @@
+
+
- text(Blog::getPostFragment($post));
- ?>
+ renderMarkdown($SITE->modules->Blog()->getPostFragment($post)); ?>
- $year, 'nav'=>true, 'linkheader'=>false, 'ajax'=>false];
- require (__DIR__ . '/../fragments/panel_aoc_calendar.php')
- ?>
-
+ fragments->PanelAdventOfCodeCalendar($year, true, false, false); ?>
\ No newline at end of file
diff --git a/www/fragments/blogview_aoc_single.php b/www/fragments/blogview_aoc_single.php
index 179d668..12a37be 100644
--- a/www/fragments/blogview_aoc_single.php
+++ b/www/fragments/blogview_aoc_single.php
@@ -1,23 +1,28 @@
+
+modules->AdventOfCode()->getDayFromStrIdent($year, $subview);
+if ($day === NULL) { $FRAME_OPTIONS->forceResult(404, 'AdventOfCode entry not found'); return; }
?>
@@ -43,7 +48,7 @@ $pd = new ParsedownCustom();
Part :
-
+
modules->AdventOfCode()->getSolutionCode($day, $i-1)); ?>
Result:
@@ -51,12 +56,12 @@ $pd = new ParsedownCustom();
-
-
+ addScript("/data/javascript/prism.js", true); ?>
+ addStylesheet("/data/rawcss/prism.css"); ?>