From a56a939177a9658f595ced30d0742efc675d2dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Estev=C3=A3o?= Date: Wed, 25 Jul 2018 23:01:45 +0100 Subject: [PATCH] Made variables more modular --- _config.yml | 1 - _data/data.yml | 128 +++++++++++++++++----------------- _includes/career-profile.html | 7 +- _includes/contact.html | 40 +++++------ _includes/education.html | 25 +++---- _includes/experiences.html | 7 +- _includes/footer.html | 2 +- _includes/head.html | 2 +- _includes/interests.html | 5 +- _includes/language.html | 5 +- _includes/projects.html | 11 +-- _includes/publications.html | 11 +-- _includes/sidebar.html | 18 ++--- _includes/skills.html | 7 +- _layouts/default.html | 20 +++--- 15 files changed, 146 insertions(+), 143 deletions(-) diff --git a/_config.yml b/_config.yml index 9bb8e54..996c549 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,6 @@ url: 'http://webjeda.com' baseurl: '/online-cv' #change it according to your repository name # Style will be applied only after restarting the build or serve. Just choose one of the options. theme_skin: blue # blue turquoise green berry orange ceramic -education_in_main: False # set to True if you want to remove education in main section instead of in sidebar # Tracker analytics: UA-83979019-1 diff --git a/_data/data.yml b/_data/data.yml index a5b9043..5a9174d 100644 --- a/_data/data.yml +++ b/_data/data.yml @@ -4,12 +4,13 @@ sidebar: about: True # set to false or comment line if you want to remove the "how to use?" in the sidebar - + education: False # set to True if you want to remove education in main section instead of in sidebar + # Profile information name: Alan Doe tagline: Full Stack Developer avatar: profile.png #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below - + # Sidebar links email: hello@webjeda.com phone: 012 345 6789 @@ -23,28 +24,28 @@ sidebar: codewars: languages: - - idiom: English - level: Native + - idiom: English + level: Native - - idiom: French - level: Professional + - idiom: French + level: Professional - - idiom: Spanish - level: Professional + - idiom: Spanish + level: Professional interests: - - item: Climbing - link: + - item: Climbing + link: - - item: Snowboarding - link: + - item: Snowboarding + link: - - item: Cooking - link: + - item: Cooking + link: career-profile: title: Career Profile - text: | + summary: | Summarise your career here lorem ipsum dolor sit amet, consectetuer adipiscing elit. You can [download this free resume/CV template here](). Aenean commodo ligula eget dolor aenean massa. Cum sociis natoque @@ -53,7 +54,7 @@ career-profile: Second paragraph if required. -studies: +education: - degree: MSc in Computer Science university: University of London time: 2011 - 2012 @@ -81,60 +82,57 @@ studies: - Bullet point experiences: - title: Experiences - - experiences: - - role: Lead Developer - time: 2015 - Present - company: Startup Hubs, San Francisco - details: | - Describe your role here lorem ipsum dolor sit amet, consectetuer - adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. - Cum sociis natoque penatibus et magnis dis parturient montes, - nascetur ridiculus mus. Donec quam felis, ultricies nec, - pellentesque eu, pretium quis, sem. Nulla consequat massa quis - enim. Donec pede justo. Sed ut perspiciatis unde omnis iste natus - error sit voluptatem accusantium doloremque laudantium, totam rem - aperiam, eaque ipsa quae ab illo inventore veritatis et quasi - architecto beatae vitae dicta sunt explicabo. + - role: Lead Developer + time: 2015 - Present + company: Startup Hubs, San Francisco + details: | + Describe your role here lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. + Cum sociis natoque penatibus et magnis dis parturient montes, + nascetur ridiculus mus. Donec quam felis, ultricies nec, + pellentesque eu, pretium quis, sem. Nulla consequat massa quis + enim. Donec pede justo. Sed ut perspiciatis unde omnis iste natus + error sit voluptatem accusantium doloremque laudantium, totam rem + aperiam, eaque ipsa quae ab illo inventore veritatis et quasi + architecto beatae vitae dicta sunt explicabo. - - Bullet point - - Bullet point + - Bullet point + - Bullet point - - role: Senior Software Engineer - time: 2014 - 2015 - company: Google, London - details: | - Describe your role here lorem ipsum dolor sit amet, consectetuer - adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. - Cum sociis natoque penatibus et magnis dis parturient montes, - nascetur ridiculus mus. Donec quam felis, ultricies nec, - pellentesque eu, pretium quis, sem. + - role: Senior Software Engineer + time: 2014 - 2015 + company: Google, London + details: | + Describe your role here lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. + Cum sociis natoque penatibus et magnis dis parturient montes, + nascetur ridiculus mus. Donec quam felis, ultricies nec, + pellentesque eu, pretium quis, sem. - - Bullet point - - Bullet point + - Bullet point + - Bullet point - - role: UI Developer - time: 2012 - 2014 - company: Amazon, London - details: | - Describe your role here lorem ipsum dolor sit amet, consectetuer - adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. - Cum sociis natoque penatibus et magnis dis parturient montes, - nascetur ridiculus mus. Donec quam felis, ultricies nec, - pellentesque eu, pretium quis, sem. + - role: UI Developer + time: 2012 - 2014 + company: Amazon, London + details: | + Describe your role here lorem ipsum dolor sit amet, consectetuer + adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. + Cum sociis natoque penatibus et magnis dis parturient montes, + nascetur ridiculus mus. Donec quam felis, ultricies nec, + pellentesque eu, pretium quis, sem. + + - Bullet point + - Bullet point - - Bullet point - - Bullet point - projects: title: Projects intro: > You can list your side projects or open source libraries in this section. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et ligula in nunc bibendum fringilla a eu lectus. - - projects: + + assignments: - title: Velocity link: "#hook" tagline: "A responsive website template designed to help startups promote, market and sell their products." @@ -161,8 +159,8 @@ publications: You can list your publications in this section. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et ligula in nunc bibendum fringilla a eu lectus. - - publications: + + papers: - title: The Art of Computer Programming authors: Donald E. Knuth conference: Addison-Wesley, 1968 @@ -177,7 +175,8 @@ publications: skills: title: Skills & Proficiency - skills: + + toolset: - name: Python & Django level: 98% @@ -196,6 +195,5 @@ skills: - name: Sketch & Photoshop level: 60% -footer: - text: > - Designed with by Xiaoying Riley +footer: > + Designed with by Xiaoying Riley diff --git a/_includes/career-profile.html b/_includes/career-profile.html index 3193de7..6039bba 100644 --- a/_includes/career-profile.html +++ b/_includes/career-profile.html @@ -1,4 +1,5 @@ -{% if site.data.data.career-profile %} +{% assign career-profile = site.data.data.career-profile %} +{% if career-profile %}

@@ -6,11 +7,11 @@ - {{ site.data.data.career-profile.title }} + {{ career-profile.title }}

- {{ site.data.data.career-profile.text | markdownify }} + {{ career-profile.summary | markdownify }}
diff --git a/_includes/contact.html b/_includes/contact.html index d779efc..6020c64 100644 --- a/_includes/contact.html +++ b/_includes/contact.html @@ -1,63 +1,63 @@