From 9c6afac77916a8e118fbb10dda570f924cae0cc3 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Sat, 10 Feb 2018 12:05:17 -0500 Subject: [PATCH] added meta stuff for google --- includes/header.html | 2 ++ package.json | 26 ++++++++++++++++++++++++++ robots.txt | 1 + server.js | 2 +- sitemap.txt | 17 +++++++++++++++++ 5 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 package.json create mode 100644 robots.txt create mode 100644 sitemap.txt diff --git a/includes/header.html b/includes/header.html index 11feafe..25cdabd 100644 --- a/includes/header.html +++ b/includes/header.html @@ -10,6 +10,8 @@ + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..259c0f5 --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "jrtechs", + "version": "1.0.0", + "description": "Personal blog", + "main": "server.js", + "dependencies": {}, + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "node server.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jrtechs/NodeJSBlog.git" + }, + "keywords": [ + "nodejs", + "blog" + ], + "author": "Jeffery Russell", + "license": "ISC", + "bugs": { + "url": "https://github.com/jrtechs/NodeJSBlog/issues" + }, + "homepage": "https://github.com/jrtechs/NodeJSBlog#readme" +} diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..a339bee --- /dev/null +++ b/robots.txt @@ -0,0 +1 @@ +SITEMAP: http://jrtechs.net/sitemap.txt \ No newline at end of file diff --git a/server.js b/server.js index 5deb61a..78416d7 100644 --- a/server.js +++ b/server.js @@ -34,7 +34,7 @@ app.use(function(request, res) { require("./img/image.js").main(res, filename); } - else if(filename.includes("/css/")) + else if(filename.includes("/css/") || filename.includes(".txt")) { includes.sendCSS(res, filename) } diff --git a/sitemap.txt b/sitemap.txt new file mode 100644 index 0000000..74dcf3e --- /dev/null +++ b/sitemap.txt @@ -0,0 +1,17 @@ +http://jrtechs.net +http://www.jrtechs.net/programming/using-english-conventions-to-write-clean-code +http://www.jrtechs.net/web-development/node.js-vs-php +http://www.jrtechs.net/other/why-do-i-blog +http://www.jrtechs.net/web-development/history-of-jrtechs +http://www.jrtechs.net/web-development/why-i-stopped-using-wordpress +http://www.jrtechs.net/projects/musical-floppy-drives +http://www.jrtechs.net/projects/java-fibonacci-solver +http://www.jrtechs.net/projects/batch-minecraft-launcher-with-auto-restart +http://www.jrtechs.net/projects/ackermann-function-written-in-java +http://www.jrtechs.net/projects/time-lapse-programming-zombie-game +http://www.jrtechs.net/category/java +http://www.jrtechs.net/category/other +http://www.jrtechs.net/category/projects +http://www.jrtechs.net/category/web-development +http://www.jrtechs.net/category/hardware +http://www.jrtechs.net/category/programming \ No newline at end of file