phone tweaks
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
.spacer-50
|
||||
|
||||
.side-links
|
||||
%ul.social.visible-xs
|
||||
= partial 'shared/social_links'
|
||||
|
||||
%ul
|
||||
%li.bolder Recent Posts
|
||||
- blog.articles[0...10].each do |article|
|
||||
@ -10,3 +14,4 @@
|
||||
%li Tags
|
||||
- blog.tags.each do |tag, articles|
|
||||
%li= link_to "#{tag.titleize}", tag_path(tag)
|
||||
|
||||
|
@ -12,15 +12,6 @@
|
||||
%li
|
||||
%a{href: "/contact"} contact
|
||||
|
||||
%ul.social
|
||||
:ruby
|
||||
social_links = {
|
||||
'fa-linkedin-square' => 'http://linkedin.com/in/markamoser/',
|
||||
'fa-twitter' => 'https://twitter.com/obley',
|
||||
'fa-github' => 'https://github.com/markmoser',
|
||||
'fa-bitbucket' => 'https://bitbucket.org/markamoser',
|
||||
}
|
||||
- social_links.each do |k,v|
|
||||
%li
|
||||
= link_to "#{v}" do
|
||||
%i.fa.fa-lg{class: "#{k}"}
|
||||
%ul.social.hidden-xs
|
||||
= partial 'shared/social_links'
|
||||
|
||||
|
11
source/shared/_social_links.html.haml
Normal file
11
source/shared/_social_links.html.haml
Normal file
@ -0,0 +1,11 @@
|
||||
:ruby
|
||||
social_links = {
|
||||
'fa-linkedin-square' => 'http://linkedin.com/in/markamoser/',
|
||||
'fa-twitter' => 'https://twitter.com/obley',
|
||||
'fa-github' => 'https://github.com/markmoser',
|
||||
'fa-bitbucket' => 'https://bitbucket.org/markamoser',
|
||||
}
|
||||
- social_links.each do |k,v|
|
||||
%li
|
||||
= link_to "#{v}" do
|
||||
%i.fa.fa-lg{class: "#{k}"}
|
Reference in New Issue
Block a user