add top and dynamic variables to generated article templates

also re-work the pod a little