diff --git a/examples/index.tpl b/examples/index.tpl
index 8134d9d..fb98992 100644
--- a/examples/index.tpl
+++ b/examples/index.tpl
@@ -9,12 +9,12 @@
diff --git a/examples/routes/book-detail/index.tpl b/examples/routes/book-detail/index.tpl
index 3ceeeb8..bf51ea4 100644
--- a/examples/routes/book-detail/index.tpl
+++ b/examples/routes/book-detail/index.tpl
@@ -8,23 +8,30 @@
-
-
-
-
<%= summary %>
-
信息:
-
- <% for (var attr in attrs) { %>
- - <%= attrs[attr] %>
- <% } %>
-
-
标签:
-
- <% for (var i = 0; i < tags.length; i++) { %>
- - <%= tags[i].name %>
- <% } %>
-
-
+
+
+
+
+ <%= summary %>
+
+
信息:
+
+ <% for (var attr in attrs) { %>
+ -
+ <%= attrs[attr] %>
+
+ <% } %>
+
+
标签:
+
+ <% for (var i = 0; i < tags.length; i++) { %>
+ -
+ <%= tags[i].name %>
+
+ <% } %>
+
+
diff --git a/examples/server.js b/examples/server.js
index 11ded6a..2d7e33a 100644
--- a/examples/server.js
+++ b/examples/server.js
@@ -63,6 +63,6 @@ app.use(function(req, res) {
})
app.listen(port, function() {
- console.log('🌏connect runs at http://localhost:', port)
+ console.log('🌏connect runs at http://localhost:' + port)
opn('http://localhost:' + port)
})