Clean up and add open source.

master
Manager Bot 3 years ago
parent fa918353db
commit bc28ff885b
  1. 1
      Web/lib/MJB/Web.pm
  2. 8
      Web/templates/layouts/standard.html.ep
  3. 5
      Web/templates/root/open_source.html.ep

@ -178,6 +178,7 @@ sub startup ($self) {
$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' );

@ -123,10 +123,16 @@
</li>
<li class="nav-item">
<a class="nav-link <%= $sb_active eq "pricing" ? "active" : "" %>" aria-current="page" href="<%= $c->url_for( 'show_pricing' ) %>">
<span data-feather="info"></span>
<span data-feather="dollar-sign"></span>
Pricing
</a>
</li>
<li class="nav-item">
<a class="nav-link <%= $sb_active eq "open_source" ? "active" : "" %>" aria-current="page" href="<%= $c->url_for( 'show_open_source' ) %>">
<span data-feather="github"></span>
Open Source
</a>
</li>
</ul>
% if ( $c->stash->{person} ) {

@ -0,0 +1,5 @@
% layout 'standard', title => 'Open Source', sb_active => 'open_source';
<h2 class="mt-5 display-6 mb-4">Open Source</h2>
<p class="fs-5 text-muted">MyJekyllBlog is an open-source project. You can find the latest version of the source code, instructions, and documentation at <a target="_blank" href="https://github.com/symkat/MyJekyllBlog">MyJekyllBlog's GitHub</a></p>
Loading…
Cancel
Save