Fix static files generation

The `params` variable is nil when we run `showoff static`.
Remove some extra spaces
Combine two conditions into one
Merge pull request #152 from xianhuazhou/master

assign the feedback settings only if params is not nil