@@ -42,48 +42,47 @@ HOMEPAGE COPIED FROM GITHUB-------------
42
42
---------------------------------- - --->
43
43
<div class =" header-wrapper" >
44
44
<section class =" hero-top" >
45
- <div class =" header" >
46
- <!-- navigation links -->
47
- <div class =" header-nav" >
48
- <nav class =" nav" >
49
- <div class =" nav-center" >
50
- <a class =" nav-item" href =" /" >
51
- <b >Home</b >
52
- </a >
53
- <% if (! currentUser){% >
54
- < a class = " nav-item" id= " regbutton" >
55
- < b> Sign- Up/ Login< / b>
56
- < / a>
57
- < % } else {% >
58
- < a class = " nav-item" href= " /blogs/new" >
59
- < b> New Blog< / b>
60
- < / a>
61
- < a class = " nav-item" href= " /logout" >
62
- < b> Sign Out< / b>
63
- < / a>
64
- < a class = " nav-item -end" >
65
- < b> Welcome < %= currentUser .username % >< / b>
66
- < / a>
67
- < % }%>
68
- </div >
69
- </nav >
70
- </div >
71
- <!-- end of navigation links -->
72
-
73
- <!-- header titles -->
74
- <div class =" header-title" >
75
- <section class =" hero is-medium has-text-centered" >
76
- <div class =" hero-body" >
77
- <div class =" container" >
78
- <h1 class =" title is-1" >Ankush Dutt</h1 >
79
- <h3 class =" subtitle is-3" >The Daily Awesome</h3 >
80
- </div >
45
+ <div class =" header" >
46
+ <!-- navigation links -->
47
+ <div class =" header-nav" >
48
+ <nav class =" nav" >
49
+ <div class =" nav-center" >
50
+ <a class =" nav-item" href =" /" >
51
+ <b >Home</b >
52
+ </a >
53
+ <% if (! currentUser){% >
54
+ < a class = " nav-item" id= " regbutton" >
55
+ < b> Sign- Up/ Login< / b>
56
+ < / a>
57
+ < % } else {% >
58
+ < a class = " nav-item" href= " /blogs/new" >
59
+ < b> New Blog< / b>
60
+ < / a>
61
+ < a class = " nav-item" href= " /logout" >
62
+ < b> Sign Out< / b>
63
+ < / a>
64
+ < a class = " nav-item -end" >
65
+ < b> Welcome < %= currentUser .username % >< / b>
66
+ < / a>
67
+ < % }%>
68
+ </div >
69
+ </nav >
70
+ </div >
71
+ <!-- end of navigation links -->
72
+ <!-- header titles -->
73
+ <div class =" header-title" >
74
+ <section class =" hero is-medium has-text-centered" >
75
+ <div class =" hero-body" >
76
+ <div class =" container" >
77
+ <h1 class =" title is-1" >Ankush Dutt</h1 >
78
+ <h3 class =" subtitle is-3" >The Daily Awesome</h3 >
79
+ </div >
80
+ </div >
81
+ </section >
82
+ </div >
83
+ <!-- end of header titles -->
81
84
</div >
82
85
</section >
83
- </div >
84
- <!-- end of header titles -->
85
- </div >
86
- </section >
87
86
</div >
88
87
<!-- end of header -->
89
88
@@ -93,16 +92,16 @@ HOMEPAGE COPIED FROM GITHUB-------------
93
92
<div class =" columns is-centered is-multiline has-text-centered" >
94
93
<div class =" column is-8" >
95
94
<% blogs .forEach (function (blog ) { % >
96
- < h3 class = " title is-3" >< b>< a href= " post.html " class = " has-text-dark" >< %= blog .title % >< / a>< / b>< / h3>
95
+ < h3 class = " title is-3" >< b>< a href= " /blog/<%=blog._id %> " class = " has-text-dark" >< %= blog .title % >< / a>< / b>< / h3>
97
96
<!-- < h4 class = " title is-4 is-spaced" >< %= blog .body % >< / h4> -->
98
- < h6 class = " subtitle is-6" > Posted by < b>< em>< %= blog .author .username % >< / em>< / b> on April 7th 2017 at 9 : 33pm < / h6>
97
+ < h6 class = " subtitle is-6" style = " padding-top: 10px; " > Posted by < b>< em>< %= blog .author .username % >< / em>< / b> on April 7th 2017 at 9 : 33pm < / h6>
99
98
< hr/ >
100
99
< % })%>
101
100
<!-- pagingation -->
102
- <nav class =" has-text-right" >
101
+ <!-- < nav class="has-text-right">
103
102
<a class="pagination-next" disabled>Newer Posts</a>
104
103
<a class="pagination-previous">Older Posts</a>
105
- </nav >
104
+ </nav> -->
106
105
<!-- end of pagination -->
107
106
</div >
108
107
</div >
0 commit comments