Skip to content

Commit

Permalink
add bluesky social media (#366)
Browse files Browse the repository at this point in the history
* add bluesky social media

* add bluesky handles for chapters

* add bluesky to chapters script

* only notify about build status if not on fork

* update front awesome
  • Loading branch information
drmowinckels authored Dec 6, 2024
1 parent 08cabe6 commit 6d3058d
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
- uses: actions/github-script@v7
name: "Notify about build failure"
if: ${{ failure() }}
if: ${{ failure() && env.on_fork != 'true' }}
with:
github-token: ${{ env.token }}
script: |
Expand All @@ -165,6 +165,7 @@ jobs:
- uses: actions/github-script@v7
name: "Notify about build preview"
if: ${{ env.on_fork != 'true' }}
with:
github-token: ${{ env.token }}
script: |
Expand All @@ -174,7 +175,6 @@ jobs:
repo: '${{ env.repo_name }}',
body: ':tada: The preview is built! [Check it out :eyes:](https://${{ env.netalias }}--rladies-dev.netlify.app)'
})
3 changes: 2 additions & 1 deletion data/chapters/australia-melbourne.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"twitter": "RLadiesMelb",
"email": "[email protected]",
"facebook": "RladiesMelbourne",
"github": "rladies/meetup-presentations_melbourne"
"github": "rladies/meetup-presentations_melbourne",
"bluesky": "rladiesmelb.bsky.social"
},
"organizers": {
"current": ["Anna Quaglieri", "Sepideh Foroutan", "Alex Garnham", "Marie Trussart", "Lucy Liu", "Adele Barugahare", "Nikki Rubinson"],
Expand Down
3 changes: 2 additions & 1 deletion data/chapters/germany-cologne.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"meetup": "rladies-cologne",
"twitter": "rladies_cologne",
"email": "[email protected]",
"linkedin": "r-ladies-cologne"
"linkedin": "r-ladies-cologne",
"bluesky": "rladies-cologne.bsky.social"
},
"organizers": {
"current": ["Cosima Meyer", "Gabe Winter"],
Expand Down
3 changes: 2 additions & 1 deletion data/chapters/italy-rome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"twitter": "rladiesrome",
"youtube": "@rladiesrome",
"github": "rladies/meetup-presentations_rome",
"linkedin": "company/r-ladies-rome/"
"linkedin": "company/r-ladies-rome/",
"bluesky": "rladiesrome.bsky.social"
},
"organizers": {
"current": ["Federica Gazzelloni", "Silvana Acosta", "Rafaela Ribeiro Lucas"],
Expand Down
3 changes: 2 additions & 1 deletion data/chapters/netherlands-amsterdam.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"social_media": {
"meetup": "rladies-amsterdam",
"twitter": "RLadiesAMS",
"email": "[email protected]"
"email": "[email protected]",
"bluesky": "rladiesamsterdam.bsky.social"
},
"organizers": {
"current": ["Kylie Ainslie", "Asli Kucukosmanoglu"],
Expand Down
3 changes: 2 additions & 1 deletion data/directory/23u5y2o.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"languages": ["English", "Norwegian"],
"social_media": {
"twitter": "DrMowinckels",
"github": "drmowinckels"
"github": "drmowinckels",
"bluesky": "drmowinckels.io"
},
"interests": ["Statistics", "Bayesian Statistics", "Neuroimaging", "Data Visualisation", "Cognitive Psychology", "-{}()dkih 08ijeq´ ø.¨q@lpie"],
"contact_method": ["Twitter"],
Expand Down
2 changes: 1 addition & 1 deletion data/rblogs/drmowinckels.io.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"name": "Athanasia Monika Mowinckel",
"social_media": [{
"twitter": "DrMowinckels",
"bluesky": "drmowinckels.io",
"mastodon": "@[email protected]",
"github": "Athanasiamo"
}]
Expand Down
2 changes: 1 addition & 1 deletion scripts/get_chapters.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ some_cols <- c("meetup", "twitter",
"instagram", "linkedin",
"periscope", "youtube",
"github", "website",
"slack", "mastodon")
"slack", "mastodon", "bluesky")

meetup <- read_json(here("data", "meetup", "chapters.json"),
simplifyVector = TRUE) |>
Expand Down
7 changes: 5 additions & 2 deletions themes/hugo-rladies/layouts/partials/funcs/social_media.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@
{{ else if eq .type "slack" }}
{{ $data.Set "string" "%s" }}
{{ $data.Set "fa" "fa-brands fa-slack" }}



{{ else if eq .type "bluesky" }}
{{ $data.Set "string" "https://bsky.app/profile/%s" }}
{{ $data.Set "fa" "fa-brands fa-bluesky" }}

{{ else }}
{{ $data.Set "string" "%s" }}
{{ $data.Set "fa" "fa fa-globe" }}
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-rladies/layouts/partials/head/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<link rel="shortcut icon" href="{{ .Site.Params.favicon | relURL }}">

<!-- Icons -->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css">

<!-- Fullcalendar css-->
<link rel="stylesheet" href="{{ "css/fullcalendar.min.css" | relURL }}" />
Expand Down

0 comments on commit 6d3058d

Please sign in to comment.