diff --git a/content/404/404.md b/content/404/404.md deleted file mode 100644 index fc8e453..0000000 --- a/content/404/404.md +++ /dev/null @@ -1,8 +0,0 @@ -+++ -+++ - -# Uh oh! - -Looks like the page you're looking for is *missing*. Get the joke? Haha, I'm so funny. - -Anyway, [here](/)'s a link back to the homepage. \ No newline at end of file diff --git a/content/_index.md b/content/_index.md index 7bd64c2..764b083 100644 --- a/content/_index.md +++ b/content/_index.md @@ -6,9 +6,10 @@ page_template = "subpage.html" # Welcome to missing's website! -Hey! I'm **TheMissingPiece**, but most people just call me missing. I am a nerd and -tech enthusiast who loves to rewrite things that already exist just because I can. -I know JavaScript, TypeScript, Java, C#, and Rust, but nowadays most of my code is +Hey! I'm {{ resize_image(path="pfp.png", width=32, height=32, op="scale", class="pfp") }} +**TheMissingPiece**, but most people just call me missing. I am a nerd and tech +enthusiast who loves to rewrite things that already exist just because I can. I +know JavaScript, TypeScript, Java, C#, and Rust, but nowadays most of my code is written in Rust. You can find my projects on my friend's [Gitea](https://git.karx.xyz/missing). --- @@ -29,8 +30,8 @@ My friends' links: --- Ways to reach me: - - TheMissingPiece#6742 on discord - - karx's [discord](https://discord.gg/ejamTPCVSB) or [irc](ircs://karx.xyz) + - TheMissingPiece#6742 on Discord + - karx's [Discord](https://discord.gg/ejamTPCVSB) or [IRC](ircs://karx.xyz) - [piecenotfound@gmail.com](mailto:piecenotfound@gmail.com) --- \ No newline at end of file diff --git a/public/missing.png b/content/pfp.png similarity index 100% rename from public/missing.png rename to content/pfp.png diff --git a/public/404.html b/public/404.html index 652db6e..ab55f38 100644 --- a/public/404.html +++ b/public/404.html @@ -3,9 +3,7 @@ - - 404 Page missing - + 404 Page missing @@ -13,13 +11,13 @@ -

Uh oh!

Looks like the page you're looking for is missing. Get the joke? Haha, I'm so funny.

Anyway, here's a link back to the homepage.

+

Built with zola

\ No newline at end of file diff --git a/public/404/404/index.html b/public/404/404/index.html deleted file mode 100644 index 2bbc7ae..0000000 --- a/public/404/404/index.html +++ /dev/null @@ -1,43 +0,0 @@ - - - Zola - - -
-

Welcome to Zola!

-

- You're seeing this page because we couldn't find a template to render. -

-

- To modify this page, create a page.html file in the templates directory or - install a theme. -
- You can find what variables are available in this template in the documentation. -

