Skip to content

Commit

Permalink
Add a banner to clarify the name changing
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Jan 22, 2016
1 parent 3cea600 commit f42bfd0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.rb
Expand Up @@ -54,7 +54,7 @@
deploy.branch = 'master'
end

set :url_root, 'http://hanami.io'
set :url_root, 'http://hanamirb.org'
activate :search_engine_sitemap

# Methods defined in the helpers block are available in templates
Expand Down Expand Up @@ -157,15 +157,15 @@ def absolute_url(page)
page
end

"http://hanami.io#{ url }"
"http://hanamirb.org#{ url }"
end

def encode_text(text)
::Rack::Utils.escape(text)
end

def hanami_version
'0.6.1'
'0.7.0'
end
end

Expand Down
2 changes: 2 additions & 0 deletions source/_footer.erb
@@ -1,3 +1,5 @@
<%= partial 'lotus' %>

<div class="block app-block-footer">
<div class="container">
<div class="row">
Expand Down
5 changes: 5 additions & 0 deletions source/_lotus.erb
@@ -0,0 +1,5 @@
<div id="lotus" class="text-xs-center">
<div class="row">
Looking for <strong>Lotus</strong>? We renamed the project and it's now called <strong>Hanami</strong>. Read the <a href="/blog/2016/01/22/lotus-is-now-hanami.html">announcement</a>.
</div>
</div>
10 changes: 10 additions & 0 deletions source/stylesheets/application-minimal.css
Expand Up @@ -162,3 +162,13 @@ div.article-body {
font-size: 1.4em;
}

#lotus {
color: #fff;
background-color: #685D9F;
line-height: 5em;
}

#lotus a {
color: #fff;
text-decoration: underline;
}

0 comments on commit f42bfd0

Please sign in to comment.