Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: inconsistent {{ config.rootUrl }} behaviour during lith serve when rendering categories paths #97

Closed
1 task done
Ladas552 opened this issue Mar 8, 2025 · 0 comments
Labels
bug Something isn't working cmd:serve Serve command

Comments

@Ladas552
Copy link
Contributor

Ladas552 commented Mar 8, 2025

Issues

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

Operating System

Linux/NixOS

Actual Behavior

Sometimes it translates the url from norgolith.toml into http://localhost:3030/ and sometimes it doesn't.

Image
The page being http://localhost:3030/categories

With original template

{# Styling and favicon #}
<link rel="stylesheet" href="{{ config.rootUrl }}/assets/css/styles.min.css" />

Expected behavior

It should translate every instants of config.rootUrl for every page.

Steps to reproduce

  1. lith theme pull github:NTBBloodbath/norgowind
  2. lith serve
  3. go to http://localhost:3030/categories

Other information

No response

Help

No

Implementation help

No response

@Ladas552 Ladas552 added the bug Something isn't working label Mar 8, 2025
@NTBBloodbath NTBBloodbath added the cmd:serve Serve command label Mar 8, 2025
@NTBBloodbath NTBBloodbath changed the title [Bug]: inconsistante {{ config.rootUrl}} behaviour during lith serve [Bug]: inconsistent {{ config.rootUrl }} behaviour during lith serve when using themes Mar 8, 2025
@NTBBloodbath NTBBloodbath changed the title [Bug]: inconsistent {{ config.rootUrl }} behaviour during lith serve when using themes [Bug]: inconsistent {{ config.rootUrl }} behaviour during lith serve when rendering categories paths Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cmd:serve Serve command
Projects
None yet
Development

No branches or pull requests

2 participants