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

What to expect on initial sync #73

Open
sskylar opened this issue Jun 8, 2016 · 2 comments
Open

What to expect on initial sync #73

sskylar opened this issue Jun 8, 2016 · 2 comments

Comments

@sskylar
Copy link
Member

sskylar commented Jun 8, 2016

Re http://learn.siteleaf.com/themes/github-sync/#faq

We already mention normalizing YAML formatting. A few other changes Siteleaf may have to make:

  • tag (string) becomes tags (array)
  • category (string) becomes categories (array)
  • category folders (e.g. /featured/_posts) are collapsed and moved to front matter

Anything else? cc @larryfox

@larryfox
Copy link
Contributor

larryfox commented Jun 8, 2016

A few more yaml changes I can think of:

  • for posts
    • we'll add a date and/or title if they we're inferred from the path (e.g. _posts/2016-06-07-hello.md)
  • we normalize dates to specify time+zone
  • we'll quote some strings
  • modify array indenting (annoys me)

@larryfox
Copy link
Contributor

larryfox commented Jun 8, 2016

A more comprehensive example of changes is probably the jekyll test site:

https://github.com/larryfox/test/commit/03ad78e4eea058e8794ff5522b9f78e92bad7f64?diff=split

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

No branches or pull requests

2 participants