From bc28ff885b684e4e7277c618446995c9ee04f529 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Thu, 8 Dec 2022 16:31:51 +0000 Subject: [PATCH] Clean up and add open source. --- Web/lib/MJB/Web.pm | 9 +++++---- Web/templates/layouts/standard.html.ep | 8 +++++++- Web/templates/root/open_source.html.ep | 5 +++++ 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 Web/templates/root/open_source.html.ep diff --git a/Web/lib/MJB/Web.pm b/Web/lib/MJB/Web.pm index b45fa7d..39c0a92 100644 --- a/Web/lib/MJB/Web.pm +++ b/Web/lib/MJB/Web.pm @@ -174,10 +174,11 @@ sub startup ($self) { }); # General Informational Pages - $r->get ( '/' )->to( 'Root#index' )->name('show_homepage' ); - $r->get ( '/about' )->to( 'Root#about' )->name('show_about' ); - $r->get ( '/contact' )->to( 'Root#contact' )->name('show_contact' ); - $r->get ( '/pricing' )->to( 'Root#pricing' )->name('show_pricing' ); + $r->get ( '/' )->to( 'Root#index' )->name('show_homepage' ); + $r->get ( '/about' )->to( 'Root#about' )->name('show_about' ); + $r->get ( '/contact' )->to( 'Root#contact' )->name('show_contact' ); + $r->get ( '/pricing' )->to( 'Root#pricing' )->name('show_pricing' ); + $r->get ( '/open-source' )->to( 'Root#open_source' )->name('show_open_source' ); # User registration, login, and logout. $r->get ( '/register' )->to( 'Auth#register' )->name('show_register' ); diff --git a/Web/templates/layouts/standard.html.ep b/Web/templates/layouts/standard.html.ep index 5e7fe35..cb64aec 100644 --- a/Web/templates/layouts/standard.html.ep +++ b/Web/templates/layouts/standard.html.ep @@ -123,10 +123,16 @@ + % if ( $c->stash->{person} ) { diff --git a/Web/templates/root/open_source.html.ep b/Web/templates/root/open_source.html.ep new file mode 100644 index 0000000..da77ec4 --- /dev/null +++ b/Web/templates/root/open_source.html.ep @@ -0,0 +1,5 @@ +% layout 'standard', title => 'Open Source', sb_active => 'open_source'; + +

Open Source

+ +

MyJekyllBlog is an open-source project. You can find the latest version of the source code, instructions, and documentation at MyJekyllBlog's GitHub