diff --git a/www/fragments/blogview_aoc_list.php b/www/fragments/blogview_aoc_list.php
index 0ea79d9..81c9a0e 100644
--- a/www/fragments/blogview_aoc_list.php
+++ b/www/fragments/blogview_aoc_list.php
@@ -26,7 +26,7 @@ $year = $post['extras']['aoc:year'];
$year];
+ $PARAM_AOCCALENDAR = ['year' => $year, 'nav'=>true];
require (__DIR__ . '/../fragments/panel_aoc_calendar.php')
?>
diff --git a/www/fragments/blogview_aoc_single.php b/www/fragments/blogview_aoc_single.php
index 197da61..6d5553d 100644
--- a/www/fragments/blogview_aoc_single.php
+++ b/www/fragments/blogview_aoc_single.php
@@ -59,7 +59,7 @@ $pd = new ParsedownCustom();
$year];
+ $PARAM_AOCCALENDAR = ['year' => $year, 'nav'=>false];
require (__DIR__ . '/../fragments/panel_aoc_calendar.php')
?>
diff --git a/www/fragments/panel_aoc.php b/www/fragments/panel_aoc.php
new file mode 100644
index 0000000..c8eae59
--- /dev/null
+++ b/www/fragments/panel_aoc.php
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+ $year, 'nav'=>false];
+ require (__DIR__ . '/../fragments/panel_aoc_calendar.php')
+ ?>
+
+
+
+
\ No newline at end of file
diff --git a/www/fragments/panel_aoc_calendar.php b/www/fragments/panel_aoc_calendar.php
index 9eb9e4c..3cd6490 100644
--- a/www/fragments/panel_aoc_calendar.php
+++ b/www/fragments/panel_aoc_calendar.php
@@ -2,11 +2,12 @@
global $PARAM_AOCCALENDAR;
-$year = $PARAM_AOCCALENDAR['year'];
+$year = $PARAM_AOCCALENDAR['year'];
+$shownav = $PARAM_AOCCALENDAR['nav'];
$assocdays = AdventOfCode::listSingleYearAssociative($year);
-$prev_year = AdventOfCode::getPrevYear($year);
-$next_year = AdventOfCode::getNextYear($year);
+$prev_year = $shownav ? AdventOfCode::getPrevYear($year) : null;
+$next_year = $shownav ? AdventOfCode::getNextYear($year) : null;
?>
diff --git a/www/pages/main.php b/www/pages/main.php
index 686ecef..b9e10d0 100644
--- a/www/pages/main.php
+++ b/www/pages/main.php
@@ -24,6 +24,9 @@
+ 2018]; include (__DIR__ . '/../fragments/panel_aoc.php'); */ ?>
+ 2019]; include (__DIR__ . '/../fragments/panel_aoc.php'); ?>
+
diff --git a/www/statics/blog/aoc2019.txt b/www/statics/blog/aoc2019.txt
index 5827ea4..e69de29 100644
--- a/www/statics/blog/aoc2019.txt
+++ b/www/statics/blog/aoc2019.txt
@@ -1 +0,0 @@
-//TODO ENTER TEXT HERE
\ No newline at end of file