Skua has some routines to handle URLs.
Turning relative links into URLs.
A path can be turned into a URL using
skua.urls.path2url. This function requires that all of the urls in your project begin from the source directory of your static site.
pathlib.Pathobject pointing to the file
site_url– a string with the url for your website.
source_directory– where all the source files are stored.