Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김진우
/
YTMT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강현태
2017-12-02 12:41:57 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
abed43ba5ad5ad04c4bf78abd16baa9765f036ed
abed43ba
1 parent
515255f7
bootstrap, caspherjs, spookyjs 추가
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
routes/index.js
views/index.ejs
routes/index.js
View file @
abed43b
...
...
@@ -3,7 +3,7 @@ var router = express.Router();
/* GET home page. */
router
.
get
(
'/'
,
function
(
req
,
res
,
next
)
{
res
.
render
(
'index'
,
{
title
:
'
Express'
});
res
.
render
(
'index'
,
{
title
:
'
니툰내툰'
});
});
module
.
exports
=
router
;
...
...
views/index.ejs
View file @
abed43b
...
...
@@ -6,6 +6,12 @@
</head>
<body>
<h1>
<
%= title %>
</h1>
<p>
Welcome to
<
%= title %>
</p>
<p>
<
%= title %>
</p>
<tbody>
<th>
name
</th>
<th>
zzzz
</th>
<tr>
</tr>
</tbody>
</body>
</html>
...
...
Please
register
or
login
to post a comment