From 0c8e43e16187fb9afc1335c78973e1b5b3e4517f Mon Sep 17 00:00:00 2001 From: jessebot Date: Fri, 10 Jan 2025 19:44:54 +0100 Subject: [PATCH] add mastodon option for social links --- pyproject.toml | 2 +- tiny_personal_website/config/config.yaml | 16 +++++++++++++--- tiny_personal_website/static/css/fonts.css | 10 ++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 683c5d9..c367fa1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tiny_personal_website" -version = "0.2.0" +version = "0.3.0" description = "basic resume site written with flask and bootstrap and configurable with a YAML file" authors = ["jessebot "] license = "AGPL-3.0-or-later" diff --git a/tiny_personal_website/config/config.yaml b/tiny_personal_website/config/config.yaml index 87b0cc8..a3704c4 100644 --- a/tiny_personal_website/config/config.yaml +++ b/tiny_personal_website/config/config.yaml @@ -15,7 +15,7 @@ fork_me: true profile_image: 'my_picture.png' # image alt text -profile_image_alt: 'Portrait selfie of a 31 year old person with an olive skin tone. They have an undercut and medium legnth blue hair parted to the side. They are smiling and wearing a black shirt.' +profile_image_alt: 'Portrait selfie of a 32 year old person with an olive skin tone. They have an undercut and medium legnth blue hair parted to the side. They are smiling and wearing a black shirt.' # Your name name: 'Jesse Hitch' @@ -27,7 +27,7 @@ pronouns: 'they/them' blurb: "You can probably call me if there's a problem with Kubernetes, CI/CD, a Python app, or you need help with most things to do with the web. I also put too much effort into terminal based interfaces, and if you let me, will draw pictures of tech stuff." # Job Title -occupation: 'Senior DevOps Engineer' +occupation: 'Senior Reliability Engineer' # Skills - what you're good at. skills: - linux @@ -40,7 +40,7 @@ skills: likes: - comfy couches - videogames - - analogies + - tamagotchis # social links you want to display on the profile social_links: @@ -59,5 +59,15 @@ social_links: URL: 'https://www.linkedin.com/in/jesse-hitch' icon: 'nf-fa-linkedin_square' + # mastodon is optional + mastodon: + URL: 'https://social.smallhack.org/@jessebot' + icon: "nf-fa-mastodon" + + # fedi is optional + # fedi: + # URL: 'https://social.smallhack.org/@jessebot' + # icon: "nf-fa-fediverse" + # this can be from any provider, but has to download a PDF file resume_pdf_URL: "https://docs.google.com/document/d/1O-qsyVP444QeaBi9EwygDlGzIWvMMUJP80cPsk2Z6lg/export?format=pdf" diff --git a/tiny_personal_website/static/css/fonts.css b/tiny_personal_website/static/css/fonts.css index eae184b..767686d 100644 --- a/tiny_personal_website/static/css/fonts.css +++ b/tiny_personal_website/static/css/fonts.css @@ -36,6 +36,16 @@ font-size: 4rem !important; } +.nf-fa-mastodon:before { + content: "\f4f6"; + font-size: 4rem !important; +} + +.nf-fa-mastodon:before { + content: "\f4f6"; + font-size: 4rem !important; +} + /* ------- user icons ----------- */