Skip to content

Issues with latest Clerk, relative links, index #496

@sritchie

Description

@sritchie

I'm attempting to convert the r2r essays to the latest clerk to use the new index.

Relative links in markdown fail

Relative links in the static build should be specified relative to the root address (like reality.mentat.org). When I include

;; Get started reading at the [Introduction](essays/reality/introduction).

from essays/reality/index.clj, the link tries to redirect to essays/reality/essays/reality/introduction, relative to the current page.

image

links fail without .clj

when I add a link to essays/reality/introduction or introduction or introduction.html, thinking of the final static build, Clerk doesn't figure out the file i mean. this all works if I link to introduction.md. But will that work in the final static build, with a rewrite?

Index

When I specify an index and click the index button at the top of the page, I don't go back to the index... I see

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions