MozillaIndia / blog

Replacement for the wordpress engine at blog.mozillaindia.org
https://mozillaindia.github.io/blog/
Mozilla Public License 2.0
1 stars 14 forks source link

add _data folder to store author details #20

Closed srishti-nema closed 5 years ago

srishti-nema commented 5 years ago

Description

Changes proposed in this pull request:

-Added an _data folder to store the details of various authors of blog posts. -Didn't have any particular details to start with, so I have just created a format.

Related Issues and PRs

Fixes #14

Mobile & Desktop Screenshots (If any UI changes)

cseas commented 5 years ago

@asdofindia Are all the author usernames and other data available somewhere at a single place so we can add them here to start with?

Does the Mozilla India Wordpress blog have a separate page that lists out all the authors like this?

karx commented 5 years ago

@cseas I am in favour of approving this PR, and a similar one https://github.com/MozillaIndia/blog/pull/16/files with adding the base set of layouts and includes there.

This will get the ball rolling.

asdofindia commented 5 years ago

@cseas, all the author names used in the _posts can be obtained by something like ack author: | uniq I think.

Then these author $name can be looked up on https://blog.mozillaindia.org/author/:name

That will give their full name. That is the only extra info publicly visible.

The dump of the blog also includes their email addresses, but I don't think we should add that to a public repository (neither is it required).

As to avatar, bio, etc we are starting fresh anyhow (as the old blog did not have these)

asdofindia commented 5 years ago

Merged. Thanks.