Cleaned up ERB and global variable usage in site/index view