Skip to content
This repository was archived by the owner on Sep 28, 2023. It is now read-only.
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Image tag fixup makes some potentially inconsistent assumptions about paths #192

Description

@jbmorley

Looks like this:

image_url = (os.path.splitext(src[1:])[0] + "/").lower()
image_document = app.jinja_env.site.post(image_url)

Should probably look like this:

image_url = page.url_for_path(src[1:])
image_document = page.post(image_url)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions