Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Mastodon (and Twitter) #217

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>