Browse Source

simplified editing the details. Everything from data file.

sharu725 6 years ago
parent
commit
ef3cdd79ab

+ 2 - 0
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

+ 2 - 24
_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 <a href="#" target="_blank">download this free resume/CV template here</a>. 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
 

+ 144 - 0
_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 <a href="#" target="_blank">download this free resume/CV template here</a>. 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 &amp; 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 &amp; 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 &amp; 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 <i class="fa fa-heart"></i> by <a href="http://themes.3rdwavemedia.com" target="_blank" rel="nofollow">Xiaoying Riley</a> for developers'

+ 0 - 16
_data/educations.yml

@@ -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."

+ 0 - 28
_data/experiences.yml

@@ -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.
-  <br> <br>
-  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."

+ 0 - 9
_data/interests.yml

@@ -1,9 +0,0 @@
-- interest:
-  item: Climbing
-  link:
-- interest:
-  item: Snowboarding
-  link:
-- interest:
-  item: Cooking
-  link:

+ 0 - 9
_data/languages.yml

@@ -1,9 +0,0 @@
-- language:
-  idiom: English
-  level: Native
-- language:
-  idiom: French
-  level: Professional
-- language:
-  idiom: Spanish
-  level: Professional

+ 0 - 23
_data/projects.yml

@@ -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 &amp; 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"

+ 0 - 15
_data/publications.yml

@@ -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 &amp; 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"

+ 0 - 18
_data/skills.yml

@@ -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%

+ 3 - 3
_includes/career-profile.html

@@ -1,10 +1,10 @@
-{% if site.summary %}
+{% if site.data.data.career-profile %}
 <section class="section summary-section">
 
-  <h2 class="section-title"><i class="fa fa-user"></i>Career Profile</h2>
+  <h2 class="section-title"><i class="fa fa-user"></i>{{ site.data.data.career-profile.title }}</h2>
 
     <div class="summary">
-      <p>{{ site.summary }}</p>
+      <p>{{ site.data.data.career-profile.text }}</p>
     </div><!--//summary-->
     
 </section><!--//section-->

+ 3 - 4
_includes/education.html

@@ -1,9 +1,8 @@
-{% if site.data.educations %}
+{% if site.data.data.studies %}
     {% if site.education_in_main %}
-    
         <section class="section educations-section">
         <h2 class="section-title"><i class="fa fa-graduation-cap"></i>Education</h2>
-        {% for education in site.data.educations %}
+        {% for education in site.data.data.studies %}
           <div class="item">
           
             <div class="meta">
@@ -30,7 +29,7 @@
 
         <h2 class="container-block-title">Education</h2>
 
-        {% for education in site.data.educations %}
+        {% for education in site.data.data.studies %}
             <div class="item">
             <h4 class="degree">{{ education.degree }}</h4>
           <h5 class="meta">{{ education.university }}</h5>

+ 1 - 1
_includes/footer.html

@@ -1,6 +1,6 @@
 <footer class="footer">
     <div class="text-center">
         <!--/* This template is released under the Creative Commons Attribution 3.0 License. Please keep the attribution link below when using for your own project. Thank you for your support. :) If you'd like to use the template without the attribution, you can check out other license options via our website: themes.3rdwavemedia.com */-->
-        <small class="copyright">Designed with <i class="fa fa-heart"></i> by <a href="http://themes.3rdwavemedia.com" target="_blank" rel="nofollow">Xiaoying Riley</a> for developers</small>
+        <small class="copyright">{{site.data.data.footer.text}}</small>
     </div><!--//container-->
 </footer><!--//footer-->

+ 1 - 1
_includes/head.html

@@ -1,5 +1,5 @@
 <head>
-  <title>{{site.title}}</title>
+  <title>{{site.data.data.sidebar.title}}</title>
   <!-- Meta -->
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">

+ 2 - 2
_includes/interests.html

@@ -1,10 +1,10 @@
-{% if site.data.interests %}
+{% if site.data.data.sidebar.interests %}
 <div class="interests-container container-block">
 
   <h2 class="container-block-title">Interests</h2>
 
     <ul class="list-unstyled interests-list">
-      {% for interest in site.data.interests %}
+      {% for interest in site.data.data.sidebar.interests %}
 
       {% if interest.link %}
         <li><a href="{{ interest.link }}">{{ interest.item }}</a></li>

+ 2 - 2
_includes/language.html

@@ -1,10 +1,10 @@
-{% if site.data.languages %}
+{% if site.data.data.sidebar.languages %}
 <div class="languages-container container-block">
 
   <h2 class="container-block-title">Languages</h2>
 
     <ul class="list-unstyled interests-list">
-      {%for language in site.data.languages %}
+      {%for language in site.data.data.sidebar.languages %}
       <li>{{ language.idiom }} <span class="lang-desc">({{ language.level }})</span></li>
       {% endfor %}
     </ul>

+ 5 - 5
_includes/projects.html

@@ -1,15 +1,15 @@
-{% if site.data.projects %}
+{% if site.data.data.projects %}
 <section class="section projects-section">
 
-  <h2 class="section-title"><i class="fa fa-archive"></i>Projects</h2>
+  <h2 class="section-title"><i class="fa fa-archive"></i>{{ site.data.data.projects.title }}</h2>
 
-  {% if site.data.projects.intro %}
+  {% if site.data.data.projects.intro %}
   <div class="intro">
-      <p>{{ site.data.projects.intro }}</p>
+      <p>{{ site.data.data.projects.intro }}</p>
   </div><!--//intro-->
   {% endif %}
 
