Godwin
11 years ago
27 changed files with 164 additions and 29 deletions
@ -1,8 +1,13 @@ |
|||
- title 'Bike!Bike!' |
|||
- title @conference.title |
|||
= render 'header' |
|||
|
|||
.row |
|||
%h1 |
|||
=_'error.title.Permission_Denied' |
|||
%p |
|||
=_'error.desc.permission_denied', :p |
|||
%article.row |
|||
.columns.large-10 |
|||
%h1=_'error.title.Permission_Denied' |
|||
%p=_'error.desc.permission_denied', :p |
|||
|
|||
- content_for :side_bar do |
|||
%h5= @conference.title+' is hosted by:' |
|||
%ul.preview-list.org-list.small-block-grid-2.large-block-grid-1 |
|||
- @conference.organizations.each do |organization| |
|||
%li=render 'organizations/preview', :organization => organization |
@ -0,0 +1,9 @@ |
|||
- page_title = _'error.title.Permission_Denied' |
|||
- title page_title |
|||
- banner_title page_title |
|||
|
|||
.row |
|||
%h1 |
|||
='This page is inaccessible to you' |
|||
%p |
|||
=_'error.desc.permission_denied', :p |
@ -0,0 +1,25 @@ |
|||
- page_title = 'Bike!Bike! Reources' |
|||
- title page_title |
|||
- banner_title page_title |
|||
- description 'Bike!Bike! list of resources - Bike Collective Wiki, ThinkTank, Bike!Bike! photos and documents' |
|||
|
|||
.row |
|||
.columns |
|||
%p |
|||
Here is a list of online resources available to commmunity bike projects. The bike collective wiki in particlular has great start up kits and many helpful articles about how community bike shops operate. The think tank is a list serve with over 600 contributors. When you join the list, you can talk to community bike shops from all over the world about how to better organize and operate a shop. |
|||
%ul |
|||
%li |
|||
%a{href: 'http://www.bikecollectives.org/wiki/index.php?title=Main_Page', target: '_blank'} |
|||
Bike Collective Wiki |
|||
%li |
|||
%a{href: 'http://lists.bikecollectives.org/listinfo.cgi/thethinktank-bikecollectives.org', target: '_blank'} |
|||
Think tank sign up |
|||
%li |
|||
%a{href: 'http://www.flickr.com/photos/93412361@N07/with/8494632542/', target: '_blank'} |
|||
flickr bikebike! |
|||
%li |
|||
%a{href: 'https://www.dropbox.com/sh/4phyl9lft18whzi/SXQ6XUklKB', target: '_blank'} |
|||
Drop box for bikebike2012 (shared public box) |
|||
|
|||
%p |
|||
If you have more resources you think should be listed here, please post them to the <a href="http://tqa.bikebike.org/project/issues/website" rel="external">issue tracker for the bikebike! website.</a></div></div> |
@ -0,0 +1,21 @@ |
|||
SitemapGenerator::Sitemap.default_host = "http://hackingoff.com" |
|||
|
|||
SitemapGenerator::Sitemap.create do |
|||
routes = Rails.application.routes.routes.map do |route| |
|||
{alias: route.name, path: route.path.spec.to_s, controller: route.defaults[:controller], action: route.defaults[:action]} |
|||
end |
|||
|
|||
# Set a list of controllers you don't want to generate routes for. |
|||
# /rails/info in particular maps to something inaccessible. |
|||
# redirects have a nil controller. This prevents duplicate content penalties. |
|||
banned_controllers = ["rails/info", nil] |
|||
routes.reject! {|route| banned_controllers.include?(route[:controller])} |
|||
|
|||
# sitemap_generator includes root by default; prevent duplication |
|||
routes.reject! {|route| route[:path] == '/'} |
|||
|
|||
routes.each {|route| add route[:path][0..-11]} # Strips off '(.:format) |
|||
|
|||
# Notice the below if you're hosting Jekyll/Octopress in a subdirectory |
|||
# or otherwise want to index content outside of Rails' routes. |
|||
# add_to_index '/path/sitemap.xml' |
@ -0,0 +1,2 @@ |
|||
User-agent: * |
|||
Disallow: / |
@ -0,0 +1,3 @@ |
|||
User-agent: * |
|||
Disallow: /translations/ |
|||
Disallow: /login/ |
@ -0,0 +1,27 @@ |
|||
# Set the host name for URL creation |
|||
SitemapGenerator::Sitemap.default_host = "http://bikebike.org" |
|||
|
|||
SitemapGenerator::Sitemap.create do |
|||
# Put links creation logic here. |
|||
# |
|||
# The root path '/' and sitemap index file are added automatically for you. |
|||
# Links are added to the Sitemap in the order they are specified. |
|||
# |
|||
# Usage: add(path, options={}) |
|||
# (default options are used if you don't specify) |
|||
# |
|||
# Defaults: :priority => 0.5, :changefreq => 'weekly', |
|||
# :lastmod => Time.now, :host => default_host |
|||
# |
|||
# Examples: |
|||
# |
|||
# Add '/articles' |
|||
# |
|||
# add articles_path, :priority => 0.7, :changefreq => 'daily' |
|||
# |
|||
# Add all articles: |
|||
# |
|||
# Article.find_each do |article| |
|||
# add article_path(article), :lastmod => article.updated_at |
|||
# end |
|||
end |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue