Without the SITEURL, the sidebar template generates a purely relative link to an announcement article, which works on the front page, but fails on sub pages.
This fix makes the url absolute with the SITEURL.
NOTE: this fix will not work on a local build unless you set, -before building-, the PELICAN_SITE_URL environment variable to http://localhost:8000 (or whatever full URL points to your local build)
Without the SITEURL, the sidebar template generates a purely relative link to an announcement article, which works on the front page, but fails on sub pages.
This fix makes the url absolute with the SITEURL.
NOTE: this fix will not work on a local build unless you set, -before building-, the PELICAN_SITE_URL environment variable to http://localhost:8000 (or whatever full URL points to your local build)