added latest.html and put the most recent blog post on the home page

This commit is contained in:
DeaDvey 2024-01-03 11:46:46 +00:00
parent b2ad1ff862
commit 48ab57ca29
14 changed files with 80 additions and 57 deletions

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -38,7 +38,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -1,43 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>DeaDvey's Domain</title>
<link rel="icon" href="/images/favicon.png">
<link rel="stylesheet" type="text/css" href="/index.css">
</head>
<body>
<div class="header main">
<img class="header-image" /><br/>
<a href="/" onclick="history.back()"><img src="/images/return.png" width="20" />Return</a> |
<a href="/">Home page</a> | <a href="/blog/index.html">Blogs</a> <a href="feed.xml"><img width="16" src="/images/feedIcon.png" class="feedicon"/></a> | <a href="/video/index.html">Videos</a>
</div>
<hr/>
<div class="main">
<h3 class="blog-date">Thu, 28 Dec 2023 20:41:39</h3>
<h1 class="blog-title">Homemade laptop, Nextcloud and possible updates to website</h1>
<p class="blog-content">This week I used my raspberry pi to make a Homemade laptop, for the case I used a cardboard box with a hinge duck taped to the back so it doesn't flop around. I used a drawing tablet as a mouse as I had no spare mouse, the monitor is my phone conecting to the raspberry pi through <a href='https://en.wikipedia.org/wiki/Virtual_Network_Computing'>VNC</a> which is very janky and I used a massive portable charger to keep the phone and pi charged, the whole thing is really janky and I want to maybe get a 7 inch monitor for it which would work way better but, that's for the furture me. I've found a cool new feature on Nextcloud called face recognition, I have not gotton it working though so I'll try figure that out, I suck at troubleshooting, it took like a week to figure out how to use occ, it's in the nextcloud root directory ._., there's also a map fearture which uses <a href='https://www.openstreetmap.org'>Open Street Maps</a> to show where images where taken and when and also to plot addresses of your contacts which is very useful. Finally, I was thinking of added a comment system to my blog posts, but don't know if I should as it could be vunerable and shit like that and I also can't really be bothered seeing as no one would use it... On the plus side I got Jotit working on my UBT phone because it needed a bloody / at the end of the address, WHY??? idk it just does for some reason. Anyway, that's it for today.<br/> Fly You High - DeaDvey<br/></p>
<div class="blog-images">
<img class="blog-image" height="200" src="/images/custom_laptop.png" alt="custom_laptop.png" /><img class="blog-image" height="200" src="/images/nextcloud_maps.png" alt="nextcloud_maps.png" />
</div>
<div id="links">
</div></div>
<div class="footer">
<hr/>
<li>
Internal pages:
<li><a href="/theunderlandcouk" >theunderland webpages</a></li>
<li><a href="/experiments" >Experiments</a></li>
<li><a href="/isthistheyearofthelinuxdesktop" >Is this the year of the Linux Desktop?</a></li>
<br/>
External sites:
<li><a href="https://github.com/DeaDvey" >Github</a></li>
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</li>
</div>
</body>
</html>

View File

@ -93,7 +93,8 @@
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

