[lib] anchor css, js to base_uri
[lib] permalink as used in (eg) recent_posts needs to include `/blog/`