1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

fixed date on index page

This commit is contained in:
2016-01-07 00:17:21 -06:00
parent c271b472b8
commit b342faa1b5
2 changed files with 1 additions and 16 deletions

View File

@@ -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);

View File

@@ -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>