north / generator-style-prototype

Yeoman Generator for Style Prototypes
362 stars 49 forks source link

Added google fonts syntax example #35

Closed danielroot closed 11 years ago

danielroot commented 11 years ago

It was a bit unclear to me exactly how to add the Google fonts in and took a few tries to get the right config. This example may help clarify.

fallenturtle commented 10 years ago

Most likely a stupid question, but I'm confused... I've generated the style prototype scaffold (files) but I can't figure out which file I'm supposed to add the google fonts javascript code to as mentioned in the _config.yml. I thought there might be a copy of this config file in the files that were generated but I can't track it down. Any help would be appreciated. Thanks.

Snugug commented 10 years ago

@fallenturtle what version of the generator are you using? The current version doesn't have special Google Fonts handling like the 1.x version did. In the current version, simply add it to index.html

fallenturtle commented 10 years ago

@Snugug 2.0.0-alpha.19 I so assumed it needed to go in some special config file that the obvious answer didn't occur to me. I'll stick in in the index as you mentioned. Thanks!