Skip to content

[Feature]: config.rootUrl should return localhost in lith dev #216

Description

@Ladas552

Issues

  • I have checked existing issues and there no existing ones with the same request.

Feature description

Right now {{ config.rootUrl }} in templates returns the string of the site, it makes sense, but if used in something like a navbar, during lith dev I just end up on the production site, instead of the development localhost site, by accident.

A qol feature that turns {{ config.rootUrl }} into something similar to {{ post.permalink }} which redirects to the location inside the dev environment, instead of production site.

Help

No

Implementation help

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions