Skip to content

Recipe pages backlink points to hardcoded "/" #76

@DSestu

Description

@DSestu

The "going back" arrow, visible in recipe pages, points to "/".

This is an issue when hosting the template on Github pages, because the pages root may not be "/".

The part responsible of this is the following:

<a href="/" class="back bg-white rounded-full block absolute top-6 md:top-10 left-6 md:left-10 p-4 md:p-6 z-10">

I managed to fix this issue by changing it to:

<a href="{{ site.baseurl }}/" class="back bg-white rounded-full block absolute top-6 md:top-10 left-6 md:left-10 p-4 md:p-6 z-10">

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