commit 110eea369bcbfaaf1f385760a0518d8268e9a698 Author: Alexander "PapaTutuWawa Date: Thu May 12 15:29:25 2022 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca35be0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_site diff --git a/assets/css/index.css b/assets/css/index.css new file mode 100644 index 0000000..e91e5ac --- /dev/null +++ b/assets/css/index.css @@ -0,0 +1,141 @@ +.vertical-flex { + display: flex; + flex-direction: column; +} + +.horizontal-flex { + display: flex; + flex-direction: row; +} + +.horizontal-center { + display: flex; + flex-direction: row; + justify-content: center; +} + +.vertical-center { + display: flex; + flex-direction: column; + justify-content: center; + + height: 100%; +} + +.avatar { + width: 200px; + height: 200px; + border-radius: 10px; + margin-right: 30px; +} + +.name-title { + font-size: xxx-large; +} + +.clickable { + cursor: pointer; +} + +.header { + width: 42%; +} + +#header-links ul { + list-style: none; + padding-left: 0px; + margin-bottom: 0px; + margin-top: 0px; +} +#header-links li { + display: inline; + + font-size: large; + margin-left: 20px; +} + +#header-links li:first-child { + margin-left: 0px; +} + +h1, h2 { + margin-top: 0px; + margin-bottom: 0px; +} + +html { + background-color: #f6f6f6; +} + +body { + padding: 5px; + font-size: large; +} + +.project-row { + margin-top: 30px; + box-sizing: border-box; +} + +.agressive-word-breaking {} + +/* Screenshots */ +.screenshot { + width: 270px; + height: auto; + margin-right: 15px; + border-radius: 10px; +} + +.no-screenshot { + width: 270px; + height: 270px; + background-color: #3e3e3e; + border-radius: 10px; + margin-right: 15px; + + flex-shrink: 0; +} +.no-screenshot-pound { + font-size: 130px; +} + +@media screen and (max-width: 720px) { + .avatar { + width: 100px; + height: 100px; + margin-right: 10px; + } + + .screenshot { + width: 100px; + } + + .no-screenshot { + width: 100px; + height: 100px; + flex-shrink: 0; + } + .no-screenshot-pound { + font-size: 43px; + } + + .name-title { + font-size: x-large; + } + + #social-links td:nth-child(2) { + word-break: break-word; + } + + #social-links td { + padding-top: 5px; + padding-bottom: 5px; + } + #social-links td[class="table-no-padding-top"] { + padding-top: 0px; + } + #social-links td[class="table-no-padding-bottom"] { + padding-bottom: 0px; + } +} diff --git a/assets/img/avatar.jpg b/assets/img/avatar.jpg new file mode 100644 index 0000000..cdb689a Binary files /dev/null and b/assets/img/avatar.jpg differ diff --git a/assets/img/moxxy.jpg b/assets/img/moxxy.jpg new file mode 100644 index 0000000..7bd55a3 Binary files /dev/null and b/assets/img/moxxy.jpg differ diff --git a/content/code.html b/content/code.html new file mode 100644 index 0000000..7b988b8 --- /dev/null +++ b/content/code.html @@ -0,0 +1,25 @@ + + + + +
+ +

+ I keep my code mostly on my private Gitea instance here. For purposes of allowing other people to also contribute + I try to mirror my code on GitHub and codeberg. +

+ + + + + + + + + + + + + + + diff --git a/content/contact.html b/content/contact.html new file mode 100644 index 0000000..1cac958 --- /dev/null +++ b/content/contact.html @@ -0,0 +1,38 @@ + + + +
+ +

+ If you have any questions about my projects or just want to talk, feel + free to reach out to me. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/index.html b/content/index.html new file mode 100644 index 0000000..905c59d --- /dev/null +++ b/content/index.html @@ -0,0 +1,16 @@ + + + +
+

+ Hello! My online pseudonym is PapaTutuWawa and I am + just some random person on the Internet who is passionate about + topics like XMPP, federated Internet services and privacy. Linux system + administration, Linux tinkering and programming are my favourite things to do. +

