finish renaming pages to posts

This commit is contained in:
Torsten Ruger
2018-04-10 22:14:02 +03:00
parent ed8e3a93ad
commit 981048098a
5 changed files with 37 additions and 12 deletions

View File

@@ -26,9 +26,9 @@
%li
%a{:href => "/project/motivation.html"} About
%li
%a{:href => "{{site.posts.first.url}}"} News
%a{:href => "https://github.com/ruby-x"}
%img{:alt => "Logo", :src => "/assets/images/x-small.png", :style => "position: absolute; top: 15px; right: 15px; border: 0; width: 70px"}/
= link_to "News" , blog_post_url(Post.posts.keys.first)
=link_to "https://github.com/ruby-x" do
=image_tag "x-small.png", style: "position: absolute; top: 15px; right: 15px; border: 0; width: 70px"
.container
= yield
%footer