diff --git a/public/images/blub.png b/public/images/blub.png new file mode 100644 index 0000000..475324c Binary files /dev/null and b/public/images/blub.png differ diff --git a/public/images/zero-knowledge.png b/public/images/zero-knowledge.png new file mode 100644 index 0000000..40b57f4 Binary files /dev/null and b/public/images/zero-knowledge.png differ diff --git a/public/admin.js b/public/javascript/admin.js similarity index 100% rename from public/admin.js rename to public/javascript/admin.js diff --git a/public/app.js b/public/javascript/app.js similarity index 100% rename from public/app.js rename to public/javascript/app.js diff --git a/public/head.min.js b/public/javascript/head.min.js similarity index 100% rename from public/head.min.js rename to public/javascript/head.min.js diff --git a/views/layout.haml b/views/layout.haml index 885a8e0..e644632 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -4,15 +4,15 @@ %title="zero-knowledge - scripte, programmieren und administrtieren" %meta{:'http-equiv' => 'Content-Type', :content => 'text/html; charset=utf-8'} %link{:rel => 'stylesheet', :href => '/stylesheet.css', :type => 'text/css'} - %script{:src => 'public/head.min.js'} - %link{:rel => 'alternate', :type => 'application/atom+xml', :href => 'http://zero-knowledge.org/atom.xml', :title => 'Atom 1.0'} + %script{:src => '/public/javascript/head.min.js'} + %link{:rel => 'alternate', :type => 'application/atom+xml', :href => '/atom.xml', :title => 'Atom 1.0'} %body #wrapper %header#header %h1 - %a{:href =>"http://zero-knowledge.org"} - %img{:src => "http://zero-knowledge.org/images/zero-knowledge.png", :alt => "zero-knowledge"} - %img{:style => "float:right", :src => "http://zero-knowledge.org/images/blub.png", :alt => "Logo"} + %a{:href =>"/"} + %img{:src => "/public/images/zero-knowledge.png", :alt => "zero-knowledge"} + %img{:style => "float:right", :src => "/public/images/blub.png", :alt => "Logo"} #content =yield %footer#footer diff --git a/views/post_single.haml b/views/post_single.haml index 69dea16..d20c04e 100644 --- a/views/post_single.haml +++ b/views/post_single.haml @@ -1,6 +1,7 @@ %article %header - %h1=@post.title + %h1 + %a{:href => "/post/#{@post.id}"}=@post.title %footer .author=@post.account.username .date=@post.written