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

CSS link using ../.. breaks formatting #63

Open
fabriziofiorucci opened this issue Aug 21, 2024 · 0 comments
Open

CSS link using ../.. breaks formatting #63

fabriziofiorucci opened this issue Aug 21, 2024 · 0 comments

Comments

@fabriziofiorucci
Copy link

Using DuckDuckGo looking for "nginx directives list" (https://duckduckgo.com/?q=nginx+directives+list&ia=web) the first link is:

https://nginx.org/en/docs//dirindex.html

which has a double slash. This doesn't render correctly as the css stylesheet HREF uses a ../.. prefix:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Alphabetical index of directives</title><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="stylesheet" href="../../css/style_en.css"></head><body><div id="banner"><div id="banner-content">

It would probably make sense to change:

<link rel="stylesheet" href="../../css/style_en.css">

into

<link rel="stylesheet" href="/css/style_en.css">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant