From 4c04dcdf189dc6b665bf4960317f93923f58cce5 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 12 Aug 2019 11:59:43 -0400 Subject: Added the foundations for the blog, changed index and refactoring some code --- .idea/fileTemplates/EJS - Alee Productions.ejs | 17 ++++++++++++++ .../fileTemplates/JS - Alee Productions Routes.js | 27 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .idea/fileTemplates/EJS - Alee Productions.ejs create mode 100644 .idea/fileTemplates/JS - Alee Productions Routes.js (limited to '.idea/fileTemplates') diff --git a/.idea/fileTemplates/EJS - Alee Productions.ejs b/.idea/fileTemplates/EJS - Alee Productions.ejs new file mode 100644 index 0000000..dd0d052 --- /dev/null +++ b/.idea/fileTemplates/EJS - Alee Productions.ejs @@ -0,0 +1,17 @@ + + + + + <% include ./includes/header %> + + + + <% include ./includes/navbar %> +
+

Title

+

Description.

+
+ <% include ./includes/footer %> + + + \ No newline at end of file diff --git a/.idea/fileTemplates/JS - Alee Productions Routes.js b/.idea/fileTemplates/JS - Alee Productions Routes.js new file mode 100644 index 0000000..f73f82d --- /dev/null +++ b/.idea/fileTemplates/JS - Alee Productions Routes.js @@ -0,0 +1,27 @@ +/********************************* + + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +**************************************/ +const express = require("express"); +const router = express.Router(); + +router.get('/', (req, res) => { + res.render('title', {title: 'title | Alee Productions'}); + }); + +module.exports = router; \ No newline at end of file -- cgit v1.2.3