aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Paelman <[email protected]>2023-06-06 20:33:03 +0200
committerThijs Paelman <[email protected]>2023-06-06 20:36:26 +0200
commit0afcbb42e7babfb1a69a1e7df2cd3732171746e0 (patch)
tree421d66f7f617df9e153c98502359c7ff582cd7c3
parenta9b5b225ec579f96b26576f38ee44e288f07a184 (diff)
downloadwebsite-0afcbb42e7babfb1a69a1e7df2cd3732171746e0.tar.gz
website-0afcbb42e7babfb1a69a1e7df2cd3732171746e0.zip
Community: Add Mastodon & reorder socials
Reorder socials to group Mastodon & Twitter. Add rel="me" tag for Mastodon site verification
-rw-r--r--config.toml17
-rw-r--r--themes/docsy/layouts/partials/footer.html2
2 files changed, 12 insertions, 7 deletions
diff --git a/config.toml b/config.toml
index 39e0f5b..0a65633 100644
--- a/config.toml
+++ b/config.toml
@@ -123,17 +123,22 @@ footer_about_disable = true
# icon = "fa fa-envelope"
# desc = "Ouroboros discussion and patch list"
[[params.links.user]]
- name ="Twitter"
- url = "https://twitter.com/ODecentralize"
- icon = "fab fa-twitter"
- desc = "Follow us on Twitter to get the latest news!"
-[[params.links.user]]
name = "Matrix"
url = "https://matrix.to/#/#ODecentralize:matrix.org"
#https://ryanboland.com/blog/use-a-custom-icon-font-similar-to-font-awesome
icon = "fa fa-matrix-org" # Source: https://simpleicons.org # look in themes/docsy/
#pre = "<img src=\"/assets/icons/matrix.svg\"></img>" # Source: https://simpleicons.org
desc = "Come say hi in our Matrix Space! For users and developers alike"
+[[params.links.user]]
+ name = "Mastodon"
+ url = "https://mastodon.social/@ouroborosnet"
+ icon = "fa fa-mastodon"
+ desc = "Follow us on Mastodon to get the latest news!"
+[[params.links.user]]
+ name ="Twitter"
+ url = "https://twitter.com/ODecentralize"
+ icon = "fab fa-twitter"
+ desc = "Follow us on Twitter to get the latest news!"
[[params.links.developer]]
name = "Repository"
url = "https://ouroboros.rocks/cgit"
@@ -153,7 +158,7 @@ footer_about_disable = true
name = "Slack"
url = "https://join.slack.com/t/odecentralize/shared_invite/enQtOTU2NjI5OTk3NDYzLTM2ZjkwZjAxMTcyZjI5N2Y1NGZlNWJjODA0MDU2Y2MzN2Q3MjA5ZTAwYjIyMDMzNGNhZTc1NWQwNWYyMjBhMWU"
icon = "fab fa-slack"
- desc = "Join our slack workspace"
+ desc = "Join our slack workspace (bridged to Matrix)"
#[[params.links.developer]]
# name = "IRC"
# url = "https://webchat.freenode.net/?channels=#ouroboros"
diff --git a/themes/docsy/layouts/partials/footer.html b/themes/docsy/layouts/partials/footer.html
index dfb1f64..82657a4 100644
--- a/themes/docsy/layouts/partials/footer.html
+++ b/themes/docsy/layouts/partials/footer.html
@@ -30,7 +30,7 @@
<ul class="list-inline mb-0">
{{ range . }}
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
- <a class="text-white" target="_blank" href="{{ .url }}">
+ <a class="text-white" target="_blank" href="{{ .url }}" rel="me noopener noreferrer">
<i class="{{ .icon }}"></i>
</a>
</li>