46
blog/blogs/latest.html Normal file
View File

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>DeaDvey's Domain</title>
<link rel="icon" href="/images/favicon.png">
<link rel="stylesheet" type="text/css" href="/index.css">
</head>
<body>
<div class="header main">
<img class="header-image" /><br/>
<a href="/" onclick="history.back()"><img src="/images/return.png" width="20" />Return</a> |
<a href="/">Home page</a> | <a href="/blog/index.html">Blogs</a> <a href="feed.xml"><img width="16" src="/images/feedIcon.png" class="feedicon"/></a> | <a href="/video/index.html">Videos</a> | <a href="https://github.com/DeaDvey/htdocs"><img height="15" src="/images/github.png"/></a> | <input type="text" id="clickableInput" onclick="goToLink('/search')" placeholder="Click to search">
</div>
<hr/>
<div class="main">
<h3 class="blog-date">Wed, 3 Jan 2024 00:13:42</h3>
<h1 class="blog-title">Happy New Year!!!!</h1>
<p class="blog-content">Firstly, Happy new year everyone, I was planning on doing this yesterday, but got distracted, I don't know about any of you, but mine is 1080p, I don't like 4K because I find things like the cursor don't scale well on a 4K monitor in KDE and in a tty the text is super small on 4K! Email me your new years resolutions, I'd love to know: <a href='mailto:email@deadvey.xyz'>email@deadvey.xyz</a>. Secondly, I have discovered a new Terminal Emulator caleld <a href='https://github.com/borisfaure/terminology'>Terminology</a>, now it's quite heavy, so not really for anyone who likes lighter ones like Alacritty or Xterm, but it's really fancy and has optional backgrounds and overlays, and a cool bell that rings if you backspace too far back, I'm really liking it so far but we'll see, I also have installed a new font for my system which I'm using in Terminology called <a href='https://rubjo.github.io/victor-mono/'>Victor Mono</a> which is a monospaced font that has a nice subtle cursive style, I know that's kinda cursed but I really like it and Capital letters are non cursive so that they can be easier read. I have found a small (7 inch) screen that is designed for the Raspberry Pi which I might get in order to make a custom laptop for my Pi which will be cool as the VNC route is extremly unstable and laggy as it's over WiFi, I'll have a think about it though and I'll consider the 8 Inch version. My account has been accepted onto <a href='fossfarmers.company/a/deadvey8383'>Foss farmers Peertube Instance</a> so I'm now uploading to there, Check that out, though I am also uplaoding to <a href='/videos'>My website</a>. I have made a <a href='https://github.com/DeaDvey/node'>Github repo for the node js of this website</a> and so this whole site is now public on Github I have made a commit today, I added previous and next links to the blog pages, it checks first if the post number is not equal to 0 (the first post) then if it is not, it adds a previous link, and if it is not the equal to the length of the array - 1 then it adds a next link, so I think I did it ok, that's in the makeblogs.js file. Finally, I have gotten back into the <i>spirit</i> of revision for the exams coming up since the christmas break where I gave myself a rest, I did some pastpapers and maths today which was <i>fun</i>. Okay, that's it for today, hope you have a good day!<br/>Fly You High - DeaDvey</p>
<div class="blog-images">
<img class="blog-image" height="200" src="/images/fireworks.png" alt="fireworks.png" /><img class="blog-image" height="200" src="/images/terminology.png" alt="terminology.png" /><img class="blog-image" height="200" src="/images/farmtube.png" alt="farmtube.png" />
</div><br/>
<sub><i><small>new year,terminology,victor mono,resolution,pi,montior,7 inch,peertube,node js,github,previous,next,revision</small></i></sub>
<p class="previous"><a href="6.html"><-- Previous</a></p>
<div id="links">
</div><script src="/template.js"></script></div>
<hr/>
<div class="footer main">
<ul>
Internal pages:
<li><a href="/theunderlandcouk" >theunderland webpages</a></li>
<li><a href="/experiments" >Experiments</a></li>
<li><a href="/isthistheyearofthelinuxdesktop" >Is this the year of the Linux Desktop?</a></li>
<br/>
External sites:
<li><a href="https://github.com/DeaDvey" >Github</a></li>
<li><a href="https://gitlab.com/deadvey" >Gitlab</a></li>
<li><a href="https://mastodon.social/@DeaDvey" >Mastadon(.social)</a><a href="https://mastodon.social/@DeaDvey.rss"><img src="/images/feedIcon.png" /></a></li>
<li><a href="https://letterboxd.com/DeaDvey/" >Letterboxd (film reviews)</a><a href="https://letterboxd.com/deadvey/rss/"><img src="/images/feedIcon.png" /></a></li>
</ul><br/>
<small width="300px">© DeaDvey 2023 - 2024<br/>This work is licensed under the terms of the <a href="/LICENSE">GNU General Public License, version 3.0</a>. You are free to copy, distribute, and modify this work under the terms of the <a href="/LICENSE">GPL 3.0 License</a>. Please see the full license text for details.</small>
</div>
</body>
</html>

