diff options
author | Kim Laberinto <git@kimlaberinto.com> | 2021-01-30 06:29:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 06:29:13 +0300 |
commit | 26dde5274fb57dad6445bc2eeb4937865512070a (patch) | |
tree | 623ca0d9dac9bbe70b8f0eb107894b8d1d47f611 /exampleSite | |
parent | ef43e8347388e20a96e2472088623b8901da21bb (diff) |
feat: add experiences widget (#37)
* Add experiences widget in card style format
* Add basic styling to dates and location in experiences
* Add example for experiences widget
* Adjust formatting as suggested
* Adjust style of location and dates
* Omits seperator if organization or location is not provided
* Fix tabs/spacing of code
* Adds hide_entry optional variable
* Add organization name and url hyperlinking
* Update example experiences widget with new features
* Reorder widgets on homepage
* refactor: make experiences responsive
* Remove hide_entry
* Refactor experiences code
* refactor: migrate from toml to yaml
Co-authored-by: Wang Chucheng <me@wangchucheng.com>
Closes #35
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/homepage/blank.html | 2 | ||||
-rw-r--r-- | exampleSite/content/homepage/experiences.md | 48 |
2 files changed, 49 insertions, 1 deletions
diff --git a/exampleSite/content/homepage/blank.html b/exampleSite/content/homepage/blank.html index 592af57..0b035f7 100644 --- a/exampleSite/content/homepage/blank.html +++ b/exampleSite/content/homepage/blank.html @@ -2,7 +2,7 @@ title: Blank draft: false -weight: 4 +weight: 5 widget: handler: blank diff --git a/exampleSite/content/homepage/experiences.md b/exampleSite/content/homepage/experiences.md new file mode 100644 index 0000000..cdc0a04 --- /dev/null +++ b/exampleSite/content/homepage/experiences.md @@ -0,0 +1,48 @@ +--- +title: Experiences +draft: false +experiences: + - title: Example Role 1 + organization: + name: Example Organization 1 + url: https://example.org + dates: '2019 - Present' + location: Country + writeup: > + Donec scelerisque egestas augue at tempor. Fusce faucibus magna in. + - Suspendisse lacinia mauris a laoreet vehicula. + - Aenean tincidunt enim vitae ante blandit tempor. + - Nam tincidunt diam quis lorem rutrum ullamcorper. + - title: Example Role 2 + organization: + name: Example Organization 2 + url: https://example.org + dates: '2017 - 2019' + location: Country + writeup: > + **Aliquam** at **rutrum** ante. In sed quam faucibus. + +weight: 3 +widget: + handler: experiences + + # Options: sm, md, lg and xl. Default is md. + width: lg + + sidebar: + # Options: left and right. Leave blank to hide. + position: left + # Options: sm, md, lg and xl. Default is md. + scale: md + + background: + # Options: primary, secondary, tertiary or any valid color value. Default is primary. + color: + image: + # Options: auto, cover and contain. Default is auto. + size: + # Options: center, top, right, bottom, left. + position: + # Options: fixed, local, scroll. + attachment: +---
\ No newline at end of file |