Преглед изворни кода

Layout fixes; remove About page

master
Adrian Short пре 9 година
родитељ
комит
cbf57856f9
3 измењених фајлова са 12 додато и 16 уклоњено
  1. +3
    -3
      app.rb
  2. +3
    -5
      views/home.haml
  3. +6
    -8
      views/layout.haml

+ 3
- 3
app.rb Прегледај датотеку

@@ -154,9 +154,9 @@ get '/error' do
haml :error
end

get '/about' do
haml :about
end
# get '/about' do
# haml :about
# end

not_found do
haml :not_found

+ 3
- 5
views/home.haml Прегледај датотеку

@@ -70,8 +70,6 @@
.grid_3
%p If you want to use Armchair Auditor's software to publish your own council's data, it's free. Or you can use it as the starting point for your own custom project.
%p
%a{ :href => "http://github.com/adrianshort/Armchair-Auditor" }
Get the code on Github.


%a{ :href => "https://github.com/adrianshort/armchair-auditor" }
Get the code on GitHub.

+ 6
- 8
views/layout.haml Прегледај датотеку

@@ -34,16 +34,14 @@
%a{ :href => '/' } Home
%a{ :href => '/services' } Services
%a{ :href => '/suppliers' } Suppliers
%a{ :href => '/about' } About
= yield
.clear
#footer
.grid_12.top_border
%p
An independent website
%a{ :href => 'http://twitter.com/adrianshort' }<
designed by Adrian Short
&nbsp;&nbsp;&nbsp;
%a{ :href => 'http://twitter.com/ArmchairAuditor' }<
Follow @ArmchairAuditor on Twitter
An independent website by
%a{ :href => 'https://adrianshort.org/' }<
Adrian Short.
%a{ :href => "https://github.com/adrianshort/armchair-auditor" }<
Get the code on GitHub.

Loading…
Откажи
Сачувај