From ef3cdd79ab400963248b3acfed2c2ff8010c69f7 Mon Sep 17 00:00:00 2001 From: sharu725 Date: Sun, 13 May 2018 13:43:44 +0530 Subject: [PATCH] simplified editing the details. Everything from data file. --- README.md | 2 + _config.yml | 26 +----- _data/data.yml | 144 ++++++++++++++++++++++++++++++++++ _data/educations.yml | 16 ---- _data/experiences.yml | 28 ------- _data/interests.yml | 9 --- _data/languages.yml | 9 --- _data/projects.yml | 23 ------ _data/publications.yml | 15 ---- _data/skills.yml | 18 ----- _includes/career-profile.html | 6 +- _includes/education.html | 7 +- _includes/footer.html | 2 +- _includes/head.html | 2 +- _includes/interests.html | 4 +- _includes/language.html | 4 +- _includes/projects.html | 10 +-- _includes/publications.html | 10 +-- _includes/sidebar.html | 36 ++++----- _includes/skills.html | 6 +- 20 files changed, 191 insertions(+), 186 deletions(-) create mode 100644 _data/data.yml delete mode 100644 _data/educations.yml delete mode 100644 _data/experiences.yml delete mode 100644 _data/interests.yml delete mode 100644 _data/languages.yml delete mode 100644 _data/projects.yml delete mode 100644 _data/publications.yml delete mode 100644 _data/skills.yml diff --git a/README.md b/README.md index 1a3adcc..6de1200 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ I have made this into a Jekyll Theme. Checkout the live demo [here](http://webje * Go to settings and set Github Pages source as master. * Your new site should be ready at `https://username.github.io/online-cv/` +Chnage all the details from one place - ``_data/data.yml`` + Watch my [video](https://www.youtube.com/embed/T2nx6tj-ZH4) on installation. ## Skins diff --git a/_config.yml b/_config.yml index 3a1d4e4..e226c43 100644 --- a/_config.yml +++ b/_config.yml @@ -1,32 +1,10 @@ -# Site Settings -title: My Resume -url: 'http://webjeda.com' -baseurl: '/online-cv' #change it according to your repository name -about: True # set to False or comment line if you want to remove the "How to use?" in the sidebar +#Update all the sections by editing the data.yml file inside _data folder. +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 turquoise green berry orange ceramic - -# Profile information -name: Alan Doe -tagline: Full Stack Developer -pic: profile.png #place a 100x100 picture inside /assets/images/ folder and provide the name of the file below -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 penatibus et magnis dis parturient -montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu.' - -# Sidebar links -email: hello@webjeda.com -phone: 012 345 6789 -website: blog.webjeda.com #do not add http:// -linkedin: alandoe -github: sharu725 -twitter: '@webjeda' -#Update all the sections by editing the files inside _data folder. - # uncomment the next line, if you want the education section displayed in main instead of the sidebar #education_in_main: True diff --git a/_data/data.yml b/_data/data.yml new file mode 100644 index 0000000..c6826c3 --- /dev/null +++ b/_data/data.yml @@ -0,0 +1,144 @@ +sidebar: + # Site Settings + title: My Resume + url: 'http://webjeda.com' + baseurl: '/online-cv' #change it according to your repository name + about: true # set to False or comment line if you want to remove the "How to use?" in the sidebar + + # Profile information + name: Alan Doe + tagline: Full Stack Developer + pic: 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 + website: blog.webjeda.com #do not add http:// + linkedin: alandoe + github: sharu725 + twitter: '@webjeda' + + languages: + - language: + idiom: English + level: Native + - language: + idiom: French + level: Professional + - language: + idiom: Spanish + level: Professional + + interests: + - interest: + item: Climbing + link: + - interest: + item: Snowboarding + link: + - interest: + item: Cooking + link: + + + + + + +career-profile: + title: Career Profile + text: '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 penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu.' + + +studies: + - education: + degree: MSc in Computer Science + university: University of London + time: 2011 - 2012 + details: "Describe your study 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." + + - education: + degree: BSc in Applied Mathematics + university: Bristol University + time: 2007 - 2011 + details: "Describe your study 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." + + +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: + - project: + title: Velocity + link: "#hook" + tagline: "A responsive website template designed to help startups promote, market and sell their products." + - project: + title: DevStudio + link: "#" + tagline: "A responsive website template designed to help web developers/designers market their services." + - project: + title: Tempo + link: "#" + tagline: "A responsive website template designed to help startups promote their products or services and to attract users & investors" + - project: + title: Atom + link: "#" + tagline: "A comprehensive website template solution for startups/developers to market their mobile apps." + - project: + title: Delta + link: "#" + tagline: "A responsive Bootstrap one page theme designed to help app developers promote their mobile apps" + + +publications: + title: Publications + intro: "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: + - paper: + title: The Art of Computer Programming + authors: Donald E. Knuth + conference: Addison-Wesley, 1968 + - paper: + title: "Genetic Programming III: Darwinian Invention & Problem Solving" + authors: Koza, J.R., Andre, D., Bennett, F.H., Keane, M.A. + conference: "Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1st edn. (1999)" + - paper: + title: A syntax directed compiler for Algol 60 + authors: Edgar T. Irons + conference: "Comm. ACM 4 (1961), 51–55" + + +skills: + title: Skills & Proficiency + skills: + - skill: + name: Python & Django + level: 98% + - skill: + name: Javascript & jQuery + level: 98% + - skill: + name: Angular + level: 98% + - skill: + name: HTML5 & CSS + level: 95% + - skill: + name: Ruby on Rails + level: 85% + - skill: + name: Sketch & Photoshop + level: 60% + + +footer: + text: 'Designed with by Xiaoying Riley for developers' \ No newline at end of file diff --git a/_data/educations.yml b/_data/educations.yml deleted file mode 100644 index 4deeae2..0000000 --- a/_data/educations.yml +++ /dev/null @@ -1,16 +0,0 @@ -- education: - degree: MSc in Computer Science - university: University of London - time: 2011 - 2012 - details: "Describe your study 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." -- education: - degree: BSc in Applied Mathematics - university: Bristol University - time: 2007 - 2011 - details: "Describe your study 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." diff --git a/_data/experiences.yml b/_data/experiences.yml deleted file mode 100644 index 27f5c8e..0000000 --- a/_data/experiences.yml +++ /dev/null @@ -1,28 +0,0 @@ -- experience: - 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." -- experience: - 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." -- experience: - 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." diff --git a/_data/interests.yml b/_data/interests.yml deleted file mode 100644 index 2b9cd4c..0000000 --- a/_data/interests.yml +++ /dev/null @@ -1,9 +0,0 @@ -- interest: - item: Climbing - link: -- interest: - item: Snowboarding - link: -- interest: - item: Cooking - link: diff --git a/_data/languages.yml b/_data/languages.yml deleted file mode 100644 index 52b5b52..0000000 --- a/_data/languages.yml +++ /dev/null @@ -1,9 +0,0 @@ -- language: - idiom: English - level: Native -- language: - idiom: French - level: Professional -- language: - idiom: Spanish - level: Professional diff --git a/_data/projects.yml b/_data/projects.yml deleted file mode 100644 index d9e6c27..0000000 --- a/_data/projects.yml +++ /dev/null @@ -1,23 +0,0 @@ -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: - - project: - title: Velocity - link: "#hook" - tagline: "A responsive website template designed to help startups promote, market and sell their products." - - project: - title: DevStudio - link: "#" - tagline: "A responsive website template designed to help web developers/designers market their services." - - project: - title: Tempo - link: "#" - tagline: "A responsive website template designed to help startups promote their products or services and to attract users & investors" - - project: - title: Atom - link: "#" - tagline: "A comprehensive website template solution for startups/developers to market their mobile apps." - - project: - title: Delta - link: "#" - tagline: "A responsive Bootstrap one page theme designed to help app developers promote their mobile apps" diff --git a/_data/publications.yml b/_data/publications.yml deleted file mode 100644 index 1e94bfa..0000000 --- a/_data/publications.yml +++ /dev/null @@ -1,15 +0,0 @@ -intro: "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: - - paper: - title: The Art of Computer Programming - authors: Donald E. Knuth - conference: Addison-Wesley, 1968 - - paper: - title: "Genetic Programming III: Darwinian Invention & Problem Solving" - authors: Koza, J.R., Andre, D., Bennett, F.H., Keane, M.A. - conference: "Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1st edn. (1999)" - - paper: - title: A syntax directed compiler for Algol 60 - authors: Edgar T. Irons - conference: "Comm. ACM 4 (1961), 51–55" diff --git a/_data/skills.yml b/_data/skills.yml deleted file mode 100644 index 46e642e..0000000 --- a/_data/skills.yml +++ /dev/null @@ -1,18 +0,0 @@ -- skill: - name: Python & Django - level: 98% -- skill: - name: Javascript & jQuery - level: 98% -- skill: - name: Angular - level: 98% -- skill: - name: HTML5 & CSS - level: 95% -- skill: - name: Ruby on Rails - level: 85% -- skill: - name: Sketch & Photoshop - level: 60% diff --git a/_includes/career-profile.html b/_includes/career-profile.html index 58a23dc..7987471 100644 --- a/_includes/career-profile.html +++ b/_includes/career-profile.html @@ -1,10 +1,10 @@ -{% if site.summary %} +{% if site.data.data.career-profile %}
-

Career Profile

+

{{ site.data.data.career-profile.title }}

-

{{ site.summary }}

+

{{ site.data.data.career-profile.text }}

diff --git a/_includes/education.html b/_includes/education.html index 6d3a5d3..caf906e 100644 --- a/_includes/education.html +++ b/_includes/education.html @@ -1,9 +1,8 @@ -{% if site.data.educations %} +{% if site.data.data.studies %} {% if site.education_in_main %} -

Education

- {% for education in site.data.educations %} + {% for education in site.data.data.studies %}
@@ -30,7 +29,7 @@

Education

- {% for education in site.data.educations %} + {% for education in site.data.data.studies %}

{{ education.degree }}

{{ education.university }}
diff --git a/_includes/footer.html b/_includes/footer.html index 2657a41..7840063 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,6 +1,6 @@
- Designed with by Xiaoying Riley for developers + {{site.data.data.footer.text}}
diff --git a/_includes/head.html b/_includes/head.html index 204217a..f12fc2a 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,5 +1,5 @@ - {{site.title}} + {{site.data.data.sidebar.title}} diff --git a/_includes/interests.html b/_includes/interests.html index c93d8d9..1e50584 100644 --- a/_includes/interests.html +++ b/_includes/interests.html @@ -1,10 +1,10 @@ -{% if site.data.interests %} +{% if site.data.data.sidebar.interests %}

Interests

    - {% for interest in site.data.interests %} + {% for interest in site.data.data.sidebar.interests %} {% if interest.link %}
  • {{ interest.item }}
  • diff --git a/_includes/language.html b/_includes/language.html index aa5ca9d..24f567b 100644 --- a/_includes/language.html +++ b/_includes/language.html @@ -1,10 +1,10 @@ -{% if site.data.languages %} +{% if site.data.data.sidebar.languages %}

    Languages

      - {%for language in site.data.languages %} + {%for language in site.data.data.sidebar.languages %}
    • {{ language.idiom }} ({{ language.level }})
    • {% endfor %}
    diff --git a/_includes/projects.html b/_includes/projects.html index 0656720..14a4aa9 100644 --- a/_includes/projects.html +++ b/_includes/projects.html @@ -1,15 +1,15 @@ -{% if site.data.projects %} +{% if site.data.data.projects %}
    -

    Projects

    +

    {{ site.data.data.projects.title }}

    - {% if site.data.projects.intro %} + {% if site.data.data.projects.intro %}
    -

    {{ site.data.projects.intro }}

    +

    {{ site.data.data.projects.intro }}

    {% endif %} - {% for project in site.data.projects.projects %} + {% for project in site.data.data.projects.projects %}
    {{ project.title }} diff --git a/_includes/publications.html b/_includes/publications.html index 38a8837..80bda2c 100644 --- a/_includes/publications.html +++ b/_includes/publications.html @@ -1,15 +1,15 @@ -{% if site.data.publications %} +{% if site.data.data.publications %}
    -

    Publications

    +

    {{ site.data.data.publications.title }}

    - {% if site.data.publications.intro %} + {% if site.data.data.publications.intro %}
    -

    {{ site.data.publications.intro }}

    +

    {{ site.data.data.publications.intro }}

    {% endif %} - {% for publication in site.data.publications.publications %} + {% for publication in site.data.data.publications.publications %}
    {{ publication.title }}
    {{ publication.authors }}
    diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 653c907..be23274 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -3,14 +3,14 @@
    - profile picture + profile picture - {% if site.name %} -

    {{site.name}}

    + {% if site.data.data.sidebar.name %} +

    {{site.data.data.sidebar.name}}

    {% endif %} - {% if site.tagline %} -

    {{site.tagline}}

    + {% if site.data.data.sidebar.tagline %} +

    {{site.data.data.sidebar.tagline}}

    {% endif %}
    @@ -18,28 +18,28 @@
    @@ -50,7 +50,7 @@ {% endif %} {% include language.html %} {% include interests.html %} - {% if site.about %} + {% if site.data.data.sidebar.about == true %} {% include about.html %} {% endif %} diff --git a/_includes/skills.html b/_includes/skills.html index 753b4c1..3499a42 100644 --- a/_includes/skills.html +++ b/_includes/skills.html @@ -1,11 +1,11 @@ -{% if site.data.skills %} +{% if site.data.data.skills %}
    -

    Skills & Proficiency

    +

    {{site.data.data.skills.title}}

    - {% for skill in site.data.skills %} + {% for skill in site.data.data.skills.skills %}

    {{ skill.name }}