aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vscode/templates/Alee Productions Routes.js27
-rw-r--r--.vscode/templates/EJS - Alee Productions.ejs17
2 files changed, 44 insertions, 0 deletions
diff --git a/.vscode/templates/Alee Productions Routes.js b/.vscode/templates/Alee Productions Routes.js
new file mode 100644
index 0000000..f73f82d
--- /dev/null
+++ b/.vscode/templates/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 <https://www.gnu.org/licenses/>.
+
+**************************************/
+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
diff --git a/.vscode/templates/EJS - Alee Productions.ejs b/.vscode/templates/EJS - Alee Productions.ejs
new file mode 100644
index 0000000..dd0d052
--- /dev/null
+++ b/.vscode/templates/EJS - Alee Productions.ejs
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+ <% include ./includes/header %>
+</head>
+
+<body>
+ <% include ./includes/navbar %>
+ <div class="jumbotron special-color">
+ <h2 class="display-4">Title</h2>
+ <p class="lead">Description.</p>
+ </div>
+ <% include ./includes/footer %>
+</body>
+
+</html> \ No newline at end of file