Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove "Modules" and "Formalities" for now
  • Loading branch information
Mouq committed Jun 17, 2014
1 parent 2f55811 commit d636000
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions htmlify.p6
Expand Up @@ -33,8 +33,9 @@ my @menu =
('language','' ) => (),
('type', 'Types' ) => <basic composite domain-specific exception>,
('routine', 'Routines' ) => <sub method term operator>,
('module', 'Modules' ) => (),
('formalities','' ) => ();
# ('module', 'Modules' ) => (),
# ('formalities','' ) => ();
;

my $head = slurp 'template/head.html';
my $footer = footer-html;
Expand All @@ -45,7 +46,7 @@ sub header-html ($current-selection = 'nothing selected') is cached {
q[<div class="menu-items dark-green">],
@menu>>.key.map({qq[
<a class="menu-item {.[0] eq $current-selection ?? "selected darker-green" !! ""}"
href="/{.[0]}">
href="/{.[0]}.html">
{ .[1] || .[0].wordcase }
</a>
]}), #"
Expand All @@ -57,7 +58,7 @@ sub header-html ($current-selection = 'nothing selected') is cached {
$sub-menu-items = [~]
q[<div class="menu-items darker-green">],
.map({qq[
<a class="menu-item" href="/$current-selection\-$_">
<a class="menu-item" href="/$current-selection\-$_.html">
{.wordcase}
</a>
]}),
Expand Down

0 comments on commit d636000

Please sign in to comment.