Skip to content

[Bug] Hash points to SSH link #5

@DocKDE

Description

@DocKDE

Hi! Thanks for making this!

I'm not entirely sure but I have this config in my mdbook:

[preprocessor.gitinfo]
enable = true
header = true
font-size = "0.8em"
align.footer = "right"
timezone = "source"
date-format = "%d %B %Y"
time-format = "@ %H:%M"
hyperlink = true
message.header = "Last Updated: <em>{{date}} CE(S)T</em>"
message.footer = "Commit: {{hash}}"
margin.footer = ["10rem", "0", "0", "0"]

Everything is looking fine but the link for the hash in the footer starts with ssh:// instead of https://. I suspect this is because my remote also uses SSH. Any chance of fixing this maybe?

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