Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-10-07 07:11:03 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-07 07:11:03 +0300
commitf700a7d132b3fbe21143d3bb529fc92bd81878fb (patch)
tree9bceaca6e0e266a00cbf85fb13b5058876316be5 /layouts
parent4e20e4a7c352bddbc4537197a25b45fd8ecb7b69 (diff)
Do not hardcode stylesheet paths.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/default.html b/layouts/default.html
index 5b3b6e9e..6ed3de49 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title><%= @item[:title] %> - GitLab Documentation</title>
- <link rel="stylesheet" href="/assets/stylesheets/stylesheet.css">
- <link rel="stylesheet" href="/assets/stylesheets/highlight.css">
+ <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
+ <link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic' rel='stylesheet' type='text/css'>
<!-- you don't need to keep this, but it's cool for stats! -->