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

Author Information #4

Open
patdavid opened this issue Jun 1, 2016 · 1 comment
Open

Author Information #4

patdavid opened this issue Jun 1, 2016 · 1 comment
Assignees

Comments

@patdavid
Copy link
Member

patdavid commented Jun 1, 2016

In an effort to clean up the frontmatter on posts, I thought it would make sense to possibly move author information to either separate metadata yaml files, or as template partials. I'm thinking more the former than the latter with using the metalsmith-metadata plugin which will allow us to load arbitrary metadata from external files.

I already keep author avatar images in:
https://github.com/pixlsus/website/tree/master/src/images/authors

I guess we could move the avatars + the .yaml file to a new location and keep it there. Then just make sure the author: metadata matches an entry in the .yaml file. This would really help clean up posts and allow us to keep all author data in sync across all posts.

@patdavid patdavid self-assigned this Jun 1, 2016
@paperdigits
Copy link
Contributor

This seems to be exactly what we want: http://blog.lecomte.me/posts/2015/build-complex-metalsmith-plugin/

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