Compare commits

..

2 Commits

Author SHA1 Message Date
f4affac412 copyright and moved contacts 2025-01-26 03:30:46 +00:00
0b3bf3f4c6 untrack images 2025-01-25 22:08:10 +00:00
142 changed files with 45 additions and 21 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
__pycache__ __pycache__
/.git /.git
/blog /blog
/images

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
header=''' header='''
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<title>DeaDvey's Domain</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<style> <style>
pre { pre {
@ -10,5 +11,5 @@ header='''
</head> </head>
<h1>DeaDvey's domain</h1> <h1>DeaDvey's domain</h1>
<pre> <pre>
<a href="/">Home</a> <a href="/blog/">Blogs</a> <a href="/projects/">Projects</a> <a href="/">Home</a> <a href="/blog/">Blogs</a> <a href="/projects/">Projects</a> <a href="/contact/">Contact</a>
<hr/>''' <hr/>'''

View File

@ -8,13 +8,6 @@ file_extension = "html"
url = "https://deadvey.com" url = "https://deadvey.com"
blog_index_path = f"{root.path}/blog/" blog_index_path = f"{root.path}/blog/"
# iterate over the files in the directory and remove them
'''
for filename in os.listdir(blog_index_path):
file_path = os.path.join(blog_index_path, filename)
if os.path.isfile(file_path): # make sure it's a file and not a directory
os.remove(file_path)
'''
tags = ["index"] tags = ["index"]
for i in range(0, len(blogs.blogs_array)): for i in range(0, len(blogs.blogs_array)):
for j in blogs.blogs_array[i][4]: for j in blogs.blogs_array[i][4]:
@ -29,7 +22,7 @@ for tag in tags:
if tag == "index": if tag == "index":
blog_tag_file.write(f"<a href='/rss'>RSS Feed</a><br/>") blog_tag_file.write(f"<a href='/rss'>RSS Feed</a><br/>")
if tag != "index": if tag != "index":
blog_tag_file.write(f"<h2>{tag}:</h2>") blog_tag_file.write(f"<u><b>{tag}:</b></u><br/>")
for current_blog in range(len(blogs.blogs_array)-1, -1, -1): # eg 50 - 0 for current_blog in range(len(blogs.blogs_array)-1, -1, -1): # eg 50 - 0
if tag in blogs.blogs_array[current_blog][4] or tag == "index": if tag in blogs.blogs_array[current_blog][4] or tag == "index":
# Hexadecimal time parsing/formatting # Hexadecimal time parsing/formatting
@ -39,12 +32,13 @@ for tag in tags:
day = str(hex(int(parsed_date.timetuple().tm_yday)))[2:] day = str(hex(int(parsed_date.timetuple().tm_yday)))[2:]
if previous_year != year: if previous_year != year:
blog_tag_file.write(f"<h3>{year}:</h3>") blog_tag_file.write(f"<b>{year}:</b><br/>")
# Write the link to the page # Write the link to the page
blog_tag_file.write(f"{day}: <a href='/blog/{current_blog}.{file_extension}'>{blogs.blogs_array[current_blog][0]}</a><br/>") blog_tag_file.write(f"{day}: <a href='/blog/{current_blog}.{file_extension}'>{blogs.blogs_array[current_blog][0]}</a><br/>")
previous_year = year previous_year = year
blog_tag_file.write("</pre>")
@ -65,6 +59,7 @@ for current_blog in range(len(blogs.blogs_array)-1, -1, -1): # eg 50 - 0
images_div = "" images_div = ""
tags_div = "" tags_div = ""
buttons_div = "" buttons_div = ""
blogs.blogs_array[current_blog][1] = blogs.blogs_array[current_blog][1].replace(". ", ".<br/>")
if current_blog > 0: if current_blog > 0:
buttons_div += f"<a href='/blog/{current_blog-1}.html'><-- {blogs.blogs_array[current_blog-1][0]}</a> " buttons_div += f"<a href='/blog/{current_blog-1}.html'><-- {blogs.blogs_array[current_blog-1][0]}</a> "
if current_blog < len(blogs.blogs_array) - 1: if current_blog < len(blogs.blogs_array) - 1:

21
contact/index.html Normal file
View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>DeaDvey's Domain</title>
<meta charset="utf-8" />
<style>
pre {
white-space: pre-wrap;
}
</style>
</head>
<h1>DeaDvey's domain</h1>
<pre>
<a href="/">Home</a> <a href="/blog/">Blogs</a> <a href="/projects/">Projects</a> <a href="/contact/">Contact</a>
<hr/>
Matrix: @deadvey:matrix.org
Mastodon: <a href="https://mastodon.tuxcord.net/@deadvey">@deadvey@mastodon.tuxcord.net</a>
IRC network: <a href="irc://irc.tuxcord.net">irc.tuxcord.net</a>
Email: <a href="mailto:email@deadvey.com">email@deadvey.com</a>
</pre>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 496 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 877 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 595 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 724 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Some files were not shown because too many files have changed in this diff Show More