Skip to content

Allow configuration for pathname in addition to host and port #67

@lheberlie

Description

@lheberlie

Hey Pat,

Request:

It would be helpful to allow for configuration while running acetate in server/watch mode to have a pathname in addition to host and port.

Description:

When normally running acetate in server/watch mode the dev server will launch with http://localhost:3000/ where content is served from the build output folder configuration.

It would be helpful to have a configuration option where the build output folder configuration is served from http://localhost:3000/foo/bar and all page metadata would remain available.

Justification

This will help with content creators who are not familiar with the acetate build system to author relative links correctly in markdown (md) pages. Often content creators will go up too far in the relative directory tree [foo](../../../folder/index.html) which works fine when hosted from http://localhost:3000 but after deployment the link is broken.

Contact me if this does not accurately describe the issue.

--Lloyd

cc: @bsvensson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions