Skip to content
Permalink
Browse files

Add a banner to clarify the name changing

  • Loading branch information...
jodosha committed Jan 22, 2016
1 parent 3cea600 commit f42bfd05b2cf7fb7cea1b241543dca904d176395
Showing with 20 additions and 3 deletions.
  1. +3 −3 config.rb
  2. +2 −0 source/_footer.erb
  3. +5 −0 source/_lotus.erb
  4. +10 −0 source/stylesheets/application-minimal.css
@@ -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
@@ -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

@@ -1,3 +1,5 @@
<%= partial 'lotus' %>

<div class="block app-block-footer">
<div class="container">
<div class="row">
@@ -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>
@@ -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.
You can’t perform that action at this time.