diff --git a/archetypes/blog.md b/archetypes/blog.md index b747b74..e1fedc3 100644 --- a/archetypes/blog.md +++ b/archetypes/blog.md @@ -1,11 +1,13 @@ ---- -title: "" -summary: "" -author: "Abdullah Tarawneh" -date: "" -tags: [] -category: "Blog" -cover: "" ---- ++++ +title = "" +summary = "" +authors = ["Abdullah Tarawneh"] +date = "" +tags = [] +categories = [] +[[resources]] +name = "cover" +src = "" ++++

\ No newline at end of file diff --git a/archetypes/code.md b/archetypes/code.md deleted file mode 100644 index 6854855..0000000 --- a/archetypes/code.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "" -summary: "" -author: "Abdullah Tarawneh" -date: "" -tags: [] -category: "Code" -cover: "" ---- \ No newline at end of file diff --git a/archetypes/work.md b/archetypes/work.md deleted file mode 100644 index 6008d6c..0000000 --- a/archetypes/work.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: "" -summary: "" -author: "Abdullah Tarawneh" -date: "" -start: "" -end: "" -at: "" -position: "" -tags: [] -category: "Work" -cover: "" ---- \ No newline at end of file diff --git a/content/authors/Abdullah Tarawneh/avatar.png b/assets/images/icon.png similarity index 100% rename from content/authors/Abdullah Tarawneh/avatar.png rename to assets/images/icon.png diff --git a/assets/scss/layouts/taxonomy/author.scss b/assets/scss/layouts/taxonomy/author.scss new file mode 100644 index 0000000..587f340 --- /dev/null +++ b/assets/scss/layouts/taxonomy/author.scss @@ -0,0 +1,8 @@ +main.author { + .entries { + .container { + display: grid; + gap: 2rem; + } + } +} \ No newline at end of file diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 91bb52c..9469091 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -19,4 +19,5 @@ @import "layouts/partials/h-entry.scss"; -@import "layouts/taxonomy/category.scss"; \ No newline at end of file +@import "layouts/taxonomy/category.scss"; +@import "layouts/taxonomy/author.scss"; \ No newline at end of file diff --git a/content/authors/Abdullah Tarawneh/_index.md b/content/authors/a/_index.md similarity index 53% rename from content/authors/Abdullah Tarawneh/_index.md rename to content/authors/a/_index.md index 3c9f74c..50143f0 100644 --- a/content/authors/Abdullah Tarawneh/_index.md +++ b/content/authors/a/_index.md @@ -1,5 +1,6 @@ +++ title = "Abdullah Tarawneh" +summary = "More commonly known as a or trwnh. Nonbinary ace (they/them)" [[resources]] name = "avatar" src = "avatar.png" diff --git a/content/authors/a/avatar.png b/content/authors/a/avatar.png new file mode 100644 index 0000000..8d0f5ab Binary files /dev/null and b/content/authors/a/avatar.png differ diff --git a/content/blog/certbot-namecheap/index.md b/content/blog/certbot-namecheap/index.md index 13438cf..6f20ed0 100644 --- a/content/blog/certbot-namecheap/index.md +++ b/content/blog/certbot-namecheap/index.md @@ -1,7 +1,7 @@ +++ title = "Certbot DNS-01 hook for Namecheap" summary = "A manual authorization hook for EFF Certbot, allowing DNS-01 challenge verification with Namecheap domains. Written in Python." -author = "Abdullah Tarawneh" +authors = ["a"] date = 2019-10-30 tags = ["namecheap", "certbot", "dns-01", "python", "letsencrypt"] categories = ["Code"] diff --git a/content/blog/liberapay-pleroma/index.md b/content/blog/liberapay-pleroma/index.md index 465b3f9..8b9517b 100644 --- a/content/blog/liberapay-pleroma/index.md +++ b/content/blog/liberapay-pleroma/index.md @@ -1,7 +1,7 @@ +++ title = "Liberapay: Add Pleroma support" summary = "Pleroma is compatible with the Mastodon API, but uses a different URL format. This pull request creates a Pleroma identity provider within Liberapay that takes this difference into account." -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] date = 2019-11-13 tags = ["mastodon", "api", "pleroma", "liberapay", "contribution", "pull request", "github"] categories = ["Code"] diff --git a/content/blog/mastomods/index.md b/content/blog/mastomods/index.md index 898af3a..36bed64 100644 --- a/content/blog/mastomods/index.md +++ b/content/blog/mastomods/index.md @@ -1,7 +1,7 @@ +++ title = "MastoMods" summary = "CSS tweaks and modifications for Mastodon, a libre micro-blogging social server similar to Twitter." -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] date = 2019-02-18 tags = ["mastomods", "mastodon", "css", "userstyles", "tweaks"] categories = ["Code"] diff --git a/content/blog/no-right-to-profit/index.md b/content/blog/no-right-to-profit/index.md index 63d500f..cfe9800 100644 --- a/content/blog/no-right-to-profit/index.md +++ b/content/blog/no-right-to-profit/index.md @@ -1,7 +1,7 @@ +++ title = "You don't have a right to profit." summary = "People will go to ridiculous lengths in the name of protecting the “right” to profit. Let’s be real here. No one has a “right” to profit." -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] date = 2015-07-08 tags = ["capitalism", "profit", "music", "music industry", "piracy", "distribution", "access"] categories = ["Uncategorized"] diff --git a/content/blog/obs-edit-transform/index.md b/content/blog/obs-edit-transform/index.md index 6122ff2..909cbc2 100644 --- a/content/blog/obs-edit-transform/index.md +++ b/content/blog/obs-edit-transform/index.md @@ -2,7 +2,7 @@ title = "OBS Studio: Ctrl+E to Edit Transform" summary = "I added a shortcut to edit transforms on a source in OBS Studio." date = 2017-04-30 -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] tags = ["obs", "open broadcaster software", "obs studio", "keyboard shortcut", "edit transform", "pull request", "github"] categories = ["Code"] aliases = [ diff --git a/content/blog/personal-websites/index.md b/content/blog/personal-websites/index.md index 02d89fb..28cb42b 100644 --- a/content/blog/personal-websites/index.md +++ b/content/blog/personal-websites/index.md @@ -1,7 +1,7 @@ +++ title = "I wish personal websites were actually personal." summary = "When I say personal website, I do not mean a page or portfolio for potential employers or clients to hire you." -author = "Abdullah Tarawneh" +authors = ["a"] date = 2023-03-18 tags = ["personal websites", "portfolios", "services", "branding", "marketing", "capitalism"] categories = ["Uncategorized"] diff --git a/content/blog/photobucketgrabber/index.md b/content/blog/photobucketgrabber/index.md index 01b9b13..b79ab34 100644 --- a/content/blog/photobucketgrabber/index.md +++ b/content/blog/photobucketgrabber/index.md @@ -1,7 +1,7 @@ +++ title = "PhotoBucketGrabber" summary = "[OBSOLETE] Download all your photos from PhotoBucket using this Python script." -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] date = 2019-03-17 tags = ["python", "photobucket", "automation", "scripting", "archive", "export", "download"] categories = ["Code"] diff --git a/content/blog/rip-grooveshark/index.md b/content/blog/rip-grooveshark/index.md index fbb24e1..7c6e8c2 100644 --- a/content/blog/rip-grooveshark/index.md +++ b/content/blog/rip-grooveshark/index.md @@ -1,7 +1,7 @@ +++ title = "RIP Grooveshark." summary = "I last used Grooveshark earlier today. I refreshed the page and found that it was dead. [...] I find myself feeling about Grooveshark similarly as when I found out that Megaupload had been shut down, and that many of my files were lost forever." -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] date = 2015-05-01 tags = ["grooveshark", "music", "music industry", "culture", "user generated content", "capitalism", "copyright"] categories = ["Uncategorized"] diff --git a/content/blog/salatime/index.md b/content/blog/salatime/index.md index 89d4c44..bc95a26 100644 --- a/content/blog/salatime/index.md +++ b/content/blog/salatime/index.md @@ -2,7 +2,7 @@ title = "salatime" summary = "[OBSOLETE] Basic terminal script to print out daily prayer times for Birmingham, AL." date = 2019-05-09 -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] tags = ["python", "web scraping", "scraping", "beautifulsoup", "salat", "prayer", "time"] categories = ["Code"] aliases = [ diff --git a/content/blog/twitter-not-social/index.md b/content/blog/twitter-not-social/index.md index 91533f0..5e53618 100644 --- a/content/blog/twitter-not-social/index.md +++ b/content/blog/twitter-not-social/index.md @@ -1,7 +1,7 @@ +++ title = "Twitter is no longer a social network." summary = "That service that started out as a way to send status updates to your friends has been replaced by Twitter, a bloated, lumbering mess trying to force-feed you a stale diet of whatever Content™ floats to the top of the river of shit." -author = "Abdullah Tarawneh" +authors = ["Abdullah Tarawneh"] date = 2018-04-27 tags = ["twitter", "social network", "social media", "analysis", "capitalism"] categories = ["Communication"] diff --git a/content/work/eqin/index.md b/content/work/eqin/index.md index d67dbac..3d7c904 100644 --- a/content/work/eqin/index.md +++ b/content/work/eqin/index.md @@ -1,7 +1,6 @@ +++ title = "Director of Technology at Equality Initiative" summary = "3 years helping a non-profit manage all technical aspects, from website to email." -author = "Abdullah Tarawneh" date = "2014-02-20" start = "Feb 2014" end = "Feb 2017" diff --git a/content/work/go-fed/index.html b/content/work/go-fed/index.html index dedcc16..b0ef463 100644 --- a/content/work/go-fed/index.html +++ b/content/work/go-fed/index.html @@ -2,7 +2,6 @@ layout = "custom_html" title = "Go-Fed Site Redesign" summary = "Taking Go-Fed's website from 'yep, it has color' to 'woo, looking super nice! :D'" -author = "Abdullah Tarawneh" date = "2020-12-27" start = "Dec 2020" end = "Dec 2020" diff --git a/content/work/mastodon/index.html b/content/work/mastodon/index.html index ccf41b6..05570e8 100644 --- a/content/work/mastodon/index.html +++ b/content/work/mastodon/index.html @@ -2,7 +2,6 @@ layout = "custom_html" title = "Mastodon documentation revamp" summary = "Reorganizing the documentation for the Mastodon Project, while also rewriting significant portions of it." -author = "Abdullah Tarawneh" date = "2020-01-04" start = "Aug 2019" end = "Jan 2020" diff --git a/content/work/motarawneh/index.md b/content/work/motarawneh/index.md index 1ab947d..695f920 100644 --- a/content/work/motarawneh/index.md +++ b/content/work/motarawneh/index.md @@ -1,7 +1,6 @@ +++ title = "Mo Tarawneh" summary = "A personal website for Mo Tarawneh, inaugural chairperson of the UN CRPD and twice-elected member." -author = "Abdullah Tarawneh" date = "2020-03-17" tags = ["website", "web", "responsive", "design"] draft = true diff --git a/content/work/pixelfed/index.md b/content/work/pixelfed/index.md index 4cdca1d..1187ca6 100644 --- a/content/work/pixelfed/index.md +++ b/content/work/pixelfed/index.md @@ -1,7 +1,6 @@ +++ title = "Pixelfed team member" summary = "After making a masterpost of bugs and issues, I turned Pixelfed from a one-person project into a team effort." -author = "Abdullah Tarawneh" date = "2019-01-06" start = "Jan 2019" end = "current" diff --git a/content/work/trilogy/index.html b/content/work/trilogy/index.html index 7e336dc..576f827 100644 --- a/content/work/trilogy/index.html +++ b/content/work/trilogy/index.html @@ -2,7 +2,6 @@ layout = "custom_html" title = "Senior Technical Writer at Trilogy" summary = "Managing knowledge bases for numerous products owned by Trilogy." -author = "Abdullah Tarawneh" date = "2021-05-16" start = "May 2021" end = "Dec 2021" diff --git a/content/work/uab/index.md b/content/work/uab/index.md index 87bb6f2..2d5ca26 100644 --- a/content/work/uab/index.md +++ b/content/work/uab/index.md @@ -1,7 +1,6 @@ +++ title = "" summary = "B.S. Biomedical Engineering
B.S. Computer Science
Minor, Mathematics
Science and Technology Honors Program" -author = "Abdullah Tarawneh" date = "2018-12-15" start = "" end = "Fall 2018" diff --git a/hugo.toml b/hugo.toml index f4714b3..9179a7b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -72,10 +72,12 @@ taxonomy = ["HTML", "RSS"] term = ["HTML", "RSS", "ATOM"] [params] +icon = "images/icon.png" [params.author] name = "Abdullah Tarawneh" email = "a@trwnh.com" + [taxonomies] tag = "tags" category = "categories" diff --git a/layouts/partials/site/seo.html b/layouts/partials/site/seo.html index 46d4980..3ba75d5 100644 --- a/layouts/partials/site/seo.html +++ b/layouts/partials/site/seo.html @@ -1,5 +1,7 @@ {{- $cover := ($.Resources.ByType "image").GetMatch "{*cover*,*thumbnail*,*featured*}" -}} {{ $icon := resources.GetMatch (default "" .Site.Params.icon) -}} +{{- $staticIcon := "icon.png" | absURL -}} +{{- $author := index ($.GetTerms "authors") 0 -}} {{/*=== title ===*/}} {{ "" | safeHTML }} @@ -30,7 +32,6 @@ {{- end -}} {{/*=== image ===*/}} -{{- $staticIcon := "icon.png" | absURL -}} {{- with or $cover $icon }} {{ "" | safeHTML }} @@ -54,50 +55,56 @@ {{- with .Params.locale }}{{ end }} {{- with .Params.videos }}{{- range . }} -{{ end }}{{ end }} - -{{/*=== article ===*/}} -{{ with or .Params.author .Site.Params.author -}} -{{ "" | safeHTML }} - -{{- end }} - -{{ "" | safeHTML }} -{{ with .Date -}} - -{{ end -}} -{{ with .Lastmod -}} - -{{ end -}} +{{ end }}{{ end -}} {{/*=== section and keywords ===*/}} -{{- "" | safeHTML }} -{{ with.Params.category -}} +{{ "" | safeHTML }} +{{- with .Params.categories }} +{{- range . }} +{{- end }} {{- end -}} {{- with .Params.tags }} {{- end -}} -{{- if isset .Params "date" }} +{{ if .Date }} {{ "" | safeHTML }} +{{ with $author -}} + +{{- end }} + +{{ with .Date -}} + +{{ end -}} +{{ with .Lastmod -}} + +{{ end -}}