+ +
+

Projects

+

This is a small selection of my projects. More are available here.

+ +{{ for_each projects layout/templates/project.html }} diff --git a/layout/page.html b/layout/page.html new file mode 100644 index 0000000..a725537 --- /dev/null +++ b/layout/page.html @@ -0,0 +1,42 @@ + + + + {{ title }} + + + + + + + + + + + + + + +
+
+ + + {{ content }} +
+ + diff --git a/layout/templates/empty.html b/layout/templates/empty.html new file mode 100644 index 0000000..e69de29 diff --git a/layout/templates/no_screenshot.html b/layout/templates/no_screenshot.html new file mode 100644 index 0000000..23b957f --- /dev/null +++ b/layout/templates/no_screenshot.html @@ -0,0 +1,9 @@ + diff --git a/layout/templates/project.html b/layout/templates/project.html new file mode 100644 index 0000000..5bf5e36 --- /dev/null +++ b/layout/templates/project.html @@ -0,0 +1,12 @@ +
+ {{ template_if_empty item.screenshot layout/templates/no_screenshot.html layout/templates/screenshot.html }} +
+

{{ item.title }}

+

{{ item.description }}

+ +
    + {{ template_if_empty item.website layout/templates/empty.html layout/templates/project_website.html }} +
  • Code
  • +
+
+
diff --git a/layout/templates/project_website.html b/layout/templates/project_website.html new file mode 100644 index 0000000..4486660 --- /dev/null +++ b/layout/templates/project_website.html @@ -0,0 +1 @@ +
  • Website
  • diff --git a/layout/templates/screenshot.html b/layout/templates/screenshot.html new file mode 100644 index 0000000..8c5506c --- /dev/null +++ b/layout/templates/screenshot.html @@ -0,0 +1,5 @@ +
    + + + +
    diff --git a/params.json b/params.json new file mode 100644 index 0000000..2189252 --- /dev/null +++ b/params.json @@ -0,0 +1,41 @@ +{ + "author_name": "Alexander \"PapaTutuWawa\"", + "blog_url": "blog.polynom.me", + + "mastodon_instance_name": "Fosstodon", + "mastodon_instance_url": "fosstodon.org", + "mastodon_handle": "@polynomdivision", + "email_domain": "polynom.me", + "email_user": "papatutuwawa", + "gpg_key_url": "pki.polynom.me/pubkeys/papatutuwawa.pub", + "github_username": "PapaTutuWawa", + "codeberg_username": "PapaTutuWawa", + "gitea_username": "PapaTutuWawa", + "gitea_url": "git.polynom.me", + + "projects": [{ + "title": "Moxxy", + "description": "A modern XMPP client written in Flutter. Licensed under GPLv3.", + "screenshot": "assets/img/moxxy.jpg", + "source_url": "codeberg.org/moxxy/moxxyv2", + "website": "codeberg.org/moxxy/moxxyv2" + }, { + "title": "pub_repo", + "description": "A selfhostable pub repository with support for publishing, written in Python. Licensed under GPLv3.", + "screenshot": "", + "source_url": "codeberg.org/PapaTutuWawa/pub_repo", + "website": "codeberg.org/PapaTutuWawa/pub_repo" + }, { + "title": "xmpp-discord-bridge", + "description": "An XMPP to Discord bridge that attempts to feel as native as possible on each chat platform, written in Python. Licensed under GPLv3.", + "screenshot": "", + "source_url": "codeberg.org/PapaTutuWawa/xmpp-discord-bridge.git", + "website": "codeberg.org/PapaTutuWawa/xmpp-discord-bridge.git" + }, { + "title": "mira", + "description": "An XMPP bot framework for persistent subscription services, written in Python. Licensed under GPLv3.", + "screenshot": "", + "source_url": "git.polynom.me/PapaTutuWawa/mira", + "website": "git.polynom.me/PapaTutuWawa/mira" + }] +} diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..91d477f --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: /contact.html +