diff --git a/blog/blogs.js b/blog/blogs.js
index d8b3b89..1c206fa 100755
--- a/blog/blogs.js
+++ b/blog/blogs.js
@@ -1,4 +1,5 @@
-let blogs = [["I didn't like Wordpress","So... Yeah, I didn't like wordpress very much, it's pretty clunky and I don't have much control over the webpage, and it's kinda not that fun to use, I'm glad I tried it out though because I kind of know how to use it know I suppose, I might copy over the wordpress back over to this so I can use it myself for fun I suppose."],
- ["Test post2", "Testicy Test"],
- ["Test post", "Testy test!"]]
+let blogs = [["Late December Update Before Christmas","Hey guys, so I have been trying out Nextcloud since I did the last blog and I really like it, it's very good, the calendar especially, I think I definately prefer it to Proton Drive and Calendar because it's way better intergreated in to apps and stuff, there's also apps for it on the Ubuntu Touch store, which lacks Proton apps, the notes are also great as is the RSS reader that I can sync. Secondly, I have also began watching Attack on Titan again as my freind has been going on about it, I'm readig the Manga but it is so slow, so I'll probably keep watching the Animé which I like. Christmas is in a few days and we break up tommorow which is pretty exiting and I'll see some family, I think I'm getting the Raspberry Pi 5 which is cool. Finally, I got the Assassins Creed Origins game which I already had on PS4 but now I have on Steam because it was on sale, but I can't get it to work so I'll have to figure that out over the weekend, anyway, that is probably it for today.
Fly You High - DeaDvey
","21/12/2023"],
+["I didn't like Wordpress","So... Yeah, I didn't like wordpress very much, it's pretty clunky and I don't have much control over the webpage, and it's kinda not that fun to use, I'm glad I tried it out though because I kind of know how to use it know I suppose, I might copy over the wordpress back over to this so I can use it myself for fun I suppose.","11/12/2023"],
+["Test post2", "Testicy Test","10/12/2023"],
+["Test post", "Testy test!","10/12/2023"]]
diff --git a/blog/template.js b/blog/template.js
index 94238b1..63659c5 100755
--- a/blog/template.js
+++ b/blog/template.js
@@ -18,8 +18,9 @@ let newPageHTML = `
+
${divText}
@@ -47,7 +48,7 @@ document.body.innerHTML = newPageHTML //apply the template
// ADD THE LINKS
///////////////////////////
-function loadContent(page, content, header) {
+function loadContent(page, content, header, date) {
console.log(page)
let blogText = content
console.log(blogText)
@@ -62,9 +63,11 @@ function loadContent(page, content, header) {
+
+
${date}
${header}
${content}
@@ -106,6 +109,7 @@ function escapeQuotes(value) {
}
});
}
+console.log(blogs)
let linksDiv = document.getElementById("links")
let linksText
@@ -115,7 +119,7 @@ let length = blogs.length
for (let page = 0; page < length; page++) {
console.log(length)
- linksText += (`
${escapeQuotes(blogs[page][0])}`)
+ linksText += (`
${escapeQuotes(blogs[page][0])} ${escapeQuotes(blogs[page][2])}`)
}
linksText = linksText.slice(9) //Remove the "undefined" at the start of the string
diff --git a/index.css b/index.css
index 73e83e2..745aafd 100755
--- a/index.css
+++ b/index.css
@@ -4,9 +4,15 @@
margin-left: auto;
margin-right: auto;
}
+@media screen and (min-width: 480px) {
+ .main {
+ width: 500px;
+ }
+}
+
.header-image {
content: url("header-image.png");
- width: 400px;
+ width: 100%;
}
body {
@@ -38,12 +44,12 @@ a:active {
text-decoration: none;
}
-.blog-content {
+/*.blog-content {
text-align: center;
margin-left: auto;
- margin-right: auto;
+ margin-right: auto;
width: 500px;
-}
+}*/
.footer {
display: block;
diff --git a/index.html b/index.html
index eacf074..bd822df 100755
--- a/index.html
+++ b/index.html
@@ -1,8 +1,8 @@
-
Bonjour
- Welcome to my personal website! I hope you have a good time
- Feel free to click the links above for more content!
- Also, see below for links to my other situations
+
Hey!
+
Welcome to my personal website! I hope you have a good time.
+ Feel free to click the links above for more content!
+ Also, see below for links to my other stuff.