Skip to content

Commit

Permalink
Change Mastodon (and Twitter) (#217)
Browse files Browse the repository at this point in the history
* feat: Deactivate relinks to Twitter and add Mastodon relink in footer

* feat: Add Mastodon verification

* add hackyderm via some partial (#219)

---------

Co-authored-by: Athanasia Monika Mowinckel <[email protected]>
  • Loading branch information
cosimameyer and drmowinckels committed Sep 30, 2023
1 parent 77d61e4 commit ffe0d97
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
27 changes: 14 additions & 13 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,45 @@ footerEnableTextWidget: true
footerEnableLangWidget: true

social:
- title: twitter
url: 'https://twitter.com/RLadiesGlobal'
icon: fab fa-twitter-square
- title: mastodon
handle: '@RLadiesGlobal@hachyderm.io'
relme: true
footer: true
sharethis: true
network: ''
- title: twitter
handle: 'RLadiesGlobal'
footer: false
sharethis: false
network: twitter
- title: instagram
url: 'https://www.instagram.com/rladiesglobal'
icon: fab fa-instagram
handle: 'rladiesglobal'
footer: true
sharethis: false
network: ''
- title: github
url: 'https://github.com/rladies'
icon: fab fa-github-square
handle: 'rladies'
footer: true
sharethis: false
network: ''
- title: meetup
url: 'https://www.meetup.com/pro/rladies/'
handle: 'pro/rladies/'
footer: true
sharethis: true
icon: fab fa-meetup
network: ''
- title: youtube
url: 'https://www.youtube.com/channel/UCDgj5-mFohWZ5irWSFMFcng'
handle: 'channel/UCDgj5-mFohWZ5irWSFMFcng'
footer: true
sharethis: true
icon: fab fa-youtube
network: ''
twitter:
- title: We are R-Ladies
url: 'https://twitter.com/WeAreRLadies'
handle: 'WeAreRLadies'
footer: true
sharethis: false
network: ''
- title: IWD R-Ladies
url: 'https://twitter.com/rladies_iwd'
handle: 'rladies_iwd'
footer: true
sharethis: false
network: ''
5 changes: 4 additions & 1 deletion themes/hugo-rladies/layouts/partials/footer/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ <h3 class="widget-title">{{ i18n "footer_followme_title" . | markdownify }}</h3>
<p class="follow-me-icons">
{{ range .Site.Params.social }}
{{ if .footer }}
<a href="{{ .url }}" target="_blank"><i class="{{ .icon }} fa-2x"></i></a>
{{ $some:= partial "funcs/some.html" (dict "type" .title "handle" .handle ) }}
<a href="{{ $some.url }}" target="_blank" {{ if .relme }} rel="me" {{ end }} >
<i class="{{ $some.fa }} fa-2x"></i>
</a>
{{ end }}
{{ end }}
</p>
Expand Down
1 change: 1 addition & 0 deletions themes/hugo-rladies/layouts/partials/head/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@

<!-- plausible -->
<script defer data-domain="rladies.org" src="https://plausible.io/js/script.js"></script>

0 comments on commit ffe0d97

Please sign in to comment.