Skip to content

Add branchname to pathname #67

@Tom-van-Woudenberg

Description

@Tom-van-Woudenberg

As far as I understand, the path name is everything which follows on the baseurl. If the baseurl is set to <user/organization>.io/ then the pathname is everything which follows after. I think this is defined somewhere in the html files. Maybe it's this line?

<html lang="en" data-content_root="../../" >

it seems that pathname is used at least for the utterances script. It takes the baseurl in _config.yml and pastes the pathname after it:
image
However, the path name is not included. This results in this utterances script redirecter back to the page on root always, instead of to the page on the specific branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions