Skip to content

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

Description

@fabriziofiorucci

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">

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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