Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kevin Lyda
gqgmc
Commits
2e991c7c
Commit
2e991c7c
authored
Feb 20, 2017
by
Kevin Lyda
💬
Browse files
Look in the right place for index.html
parent
35424b70
Pipeline
#1334
passed with stage
in 2 minutes and 6 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
server/pages/pages.go
View file @
2e991c7c
...
...
@@ -62,7 +62,7 @@ func (p Pages) indexHandler(w http.ResponseWriter, r *http.Request) {
indexPg
.
Serial
=
"ERROR"
}
index
,
_
:=
FSString
(
false
,
"index.html"
)
index
,
_
:=
FSString
(
false
,
"
/templates/
index.html"
)
t
,
err
:=
template
.
New
(
"index.html"
)
.
Parse
(
index
)
if
err
!=
nil
{
log
.
Printf
(
"Template error: %s
\n
"
,
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment