made blog post on home page also a link
This commit is contained in:
parent
81ce90dfc4
commit
12b47d1d77
@ -1 +1 @@
|
||||
let commits = `update -- DeaDvey (Sun May 26 16:48:02 2024 +0100)<br/> update -- DeaDvey (Sun May 26 16:42:26 2024 +0100)<br/> update -- DeaDvey (Sun May 26 16:36:21 2024 +0100)<br/> First push in a while -- DeaDvey (Sun May 26 16:34:21 2024 +0100)<br/> I forgot to commit whoopsie -- DeaDvey (Sun May 26 16:32:18 2024 +0100)<br/> Added blog -- DeaDvey (Sat Jan 20 22:58:14 2024 +0000)<br/> before sunday -- DeaDvey (Sun Jan 14 00:09:31 2024 +0000)<br/> added font color as black in css -- DeaDvey (Fri Jan 12 23:07:46 2024 +0000)<br/> added a bunch of gifs -- DeaDvey (Mon Jan 8 19:00:01 2024 +0000)<br/> added TODO to README -- DeaDvey (Mon Jan 8 18:08:58 2024 +0000)<br/>`
|
||||
let commits = `blog post and updated website status -- DeaDvey (Sun May 26 19:58:19 2024 +0100)<br/> update -- DeaDvey (Sun May 26 16:48:02 2024 +0100)<br/> update -- DeaDvey (Sun May 26 16:42:26 2024 +0100)<br/> update -- DeaDvey (Sun May 26 16:36:21 2024 +0100)<br/> First push in a while -- DeaDvey (Sun May 26 16:34:21 2024 +0100)<br/> I forgot to commit whoopsie -- DeaDvey (Sun May 26 16:32:18 2024 +0100)<br/> Added blog -- DeaDvey (Sat Jan 20 22:58:14 2024 +0000)<br/> before sunday -- DeaDvey (Sun Jan 14 00:09:31 2024 +0000)<br/> added font color as black in css -- DeaDvey (Fri Jan 12 23:07:46 2024 +0000)<br/> added a bunch of gifs -- DeaDvey (Mon Jan 8 19:00:01 2024 +0000)<br/>`
|
||||
|
@ -20,7 +20,7 @@ commitsDiv.innerHTML = commits
|
||||
// Write latest blog to home page
|
||||
|
||||
let latestBlogDiv = document.getElementById("latestBlog");
|
||||
let blogText = `<h5 class="blog-title">${blogs[blogs.length - 1][0]}</h5>
|
||||
let blogText = `<h5 class="blog-title"><a href="/blog/blogs/${blogs.length-1}.html">${blogs[blogs.length - 1][0]}</a></h5>
|
||||
${blogs[blogs.length - 1][1]}
|
||||
${blogs[blogs.length - 1][3] ?
|
||||
`<div class="blog-images">
|
||||
|
Loading…
Reference in New Issue
Block a user