-  {% for project in site.data.projects.projects %}
+  {% for project in site.data.data.projects.projects %}
     <div class="item">
 
       <span class="project-title"><a href="{{ project.link }}">{{ project.title }}</a></span>

+ 5 - 5
_includes/publications.html

@@ -1,15 +1,15 @@
-{% if site.data.publications %}
+{% if site.data.data.publications %}
 <section class="section publications-section">
 
-  <h2 class="section-title"><i class="fa fa-file-text"></i>Publications</h2>
+  <h2 class="section-title"><i class="fa fa-file-text"></i>{{ site.data.data.publications.title }}</h2>
 
-  {% if site.data.publications.intro %}
+  {% if site.data.data.publications.intro %}
   <div class="intro">
-      <p>{{ site.data.publications.intro }}</p>
+      <p>{{ site.data.data.publications.intro }}</p>
   </div><!--//intro-->
   {% endif %}
 
-  {% for publication in site.data.publications.publications %}
+  {% for publication in site.data.data.publications.publications %}
     <div class="item">
       <div class="publication-title">{{ publication.title }}</div>
       <div class="publication-authors">{{ publication.authors }}</div>

+ 18 - 18
_includes/sidebar.html

@@ -3,14 +3,14 @@
 
    <div class="profile-container">
 
-       <img class="profile-img" src="{{site.baseurl}}/assets/images/{{ site.pic }}" alt="profile picture" />
+       <img class="profile-img" src="{{site.baseurl}}/assets/images/{{ site.data.data.sidebar.pic }}" alt="profile picture" />
 
-       {% if site.name %}
-       <h1 class="name">{{site.name}}</h1>
+       {% if site.data.data.sidebar.name %}
+       <h1 class="name">{{site.data.data.sidebar.name}}</h1>
        {% endif %}
 
-       {% if site.tagline %}
-       <h3 class="tagline">{{site.tagline}}</h3>
+       {% if site.data.data.sidebar.tagline %}
+       <h3 class="tagline">{{site.data.data.sidebar.tagline}}</h3>
        {% endif %}
 
    </div><!--//profile-container-->
@@ -18,28 +18,28 @@
    <div class="contact-container container-block">
        <ul class="list-unstyled contact-list">
 
-          {% if site.email %}
-           <li class="email"><i class="fa fa-envelope"></i><a href="mailto: {{site.email}}">{{site.email}}</a></li>
+          {% if site.data.data.sidebar.email %}
+           <li class="email"><i class="fa fa-envelope"></i><a href="mailto: {{site.data.data.sidebar.email}}">{{site.data.data.sidebar.email}}</a></li>
            {% endif %}
 
-           {% if site.phone %}
-           <li class="phone"><i class="fa fa-phone"></i><a href="tel:{{site.phone}}">{{site.phone}}</a></li>
+           {% if site.data.data.sidebar.phone %}
+           <li class="phone"><i class="fa fa-phone"></i><a href="tel:{{site.data.data.sidebar.phone}}">{{site.data.data.sidebar.phone}}</a></li>
            {% endif %}
 
-           {% if site.website %}
-           <li class="website"><i class="fa fa-globe"></i><a href="http://{{site.website}}" target="_blank">{{site.website}}</a></li>
+           {% if site.data.data.sidebar.website %}
+           <li class="website"><i class="fa fa-globe"></i><a href="http://{{site.data.data.sidebar.website}}" target="_blank">{{site.data.data.sidebar.website}}</a></li>
            {% endif %}
 
-           {% if site.linkedin %}
-           <li class="linkedin"><i class="fa fa-linkedin"></i><a href="https://linkedin.com/in/{{site.linkedin}}" target="_blank">{{site.linkedin}}</a></li>
+           {% if site.data.data.sidebar.linkedin %}
+           <li class="linkedin"><i class="fa fa-linkedin"></i><a href="https://linkedin.com/in/{{site.data.data.sidebar.linkedin}}" target="_blank">{{site.data.data.sidebar.linkedin}}</a></li>
            {% endif %}
 
-           {% if site.github %}
-           <li class="github"><i class="fa fa-github"></i><a href="http://github.com/{{site.github}}" target="_blank">{{site.github}}</a></li>
+           {% if site.data.data.sidebar.github %}
+           <li class="github"><i class="fa fa-github"></i><a href="http://github.com/{{site.data.data.sidebar.github}}" target="_blank">{{site.data.data.sidebar.github}}</a></li>
            {% endif %}
 
-           {% if site.twitter %}
-           <li class="twitter"><i class="fa fa-twitter"></i><a href="https://twitter.com/{{site.twitter}}" target="_blank">{{site.twitter}}</a></li>
+           {% if site.data.data.sidebar.twitter %}
+           <li class="twitter"><i class="fa fa-twitter"></i><a href="https://twitter.com/{{site.data.data.sidebar.twitter}}" target="_blank">{{site.data.data.sidebar.twitter}}</a></li>
            {% endif %}
 
        </ul>
@@ -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 %}
 

+ 3 - 3
_includes/skills.html

@@ -1,11 +1,11 @@
-{% if site.data.skills %}
+{% if site.data.data.skills %}
 <section class="skills-section section">
 
-  <h2 class="section-title"><i class="fa fa-rocket"></i>Skills &amp; Proficiency</h2>
+  <h2 class="section-title"><i class="fa fa-rocket"></i>{{site.data.data.skills.title}}</h2>
 
   <div class="skillset">
 
-    {% for skill in site.data.skills %}
+    {% for skill in site.data.data.skills.skills %}
     <div class="item">
 
       <h3 class="level-title">{{ skill.name }}</h3>