<metal:block define-macro="links"
             i18n:domain="plonegetpaid">

  <div style="margin-top: 2em"
       tal:define="privacy_policy_exists context/@@privacy-policy/privacy_policy;
                   disclaimer_exists context/@@disclaimer/disclaimer">
    <a href="" target="_blank"
       tal:condition="privacy_policy_exists"
       tal:attributes="href string:${context/portal_url}/@@privacy-policy"
       i18n:translate=""> Privacy Policy </a>
    <tal:ifany condition="python: privacy_policy_exists and disclaimer_exists">
      |
    </tal:ifany>
    <a href="" target="_blank"
       tal:condition="disclaimer_exists"
       tal:attributes="href string:${context/portal_url}/@@disclaimer"
       i18n:translate=""> Disclaimer </a>
  </div>

</metal:block>