Skip to content

Commit

Permalink
More nbsp changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Mar 11, 2018
1 parent 46d93f0 commit e9059b9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions app.pl
Expand Up @@ -71,6 +71,9 @@
);
};

helper p6 => sub {
'<span class="nb">Perl 6</span>'
};
helper nav_active => sub {
my ($self, $nav) = @_;
$self->url_for('current')->to_abs eq $self->url_for($nav)->to_abs
Expand Down
8 changes: 4 additions & 4 deletions templates/about.html.ep
@@ -1,10 +1,10 @@
% layout 'default';
% title 'About the Rakudo Perl 6 Compiler';

<h2>Rakudo Perl 6</h2>
<h2>Rakudo <%== p6 %></h2>

<p>Rakudo Perl 6, or simply <strong>Rakudo</strong>, is a compiler for the
<a title="Perl 6" href="https://perl6.org/">Perl 6</a> programming
<p>Rakudo <%== p6 %>, or simply <strong>Rakudo</strong>, is a compiler for the
<a title="Perl&nbsp;6" href="https://perl6.org/"><%== p6 %></a> programming
language.</p>

<p>Rakudo is licensed under the terms of the
Expand All @@ -19,7 +19,7 @@

<h2>Rakudo Star</h2>
The Rakudo Star distribution combines the Rakudo
Perl 6 compiler with additional resources, such
<%== p6 %> compiler with additional resources, such
as <a href="https://docs.perl6.org/">documentation</a>,
<a href="http://perl6intro.com/">introductory materials</a>,
and a selection of modules.
Expand Down
8 changes: 5 additions & 3 deletions templates/home.html.ep
Expand Up @@ -2,10 +2,12 @@
% title 'Rakudo Perl 6 Compiler';

<main role="main" class="inner cover">
<h1 class="cover-heading">Rakudo Perl 6 Compiler</h1>
<h1 class="cover-heading">Rakudo <%== p6 %> Compiler</h1>
<p class="lead">Production-ready, stable implementation of the
<a href="https://perl6.org/">Perl 6 programming language</a>.</p>
<a href="https://perl6.org/"><%== p6 %></a> programming language.</p>
<p class="lead">
<a href="#" class="btn btn-lg btn-secondary">Learn more</a>
<a href="<%= url_for 'files' %>"
class="btn btn-lg btn-primary">Download 64-bit <code>.deb</code></a>
</p>
<p><a href="/" style="color: #fff; opacity: .7;">(other download options)</a></p>
</main>

0 comments on commit e9059b9

Please sign in to comment.