From d0a7f557d913b099d0c8dc8601e3bb8349e3a9df Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 13 Dec 2020 00:52:32 +0000 Subject: [PATCH] refactor: convert experience.md to YAML --- content/home/experience.md | 75 +++++++++++++------------- exampleSite/content/home/experience.md | 51 +++++++++--------- 2 files changed, 63 insertions(+), 63 deletions(-) diff --git a/content/home/experience.md b/content/home/experience.md index 12d7b3d..8ab2313 100644 --- a/content/home/experience.md +++ b/content/home/experience.md @@ -1,44 +1,45 @@ -+++ -# Experience widget. -widget = "experience" # See https://sourcethemes.com/academic/docs/page-builder/ -headless = true # This file represents a page section. -active = true # Activate this widget? true/false -weight = 40 # Order that this section will appear. +--- +# An instance of the Experience widget. +# Documentation: https://wowchemy.com/docs/page-builder/ +widget: experience -title = "Experience" -subtitle = "" +# This file represents a page section. +headless: true + +# Order that this section appears on the page. +weight: 40 + +title: Experience +subtitle: # Date format for experience -# Refer to https://sourcethemes.com/academic/docs/customization/#date-format -date_format = "Jan 2006" +# Refer to https://wowchemy.com/docs/customization/#date-format +date_format: Jan 2006 # Experiences. -# Add/remove as many `[[experience]]` blocks below as you like. +# Add/remove as many `experience` items below as you like. # Required fields are `title`, `company`, and `date_start`. # Leave `date_end` empty if it's your current employer. -# Begin/end multi-line descriptions with 3 quotes `"""`. -[[experience]] - title = "CEO" - company = "GenCoin" - company_url = "" - location = "California" - date_start = "2017-01-01" - date_end = "" - description = """ - Responsibilities include: - - * Analysing - * Modelling - * Deploying - """ - -[[experience]] - title = "Professor" - company = "University X" - company_url = "" - location = "California" - date_start = "2016-01-01" - date_end = "2016-12-31" - description = """Taught electronic engineering and researched semiconductor physics.""" - -+++ +# Begin multi-line descriptions with YAML's `|2-` multi-line prefix. +experience: + - title: CEO + company: GenCoin + company_url: '' + location: California + date_start: '2017-01-01' + date_end: '' + description: |2- + Responsibilities include: + + * Analysing + * Modelling + * Deploying + + - title: Professor + company: University X + company_url: '' + location: California + date_start: '2016-01-01' + date_end: '2016-12-31' + description: Taught electronic engineering and researched semiconductor physics. +--- diff --git a/exampleSite/content/home/experience.md b/exampleSite/content/home/experience.md index cee4976..8ab2313 100644 --- a/exampleSite/content/home/experience.md +++ b/exampleSite/content/home/experience.md @@ -1,11 +1,8 @@ --- # An instance of the Experience widget. -# Documentation: https://sourcethemes.com/academic/docs/page-builder/ +# Documentation: https://wowchemy.com/docs/page-builder/ widget: experience -# Activate this widget? true/false -active: true - # This file represents a page section. headless: true @@ -15,32 +12,34 @@ weight: 40 title: Experience subtitle: -# Date format -# Refer to https://sourcethemes.com/academic/docs/customization/#date-format +# Date format for experience +# Refer to https://wowchemy.com/docs/customization/#date-format date_format: Jan 2006 # Experiences. -# Add/remove as many `experience` blocks below as you like. +# Add/remove as many `experience` items below as you like. # Required fields are `title`, `company`, and `date_start`. # Leave `date_end` empty if it's your current employer. -# You can begin a multiline `description` using YAML's `|-`. +# Begin multi-line descriptions with YAML's `|2-` multi-line prefix. experience: -- company: GenCoin - company_url: "" - date_end: "" - date_start: "2017-01-01" - description: |- - Responsibilities include: - * Analysing - * Modelling - * Deploying - location: California - title: CEO -- company: University X - company_url: "" - date_end: "2016-12-31" - date_start: "2016-01-01" - description: Taught electronic engineering and researched semiconductor physics. - location: California - title: Professor + - title: CEO + company: GenCoin + company_url: '' + location: California + date_start: '2017-01-01' + date_end: '' + description: |2- + Responsibilities include: + + * Analysing + * Modelling + * Deploying + + - title: Professor + company: University X + company_url: '' + location: California + date_start: '2016-01-01' + date_end: '2016-12-31' + description: Taught electronic engineering and researched semiconductor physics. ---