Added link for d1 flash cards.
Fixed url.
Fixed logic for api verses.
Added functionality for flash cards for Discovery one.
Modified template logic.
Set scope variable to be more specific.