View File

@ -9,12 +9,11 @@
Also, see below for links to my other stuff.<br/>This website is completley open source on Github, see <a href="https://github.com/DeaDvey/htdocs">Website files</a> and <a href="https://github.com/DeaDvey/node">Node js files</a>.</p>
<h3>Contact:</h3>
<p>In order to contact me, you can email me <a href="mailto:email@deadvey.xyz">email@deadvey.xyz</a> Or PM me through Matrix, @deadvey:matrix.org</p><br/>
<p>Here you can read my latest blog post: <div id="latestBlog"></div>
</div>
<script src="/blog/blogs.js">
</script>
<script src="lastupdated.js">
</script>
<script src="html.js">
</script>
<script src="template.js">

View File

@ -1,8 +1,6 @@
let div = document.getElementById('main');
let divText = div.innerHTML;
divText += `Here you can read my latest blog: <a href='/blog/blogs/${blogs.length - 1}.html'>Latest blog</a>`
console.log(divText);
let newPageHTML = `${pageTop}${divText}${pageBottom}`
@ -13,3 +11,17 @@ function goToLink(link) {
window.location.href = link
}
// Write latest blog to home page
let latestBlogDiv = document.getElementById("latestBlog");
let blogText = `<h5 class="blog-date">${blogs[blogs.length - 1][2]}</h3>
<h3 class="blog-title">${blogs[blogs.length - 1][0]}</h1>
${blogs[blogs.length - 1][1]}
${blogs[blogs.length - 1][3] ?
`<div class="blog-images">
${blogs[blogs.length - 1][3].map(image => `<img class="blog-image" height="200" src="/images/${image}" alt="${image}" />`).join('')}
</div>`
: ''}`
let blogHTML = `${blogText}`
latestBlogDiv.innerHTML = blogHTML

View File

@ -1,4 +1,4 @@
let videos = [["best-linux-game(virbox).mp4","2024-01-02T02:23:37.000Z"],["SPEEDUP332nd battlepack-stopmotion.mp4","2024-01-01T21:42:35.000Z"],["fastfetch.mp4","2023-12-30T00:15:33.000Z"],["aoh2-cherokee-part2.mp4","2023-12-29T17:46:38.000Z"],["Linus drops the hard R.mp4","2023-12-21T20:00:56.000Z"],["aoh2-cherokee.mp4","2023-12-20T08:16:43.000Z"],["conquest-of-america.mp4","2023-12-19T20:34:29.000Z"],["iwbtg1.mp4","2023-09-21T19:28:42.000Z"],["piston(1).webm","2023-08-13T11:22:04.000Z"],["covid.mp4","2023-08-12T17:13:02.000Z"],["Creeper.webm","2023-08-12T17:13:00.000Z"],["coloride.webm","2023-08-12T16:14:03.000Z"]]
let videos = [["stopit-getsomehelpdrives.mp4","2024-01-03T02:33:06.000Z"],["best-linux-game(virbox).mp4","2024-01-02T02:23:37.000Z"],["SPEEDUP332nd battlepack-stopmotion.mp4","2024-01-01T21:42:35.000Z"],["fastfetch.mp4","2023-12-30T00:15:33.000Z"],["aoh2-cherokee-part2.mp4","2023-12-29T17:46:38.000Z"],["Linus drops the hard R.mp4","2023-12-21T20:00:56.000Z"],["aoh2-cherokee.mp4","2023-12-20T08:16:43.000Z"],["conquest-of-america.mp4","2023-12-19T20:34:29.000Z"],["iwbtg1.mp4","2023-09-21T19:28:42.000Z"],["piston(1).webm","2023-08-13T11:22:04.000Z"],["covid.mp4","2023-08-12T17:13:02.000Z"],["Creeper.webm","2023-08-12T17:13:00.000Z"],["coloride.webm","2023-08-12T16:14:03.000Z"]]
if (typeof module !== 'undefined' && module.exports) {
module.exports = videos;