fix to avoid undefined variable error on fresh copies of the site

PHP displays a warning about `$tagline` not being defined when you try to access a freshly-cloned instance of this site (at least for me). This checks for the variable in a way that avoids warnings.