-
- - - - diff --git a/public/FiraCode-VF.ttf b/public/FiraCode-VF.ttf deleted file mode 100644 index c05ac82..0000000 Binary files a/public/FiraCode-VF.ttf and /dev/null differ diff --git a/public/SFPro-Bold.otf b/public/SFPro-Bold.otf deleted file mode 100644 index 025b25c..0000000 Binary files a/public/SFPro-Bold.otf and /dev/null differ diff --git a/public/SFPro-Italic-Bold.otf b/public/SFPro-Italic-Bold.otf deleted file mode 100644 index 7b65b53..0000000 Binary files a/public/SFPro-Italic-Bold.otf and /dev/null differ diff --git a/public/SFPro-Italic.otf b/public/SFPro-Italic.otf deleted file mode 100644 index 74b5e8b..0000000 Binary files a/public/SFPro-Italic.otf and /dev/null differ diff --git a/public/SFPro-Regular.otf b/public/SFPro-Regular.otf deleted file mode 100644 index 09aaca9..0000000 Binary files a/public/SFPro-Regular.otf and /dev/null differ diff --git a/public/css/index.css b/public/css/index.css index e5867ff..a2b7a8f 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -12,29 +12,29 @@ @font-face { font-family: "Fira Code"; - src: local("Fira Code"), url("/FiraCode-VF.ttf"); + src: local("Fira Code"), url("/fonts/FiraCode-VF.ttf"); } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Regular.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu"), local("Ubuntu Regular"), url("/fonts/Ubuntu-Regular.ttf"); } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Bold.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu Bold"), url("/fonts/Ubuntu-Bold.ttf"); font-weight: bold; } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Italic.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu Italic"), url("/fonts/Ubuntu-Italic.ttf"); font-style: italic; } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Italic-Bold.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu Italic Bold"), local("Ubuntu Bold Italic"), url("/fonts/Ubuntu-Bold-Italic.ttf"); font-weight: bold; font-style: italic; } @@ -49,9 +49,9 @@ em { body { min-height: 100vh; - background-color: #555; + background-color: rgb(39, 39, 45); padding: min(7vh, 30px) 15vw; - font-family: "SF Pro"; + font-family: "Ubuntu"; color: white; } @@ -78,12 +78,12 @@ ol { } a { - color: orange; + color: cornflowerblue; } a:visited, a:visited * { - color: chocolate; + color: mediumpurple; } .navbar { @@ -93,6 +93,12 @@ a:visited * { gap: 0.5em; } +.built-with-zola { + font-size: 75%; + width: 100%; + text-align: center; +} + p { margin: 1em 0; } diff --git a/public/dn42/index.html b/public/dn42/index.html index 3138698..d1bcb09 100644 --- a/public/dn42/index.html +++ b/public/dn42/index.html @@ -3,9 +3,7 @@ - - dn42 - + dn42 @@ -32,6 +30,7 @@ listed on the home page.

+

Built with zola

\ No newline at end of file diff --git a/public/fonts/FiraCode-VF.ttf b/public/fonts/FiraCode-VF.ttf new file mode 100644 index 0000000..f35da78 Binary files /dev/null and b/public/fonts/FiraCode-VF.ttf differ diff --git a/public/fonts/Ubuntu-Bold-Italic.ttf b/public/fonts/Ubuntu-Bold-Italic.ttf new file mode 100644 index 0000000..3609058 Binary files /dev/null and b/public/fonts/Ubuntu-Bold-Italic.ttf differ diff --git a/public/fonts/Ubuntu-Bold.ttf b/public/fonts/Ubuntu-Bold.ttf new file mode 100644 index 0000000..1b4d2a0 Binary files /dev/null and b/public/fonts/Ubuntu-Bold.ttf differ diff --git a/public/fonts/Ubuntu-Italic.ttf b/public/fonts/Ubuntu-Italic.ttf new file mode 100644 index 0000000..c089ea5 Binary files /dev/null and b/public/fonts/Ubuntu-Italic.ttf differ diff --git a/public/fonts/Ubuntu-Regular.ttf b/public/fonts/Ubuntu-Regular.ttf new file mode 100644 index 0000000..330cbc8 Binary files /dev/null and b/public/fonts/Ubuntu-Regular.ttf differ diff --git a/public/index.html b/public/index.html index 0e1fe5d..6798571 100644 --- a/public/index.html +++ b/public/index.html @@ -3,9 +3,7 @@ - - Missing's website - + Missing's website @@ -14,9 +12,11 @@

Welcome to missing's website!

-

Hey! I'm TheMissingPiece, but most people just call me missing. I am a nerd and -tech enthusiast who loves to rewrite things that already exist just because I can. -I know JavaScript, TypeScript, Java, C#, and Rust, but nowadays most of my code is +

Hey! I'm + +TheMissingPiece, but most people just call me missing. I am a nerd and tech +enthusiast who loves to rewrite things that already exist just because I can. I +know JavaScript, TypeScript, Java, C#, and Rust, but nowadays most of my code is written in Rust. You can find my projects on my friend's Gitea.


Some projects I am currently working on:

@@ -36,8 +36,8 @@ written in Rust. You can find my projects on my friend's discord or irc +
  • TheMissingPiece#6742 on Discord
  • +
  • karx's Discord or IRC
  • piecenotfound@gmail.com

  • @@ -51,6 +51,7 @@ written in Rust. You can find my projects on my friend's Built with zola

    \ No newline at end of file diff --git a/static/missing.png b/public/pfp.png similarity index 100% rename from static/missing.png rename to public/pfp.png diff --git a/public/processed_images/39363955390c6eaf00.png b/public/processed_images/39363955390c6eaf00.png new file mode 100644 index 0000000..9d960aa Binary files /dev/null and b/public/processed_images/39363955390c6eaf00.png differ diff --git a/public/sitemap.xml b/public/sitemap.xml index e391fe8..f2a02d4 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,9 +3,6 @@ https://missingpiece.dev/ - - https://missingpiece.dev/404/404/ - https://missingpiece.dev/dn42/ diff --git a/static/FiraCode-VF.ttf b/static/FiraCode-VF.ttf deleted file mode 100644 index c05ac82..0000000 Binary files a/static/FiraCode-VF.ttf and /dev/null differ diff --git a/static/SFPro-Bold.otf b/static/SFPro-Bold.otf deleted file mode 100644 index 025b25c..0000000 Binary files a/static/SFPro-Bold.otf and /dev/null differ diff --git a/static/SFPro-Italic-Bold.otf b/static/SFPro-Italic-Bold.otf deleted file mode 100644 index 7b65b53..0000000 Binary files a/static/SFPro-Italic-Bold.otf and /dev/null differ diff --git a/static/SFPro-Italic.otf b/static/SFPro-Italic.otf deleted file mode 100644 index 74b5e8b..0000000 Binary files a/static/SFPro-Italic.otf and /dev/null differ diff --git a/static/SFPro-Regular.otf b/static/SFPro-Regular.otf deleted file mode 100644 index 09aaca9..0000000 Binary files a/static/SFPro-Regular.otf and /dev/null differ diff --git a/static/css/index.css b/static/css/index.css index e5867ff..a2b7a8f 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -12,29 +12,29 @@ @font-face { font-family: "Fira Code"; - src: local("Fira Code"), url("/FiraCode-VF.ttf"); + src: local("Fira Code"), url("/fonts/FiraCode-VF.ttf"); } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Regular.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu"), local("Ubuntu Regular"), url("/fonts/Ubuntu-Regular.ttf"); } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Bold.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu Bold"), url("/fonts/Ubuntu-Bold.ttf"); font-weight: bold; } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Italic.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu Italic"), url("/fonts/Ubuntu-Italic.ttf"); font-style: italic; } @font-face { - font-family: "SF Pro"; - src: url("/SFPro-Italic-Bold.otf"); + font-family: "Ubuntu"; + src: local("Ubuntu Italic Bold"), local("Ubuntu Bold Italic"), url("/fonts/Ubuntu-Bold-Italic.ttf"); font-weight: bold; font-style: italic; } @@ -49,9 +49,9 @@ em { body { min-height: 100vh; - background-color: #555; + background-color: rgb(39, 39, 45); padding: min(7vh, 30px) 15vw; - font-family: "SF Pro"; + font-family: "Ubuntu"; color: white; } @@ -78,12 +78,12 @@ ol { } a { - color: orange; + color: cornflowerblue; } a:visited, a:visited * { - color: chocolate; + color: mediumpurple; } .navbar { @@ -93,6 +93,12 @@ a:visited * { gap: 0.5em; } +.built-with-zola { + font-size: 75%; + width: 100%; + text-align: center; +} + p { margin: 1em 0; } diff --git a/static/fonts/FiraCode-VF.ttf b/static/fonts/FiraCode-VF.ttf new file mode 100644 index 0000000..f35da78 Binary files /dev/null and b/static/fonts/FiraCode-VF.ttf differ diff --git a/static/fonts/Ubuntu-Bold-Italic.ttf b/static/fonts/Ubuntu-Bold-Italic.ttf new file mode 100644 index 0000000..3609058 Binary files /dev/null and b/static/fonts/Ubuntu-Bold-Italic.ttf differ diff --git a/static/fonts/Ubuntu-Bold.ttf b/static/fonts/Ubuntu-Bold.ttf new file mode 100644 index 0000000..1b4d2a0 Binary files /dev/null and b/static/fonts/Ubuntu-Bold.ttf differ diff --git a/static/fonts/Ubuntu-Italic.ttf b/static/fonts/Ubuntu-Italic.ttf new file mode 100644 index 0000000..c089ea5 Binary files /dev/null and b/static/fonts/Ubuntu-Italic.ttf differ diff --git a/static/fonts/Ubuntu-Regular.ttf b/static/fonts/Ubuntu-Regular.ttf new file mode 100644 index 0000000..330cbc8 Binary files /dev/null and b/static/fonts/Ubuntu-Regular.ttf differ diff --git a/static/processed_images/39363955390c6eaf00.png b/static/processed_images/39363955390c6eaf00.png new file mode 100644 index 0000000..9d960aa Binary files /dev/null and b/static/processed_images/39363955390c6eaf00.png differ diff --git a/templates/404.html b/templates/404.html index 933c86b..eaa2b7d 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,7 +2,14 @@ {% block content %} -{% set page = get_page(path="404/404.md") %} -{{ page.content | safe }} +{% filter markdown %} + +# Uh oh! + +Looks like the page you're looking for is *missing*. Get the joke? Haha, I'm so funny. + +Anyway, [here](/)'s a link back to the homepage. + +{% endfilter %} {% endblock content %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 5bc0716..d21b9c9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,15 +4,15 @@ - {% if section -%} + {%- if section -%} {{ section.title }} - {% else -%} - {% if page -%} + {%- else -%} + {%- if page -%} {{ page.title }} - {% else -%} + {%- else -%} 404 Page missing - {% endif -%} - {% endif -%} + {%- endif -%} + {%- endif -%} @@ -20,6 +20,7 @@ {% block content %} {% endblock %} +

    Built with zola

    \ No newline at end of file diff --git a/templates/shortcodes/resize_image.html b/templates/shortcodes/resize_image.html new file mode 100644 index 0000000..8012fb3 --- /dev/null +++ b/templates/shortcodes/resize_image.html @@ -0,0 +1,2 @@ +{% set image = resize_image(path=path, width=width, height=height, op=op) %} + \ No newline at end of file