Ensure site.tagline is available before using it

If `site.tagline` isn't set, the `<title>` has nothing after the middot and looks a little silly. This fixes that by checking the tagline is used first.