mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 10:22:53 +00:00
fixed date on index page
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
var mongoose = require('mongoose');
|
||||
|
||||
var postsSchema = new mongoose.Schema({
|
||||
title: String,
|
||||
date: String,
|
||||
intro: String,
|
||||
path: String,
|
||||
fileName: String,
|
||||
updated: {type: Date, default: Date.now}
|
||||
});
|
||||
|
||||
|
||||
mongoose.model('posts', postsSchema);
|
||||
@@ -16,7 +16,7 @@
|
||||
<% for (p in blogPosts) {%>
|
||||
<h2 class="blog-post-title"><%=blogPosts[p].title%></h2>
|
||||
|
||||
<p class="blog-post-meta"><%=blogPosts[p].date%> by Mitchell</p>
|
||||
<p class="blog-post-meta"><%=blogPosts[p].date%></p>
|
||||
|
||||
<p><%=blogPosts[p].intro%>
|
||||
<br>
|
||||
@@ -89,8 +89,6 @@
|
||||
<Span class="colorRed"><%=" " + returnParameters.validation.date%></Span>
|
||||
<%}%>
|
||||
|
||||
<br>
|
||||
|
||||
<input name="date" id="datepicker" placeholder="mm/dd/yyyy" class="form-control">
|
||||
<br>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user