base
This commit is contained in:
parent
76dca29297
commit
c94713a9c1
@ -512,7 +512,7 @@ article{
|
||||
font-family:arial;
|
||||
p{
|
||||
margin-left:10px;
|
||||
|
||||
color:black;
|
||||
}
|
||||
h1{
|
||||
margin:0;
|
||||
@ -557,3 +557,13 @@ article{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
h1{
|
||||
|
||||
color:#69952f;
|
||||
text-transform:uppercase;
|
||||
font-weight:bold;
|
||||
font-size:22px;
|
||||
line-height:24px;
|
||||
font-family:$header_font;
|
||||
}
|
@ -71,6 +71,7 @@
|
||||
-article = Article.before(Date.today).recents.first
|
||||
|
||||
-if article
|
||||
%a{:href => public_article_path(:id => article.slug)}
|
||||
.first_article
|
||||
.image=image_tag article.image_file.file.large.medium.url if article.image_file
|
||||
|
||||
@ -95,9 +96,6 @@
|
||||
|
||||
|
||||
|
||||
=render Article.before(Date.today).recents.first
|
||||
=link_to "tout les articles >", "/blog.html", :class => "articles_button"
|
||||
|
||||
=yield
|
||||
|
||||
#sidebar
|
||||
|
@ -1 +1,6 @@
|
||||
=render @article
|
||||
|
||||
%h1=@article.title
|
||||
=image_tag @article.image_file.file.large.medium.url
|
||||
.description=simple_format @article.description
|
||||
%hr
|
||||
=render @article.block
|
||||
|
Loading…
x
Reference in New Issue
Block a user