diff --git a/index.html b/index.html index 3baeb0d..7d84fcc 100644 --- a/index.html +++ b/index.html @@ -92,7 +92,7 @@
I am a big believer in learning by doing. Basically the best way to learn a new programming language, or any other skill for that matter, is to dive in, find a project you are interested in building and just start. Sure you'll get plenty of things wrong but everytime you do you'll have a better understanding of why things failed and be better equipped to not make the same mistakes later on.
Compared to other people I know I started out programming relatively late. Before starting university in 2006 I hadn't really done any kind of programming. The language of choice at my university was Java so that was the first language I started programming in.
diff --git a/learning-javascript.html b/learning-javascript.html index 3baeb0d..7d84fcc 100644 --- a/learning-javascript.html +++ b/learning-javascript.html @@ -92,7 +92,7 @@I am a big believer in learning by doing. Basically the best way to learn a new programming language, or any other skill for that matter, is to dive in, find a project you are interested in building and just start. Sure you'll get plenty of things wrong but everytime you do you'll have a better understanding of why things failed and be better equipped to not make the same mistakes later on.
Compared to other people I know I started out programming relatively late. Before starting university in 2006 I hadn't really done any kind of programming. The language of choice at my university was Java so that was the first language I started programming in.
diff --git a/posts/build.js b/posts/build.js index 7011977..ab7c593 100644 --- a/posts/build.js +++ b/posts/build.js @@ -14,8 +14,8 @@ marked.setOptions({ posts.forEach(function (post, i) { var source = marked(fs.readFileSync(path.join(__dirname, post.source), 'utf-8')) - var page = template.replace('{source}', source).replace('{date}', post.date).replace('{title}', post.title) var link = post.source.replace('.md', '.html') + var page = template.replace('{source}', source).replace('{permalink}', '' + post.date + ', Mathias Buus').replace('{title}', post.title) fs.writeFileSync(path.join(__dirname, '..', link), page) if (i === 0) fs.writeFileSync(path.join(__dirname, '../index.html'), page) diff --git a/posts/template.html b/posts/template.html index b4d24ca..7e1efcb 100644 --- a/posts/template.html +++ b/posts/template.html @@ -92,7 +92,7 @@