From 9daf425eb91f0ad5ea570ef3607fd66630c08c67 Mon Sep 17 00:00:00 2001 From: imk jet Date: Tue, 1 Oct 2024 22:14:15 +0200 Subject: [PATCH] visuals, new post --- posts/my-first-article/post_frontmatter.toml | 2 +- posts/test1/post.md | 21 -------------------- posts/test1/post_frontmatter.toml | 9 --------- posts/update1/post.md | 10 ++++++++++ posts/update1/post_frontmatter.toml | 9 +++++++++ static/assets/pin.svg | 10 ++++++++++ static/assets/signature.svg | 15 +++++--------- static/css/index.css | 6 +++--- templates/home.html | 3 ++- templates/post.html | 5 +++-- 10 files changed, 43 insertions(+), 47 deletions(-) delete mode 100644 posts/test1/post.md delete mode 100644 posts/test1/post_frontmatter.toml create mode 100644 posts/update1/post.md create mode 100644 posts/update1/post_frontmatter.toml create mode 100644 static/assets/pin.svg diff --git a/posts/my-first-article/post_frontmatter.toml b/posts/my-first-article/post_frontmatter.toml index 2bdc478..8129483 100644 --- a/posts/my-first-article/post_frontmatter.toml +++ b/posts/my-first-article/post_frontmatter.toml @@ -2,7 +2,7 @@ title = 'Welcommeeee :3' file_name = 'my-first-article' description = 'about this blog and stuff' tags = ["Casual"] -posted = '22/08/2022' +posted = '2024. sept. 30.' estimated_reading_time = 1 author = 'IMK' # feel free to swap with your own name order = 1 diff --git a/posts/test1/post.md b/posts/test1/post.md deleted file mode 100644 index e495616..0000000 --- a/posts/test1/post.md +++ /dev/null @@ -1,21 +0,0 @@ -# WELCOME TO MY BLOG!!! - -So uh the plan is to update this blog as often as possible as I learn more about rust :3 - -Don't expect me to word posts professionally as this is intended to be more of something where I can turn off my mind and write my thoughts down. - -## I aim to post daily though so that's cool - -also this blog was made with a random tutorial from The Medium so yeahhhhhhh I can barely understand the codebase or whatever the fancy term for the source code is - -so uhh have fun and stuff :3 - -P.S. I go by IMK, IMKJET on most places (and IMKTHECOOL[x] rarely), It's like capitalized usually but I honestly don't give a fuckkkkkk - -1. number -2. list -3. test - -- unsorted -- yeahhh - diff --git a/posts/test1/post_frontmatter.toml b/posts/test1/post_frontmatter.toml deleted file mode 100644 index aafa317..0000000 --- a/posts/test1/post_frontmatter.toml +++ /dev/null @@ -1,9 +0,0 @@ -title = 'unpinned therefore should be at the bottom' -file_name = 'test1' -description = 'about this blog and stuff' -tags = ["Casual"] -posted = '22/08/2022' -estimated_reading_time = 1 -author = 'IMK' # feel free to swap with your own name -order = 1 -pinned = false diff --git a/posts/update1/post.md b/posts/update1/post.md new file mode 100644 index 0000000..153bb79 --- /dev/null +++ b/posts/update1/post.md @@ -0,0 +1,10 @@ +# So uh this is the second post + +I have update the website adding the ability for me to pin posts at the top +though the welcome post will be probably the only post pinned (for the forseable future) + +also I have made tags for posts visible (they were a thing on the back end, they were just not on the frontend for some reason lmao) + +I might work on stylizing the website tomorrow because this monochrome is borrrinngggg + +That's all for today \ No newline at end of file diff --git a/posts/update1/post_frontmatter.toml b/posts/update1/post_frontmatter.toml new file mode 100644 index 0000000..994e267 --- /dev/null +++ b/posts/update1/post_frontmatter.toml @@ -0,0 +1,9 @@ +title = 'Website Update: Pins, Tags' +file_name = 'update1' +description = 'new features' +tags = ["Website update"] +posted = '2024. oct. 01.' +estimated_reading_time = 1 +author = 'IMK' +order = 1 +pinned = false diff --git a/static/assets/pin.svg b/static/assets/pin.svg new file mode 100644 index 0000000..02f8d56 --- /dev/null +++ b/static/assets/pin.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/static/assets/signature.svg b/static/assets/signature.svg index 7d87377..595ff83 100644 --- a/static/assets/signature.svg +++ b/static/assets/signature.svg @@ -1,15 +1,10 @@ - - - - - - - + + + + + - - - diff --git a/static/css/index.css b/static/css/index.css index f8d99bc..6722927 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -13,7 +13,7 @@ a { } .pinned-true { - text-align: right; + float:right; } a:link{ @@ -25,9 +25,9 @@ a:visited{ } a.return{ + float: right; font-size: 2.5vw; font-weight:bold; - } hr @@ -57,7 +57,7 @@ article li { } article ul { - list-style-image: url("/static/assets/bullet.svg") + list-style-image: url("/static/assets/bullet.svg"); } div.post { diff --git a/templates/home.html b/templates/home.html index e2f817d..f818004 100644 --- a/templates/home.html +++ b/templates/home.html @@ -7,7 +7,8 @@ {% for fm in posts %}
-

{{fm.title}}

!!

+ PIN +

{{fm.title}}