aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/blocks/docker_gogs_dev/Dockerfile2
-rw-r--r--templates/ng/base/head.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/docker/blocks/docker_gogs_dev/Dockerfile b/docker/blocks/docker_gogs_dev/Dockerfile
index a016409f..d1b96bf4 100644
--- a/docker/blocks/docker_gogs_dev/Dockerfile
+++ b/docker/blocks/docker_gogs_dev/Dockerfile
@@ -32,7 +32,7 @@ ENV GOGS_PATH $GOPATH/src/github.com/gogits/gogs
ENV GOGS_CUSTOM_CONF_PATH $GOGS_PATH/custom/conf
ENV GOGS_CUSTOM_CONF $GOGS_CUSTOM_CONF_PATH/app.ini
-RUN git clone -b dev https://github.com/gogits/gogs.git $GOPATH/src/github.com/gogits/gogs
+RUN git clone -b dev https://github.com/gogits/gogs.git $GOGS_PATH
# WORKDIR $GOGS_PATH
WORKDIR /go/src/github.com/gogits/gogs
RUN go get -d && go build
diff --git a/templates/ng/base/head.tmpl b/templates/ng/base/head.tmpl
index 81545344..40c3899e 100644
--- a/templates/ng/base/head.tmpl
+++ b/templates/ng/base/head.tmpl
@@ -12,7 +12,7 @@
<link rel="shortcut icon" href="/img/favicon.png" />
{{if CdnMode}}
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
{{else}}
@@ -35,4 +35,4 @@
</head>
<body>
<div id="wrapper">
- <noscript>Please enable JavaScript in your browser!</noscript> \ No newline at end of file
+ <noscript>Please enable JavaScript in your browser!</noscript>