Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate guest yml files to md files with proper formatting #345

Closed
mattstratton opened this issue Mar 8, 2018 · 1 comment · Fixed by #376
Closed

Migrate guest yml files to md files with proper formatting #345

mattstratton opened this issue Mar 8, 2018 · 1 comment · Fixed by #376
Assignees

Comments

@mattstratton
Copy link
Member

Reference: https://github.com/mattstratton/castanet/blob/master/REFERENCE.md#guest-pages

Before and after files for transformation will be attached to this issue later

@mattstratton
Copy link
Member Author

This is what a guest yml file looks like:

mstratton3.yml

Name: mstratton3
"FullName": "Matt Stratton"
"Bio": "Matt Stratton is a DevOps Evangelist at [PagerDuty](https://www.pagerduty.com), where he help dev and ops teams advance the practice of their craft and become more operationally mature. He collaborates with PagerDuty customers and industry thought leaders in the broader devops community, and his license plate actually says \"DevOps\".  
<br /><br />
Matt has over 20 years experience in IT operations, ranging from large financial institutions such as JPMorganChase and internet firms, including Apartments.com. He has given presentations at ITSM focused events, ChefConf, DevOpsDays, Interop, PINK, and various local groups within the Chicagoland area."
"Twitter": "mattstratton"
"Site": "http://www.mattstratton.com/"
"GitHub": "mattstratton"
"LinkedIn": "https://www.linkedin.com/in/mattstratton"
"Facebook": "https://www.facebook.com/matt.stratton"

This needs to become a file in content/guest/mstratton3.md that looks like this:

+++
title = "Matt Stratton"
Thumbnail = "img/guests/mstratton3.png"
Linkedin = "mattstratton"
GitHub = "mattstratton"
Facebook = "matt.stratton"
date = "2017-04-27T13:53:32-05:00"
Twitter = "mattstratton"
Type = "guest"
Website = "https://www.mattstratton.com"
+++
Matt Stratton is a DevOps Evangelist at [PagerDuty](https://www.pagerduty.com), where he help dev and ops teams advance the practice of their craft and become more operationally mature. He collaborates with PagerDuty customers and industry thought leaders in the broader devops community, and his license plate actually says \"DevOps\".  
<br /><br />
Matt has over 20 years experience in IT operations, ranging from large financial institutions such as JPMorganChase and internet firms, including Apartments.com. He has given presentations at ITSM focused events, ChefConf, DevOpsDays, Interop, PINK, and various local groups within the Chicagoland area.

Note that there may be other fields in the guest file - tl;dr they should just be converted to a frontmatter field with the same name. Also, we don't need the escaped quotes in the content, but it's okay if they are there and we can clean up manually later.

I don't THINK there are fields in the guest file that aren't in the example; I am pretty sure this is a comprehensive one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants