*sigh* the site variable didn't work in posts, so just hardcoded url in. This is bad, and will cause the file links to break locally, as well as if we ever change the url of the site, but needed to get it done before eod