templates/cv.erb in linkedin2cv-0.0.1 vs templates/cv.erb in linkedin2cv-0.0.2
- old
+ new
@@ -63,11 +63,12 @@
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
-\documentclass{scrartcl}
+%\documentclass{scrartcl}
+\documentclass{article}
\usepackage[T1]{fontenc}
\reversemarginpar % Move the margin to the left of the page
@@ -107,14 +108,16 @@
\NewEntry{email}{\href{mailto:<%= profile.email_address %>}{<%= profile.email_address %>}} % Email address
<% end %>
+<% if !profile.member_url_resources.nil? %>
<% for @url in profile.member_url_resources.all %>
\NewEntry{website}{\href{<%= @url.url %>}{<%= @url.url %>}} % Personal website
<% end %>
+<% end %>
<% if !options['home_phone'].nil? && !options['mobile_phone'].nil? %>
\NewEntry{phone}{(H) <%= options['home_phone'] %>\ \ $\cdotp$\ \ (M)<%= options['mobile_phone'] %>} % Phone number(s)
<% end %>
@@ -133,10 +136,11 @@
%----------------------------------------------------------------------------------------
% WORK EXPERIENCE
%----------------------------------------------------------------------------------------
+<% if !profile.positions.nil? %>
\noindent\spacedlowsmallcaps{Professional Experience}\vspace{1em}
<% for @position in profile.positions.all %>
<% if !@position.summary.nil? %>
<% if @position.is_current %>
@@ -164,13 +168,15 @@
<% end %>
%------------------------------------------------
\vspace{1em} % Extra space between major sections
+<% end %>
%----------------------------------------------------------------------------------------
% PROJECTS
%----------------------------------------------------------------------------------------
+<% if !profile.projects.nil? %>
\noindent\spacedlowsmallcaps{Projects}\vspace{1em}
<% for @project in profile.projects.all %>
<% if @project.url %>
@@ -201,16 +207,18 @@
<% end %>
\vspace{1em} % Extra space between major sections
+<% end %>
%----------------------------------------------------------------------------------------
% EDUCATION
%----------------------------------------------------------------------------------------
-
+<% if !profile.educations.nil? %>
\spacedlowsmallcaps{Education}\vspace{1em}
+
<% for @education in profile.educations.all %>
\NewEntry{<%=@education.start_date.year %>-<%=@education.end_date.year %>}{<%= @education.school_name %>}
@@ -251,10 +259,11 @@
%------------------------------------------------
\vspace{1em} % Extra space between major sections
+<% end %>
%----------------------------------------------------------------------------------------
% PUBLICATIONS
%----------------------------------------------------------------------------------------
%\spacedlowsmallcaps{Publications}\vspace{1em}
@@ -274,11 +283,11 @@
\vspace{1em} % Extra space between major sections
%----------------------------------------------------------------------------------------
% COMPUTER SKILLS
%----------------------------------------------------------------------------------------
-
+<% if !profile.skills.nil? %>
\spacedlowsmallcaps{Expertise\textbackslash Skills}\vspace{1em}
\Description{\MarginText{Leadership}
% Do LinkedIn Skills
@@ -305,17 +314,19 @@
%------------------------------------------------
\vspace{1em} % Extra space between major sections
+<% end %>
%----------------------------------------------------------------------------------------
% OTHER INFORMATION
%----------------------------------------------------------------------------------------
+<% if !profile.interests.nil? %>
\spacedlowsmallcaps{Other Information}\vspace{1em}
\Description{\MarginText{Interests}<%= profile.interests.gsub(',', '\\\ \\\ $\\\cdotp$\\\ \\\ ')%>}
-
+<% end %>
%----------------------------------------------------------------------------------------
\AtEndDocument{\vfill%
% Your end-of-document content
Produced with love by Latex and https://github.com/mefellows/linkedin2cv
\ No newline at end of file