cv 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/cv/version.rb +1 -1
  2. data/lib/cv/views/index.haml +23 -26
  3. metadata +3 -3
@@ -1,3 +1,3 @@
1
1
  module Cv
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -14,15 +14,18 @@
14
14
 
15
15
  #hcard.grid_6
16
16
  %ul
17
- %li
18
- %h4 Address
19
- .p_big= content.address
20
- %li
21
- %h4 Phone
22
- .p_big= content.phone
23
- %li
24
- %h4 Mail
25
- .p_big= content.mail
17
+ - unless content.address.blank?
18
+ %li
19
+ %h4 Address
20
+ .p_big= content.address
21
+ - unless content.phone.blank?
22
+ %li
23
+ %h4 Phone
24
+ .p_big= content.phone
25
+ - unless content.mail.blank?
26
+ %li
27
+ %h4 Mail
28
+ .p_big= content.mail
26
29
 
27
30
  .grid_10.alpha.omega.section_title
28
31
  #social_button
@@ -33,7 +36,7 @@
33
36
  .grid_10.push_1.alpha.omega.section
34
37
  .grid_10.alpha.omega.section_title
35
38
  %h2 About Me
36
- .grid_10.alpha.omega.prefix_1.suffix_1
39
+ .grid_8.alpha.omega.prefix_1.suffix_1
37
40
  .section_content= to_html(content.about)
38
41
 
39
42
 
@@ -105,19 +108,13 @@
105
108
 
106
109
  #footer.grid_10.push_1.alpha.omega
107
110
 
108
- #social
109
- %ul
110
- %li#social_top
111
- %li
112
- %a{ :href => "#" }
113
- %img{ :src => "/images/social/facebook.png", :alt => "facebook" }
114
- %li
115
- %a{ :href => "#" }
116
- %img{ :src => "/images/social/twitter.png", :alt => "twitter" }
117
- %li
118
- %a{ :href => "#" }
119
- %img{ :src => "/images/social/linkedin.png", :alt => "linkedin" }
120
- %li
121
- %a{ :href => "#" }
122
- %img{ :src => "/images/social/email.png", :alt => "email" }
123
- %li#social_bottom
111
+ - unless content.social.blank?
112
+ #social
113
+ %ul
114
+ %li#social_top
115
+ - %w(facebook twitter linkedin).each do |service|
116
+ - unless content.social.send(service).blank?
117
+ %li
118
+ %a{ :href => content.social.send(service), :target => '_blank' }
119
+ %img{ :src => "/images/social/#{service}.png", :alt => service }
120
+ %li#social_bottom
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cv
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bruno Azisaka Maciel