diff --git a/about.html b/about.html deleted file mode 100644 index 3a27601..0000000 --- a/about.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - Ellpeck.de - About - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-

About

-

- Sometimes, some people ask me some questions about myself or my projects, so I decided to compile a list of some of the answers in a Q&A-like fashion so that I don't have to keep repeating them. If you're curious about me, this might be interesting to you! -

-
- The content that should be here is dynamically generated. Please enable JavaScript if you see this. -
- -
-
- - - - - - - - - - - - \ No newline at end of file diff --git a/blog.html b/blog.html deleted file mode 100644 index 5f04d18..0000000 --- a/blog.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - - - Ellpeck.de - Blog - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-

Blog

-

- Occasionally I enjoy writing stuff. So here's some of the stuff I've written. Just click on any of the headers to expand the post. -

-
- The content that should be here is dynamically generated. Please enable JavaScript if you see this. -
- -
-
- - - - - - - - - - - - \ No newline at end of file diff --git a/generate.js b/generate.js deleted file mode 100644 index a7f0ad7..0000000 --- a/generate.js +++ /dev/null @@ -1,39 +0,0 @@ -var fs = require("fs"); - -var subPages = [ - "index", - "projects", - "social", - "about", - "blog" -]; - -if (process.argv[2] == "delete") { - for (var s of subPages) { - var path = s + ".html"; - if (fs.existsSync(path)) { - console.log("Deleting " + path); - fs.unlinkSync(path); - } - } -} else { - var main = fs.readFileSync("templates/main.html").toString(); - for (var s of subPages) { - var path = s + ".html"; - var content = main; - - var template = fs.readFileSync("templates/" + path).toString(); - content = content.replace("INSERT CONTENT", template); - - var titleIndex = template.indexOf("TITLE") + 5; - var title = template.substring(titleIndex, template.indexOf("-->", titleIndex)); - content = content.split("INSERT TITLE").join(title); - - var descIndex = template.indexOf("DESCRIPTION") + 11; - var desc = template.substring(descIndex, template.indexOf("-->", descIndex)) - content = content.split("INSERT DESCRIPTION").join(desc); - - console.log("Creating " + path); - fs.writeFileSync(path, content); - } -} \ No newline at end of file diff --git a/index.html b/index.html index f85bfbf..b514e07 100644 --- a/index.html +++ b/index.html @@ -5,9 +5,9 @@ - Ellpeck.de + Ellpeck.de - + @@ -16,8 +16,8 @@ - - + + @@ -34,19 +34,13 @@ - +