diff --git a/ukijs.rb b/ukijs.rb
index ed06f59..920af1f 100644
--- a/ukijs.rb
+++ b/ukijs.rb
@@ -76,6 +76,10 @@ def process_src_paths(content)
haml :exampleList, :locals => { :exampleList => exampleList }
end
+ get %r{/examples/[^/]+/?$} do
+ redirect request.path.sub('/examples/', '/examples/core-examples/')
+ end
+
get '/examples/*' do
redirect request.path + '/' unless request.path.match(%{/$}) # force trailing slash
diff --git a/views/index.haml b/views/index.haml
index 3e61957..3f705a8 100644
--- a/views/index.haml
+++ b/views/index.haml
@@ -28,13 +28,13 @@
%ul
%li Play with simple twitter widget code
%li Draft API docs for uki-core
- %li Google wave layout in 100 lines of uki code
+ %li Google wave layout in 100 lines of uki code
%p.slogan
Uki is a fast and simple JavaScript user interface toolkit for desktop-like web applications.
It comes with a rich view-component library ranging from
- Slider to
- List and
- SplitPane.
+ Slider to
+ List and
+ SplitPane.
%p.download
%span.title Download:
%span.variant