Open Scotchester opened 9 years ago
We now check to see if cfpb.gov
is in the user's email address and modify the templates appropriately.
I still want to make the default metadata smarter depending on the path.
What do you have in mind? Auto-complete everything right off the bat if you're a CFPB employee?
Yeah. A number of things (author stuff, license, maybe others I'm forgetting) don't need to be asked at all if you're a CFPB employee.
We could also install the CFPB specific theming based on email.
Actually, Chris already partially implemented it that way. I think I'd prefer it be more explicit, though. There's a possibility where someone with a cfpb.gov email address might not want to generate with our theme.
To clarify the changes I made:
cfpb.gov
is in the email address.
If we started the generator off with the question
Is this going to be a Consumer Financial Protection Bureau project? (y/n)
, we will enable ourselves toa. Have smarter default values for both CFPB and non-CFPB project metadata, and b. Include things like our licensed font
@font-face
rules if appropriate, or not.Having the ability to do (b) would clear up some of the confusion we encountered in #79.