Skip to content

Commit

Permalink
Merge pull request #300 from kravciak/main
Browse files Browse the repository at this point in the history
Move from X to Bluesky & Mastodon
  • Loading branch information
flavio authored Jan 27, 2025
2 parents c8d26d1 + 7923be5 commit a72868a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 11 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ home = ["HTML", "RSS"]
[privacy]
[privacy.googleAnalytics]
anonymizeIP = true
[privacy.twitter]
disable = false
enableDNT = false
simple = true

[menu]

Expand Down Expand Up @@ -64,10 +60,18 @@ home = ["HTML", "RSS"]
weight = -90

[[menu.main]]
identifier = "twitter"
name = "Twitter"
url = "https://twitter.com/kubewarden"
identifier = "bluesky"
name = "Bluesky"
url = "https://bsky.app/profile/kubewarden.bsky.social"
weight = -85

[[menu.main]]
identifier = "mastodon"
name = "Mastodon"
url = "https://hachyderm.io/@kubewarden"
weight = -80
[menu.main.params]
rel = 'me'

[[menu.main]]
identifier = "community"
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2 id="main-menu-heading" class="sr-only">Main menu</h2>

<ul class="menu">
{{ range . }}
<li><a href="{{ .URL }}" target="_blank" class="btn no-bg">{{ .Name }}</a></li>
<li><a href="{{ .URL }}" {{- with .Params.rel -}}rel="{{ . }}"{{- end }} target="_blank" class="btn no-bg">{{ .Name }}</a></li>
{{ end }}
<!-- github -->
<li><a href="{{ $.Site.Params.github }}" class="btn github"><img src="/images/icon-github.svg"><span>Github</span></a>
Expand All @@ -29,4 +29,4 @@ <h2 id="main-menu-heading" class="sr-only">Main menu</h2>
{{ end }}
<a href="#main-menu-toggle" class="backdrop" tabindex="-1" aria-hidden="true" hidden></a>
</div>
</header>
</header>

0 comments on commit a72868a

Please sign in to comment.