def url_joiner(url, path, trailing=None):
    """Join to sections for a URL and add proper forward slashes"""
    url_link = "/".join(s.strip("/") for s in [url, path])
    if trailing:
        url_link += "/"
    return url_link