Skip to content

Commit

Permalink
Convert Twitter to Bluesky
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair committed Jan 9, 2025
1 parent f730406 commit 984c068
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ params:
github: "https://github.com/twistedpair"
# gitlab: "https://gitlab.com/XXX"
linkedin: "https://linkedin.com/in/josephlust"
twitter: "https://twitter.com/lustcoder"
bluesky: "https://bsky.app/profile/lust.dev"
stackoverflow: "https://stackoverflow.com/users/564157/joseph-lust"
opengraph: true
shareTwitter: true
Expand Down
9 changes: 9 additions & 0 deletions static/css/font-awesome-all.min.css

Large diffs are not rendered by default.

Binary file added static/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file added static/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added static/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file added static/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file added static/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file added static/webfonts/fa-solid-900.woff2
Binary file not shown.
Binary file added static/webfonts/fa-v4compatibility.ttf
Binary file not shown.
Binary file added static/webfonts/fa-v4compatibility.woff2
Binary file not shown.
16 changes: 8 additions & 8 deletions themes/ghostwriter/layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}dist/site.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}dist/syntax.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin,cyrillic-ext,latin-ext,cyrillic">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/font-awesome-all.min.css">
{{ if .OutputFormats.Get "RSS" }}
<link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml">
{{ end }}
Expand Down Expand Up @@ -42,9 +42,9 @@ <h1 class="site-title">
{{ if .Site.Params.rss }}
<a class="button-square" href="{{ .Site.BaseURL }}index.xml" aria-label="RSS"><i class="fa fa-rss" aria-hidden="true"></i></a>
{{ end }}
{{ with .Site.Params.twitter }}
<a class="button-square button-social hint--top" data-hint="Twitter" aria-label="Twitter" href="{{ . }}" rel="me" >
<i class="fa fa-twitter" aria-hidden="true"></i>
{{ with .Site.Params.bluesky }}
<a class="button-square button-social hint--top" data-hint="Bluesky" aria-label="bluesky" href="{{ . }}" rel="me" >
<i class="fa-brands fa-bluesky" aria-hidden="true"></i>
</a>
{{ end }}
{{ with .Site.Params.facebook }}
Expand All @@ -59,22 +59,22 @@ <h1 class="site-title">
{{ end }}
{{ with .Site.Params.github }}
<a class="button-square button-social hint--top" data-hint="Github" aria-label="Github" href="{{ . }}" rel="me">
<i class="fa fa-github-alt" aria-hidden="true"></i>
<i class="fa-brands fa-github-alt" aria-hidden="true"></i>
</a>
{{ end }}
{{ with .Site.Params.stackoverflow }}
<a class="button-square button-social hint--top" data-hint="Stack Overflow" aria-label="Stack Overflow" href="{{ . }}" rel="me">
<i class="fa fa-stack-overflow" aria-hidden="true"></i>
<i class="fa-brands fa-stack-overflow" aria-hidden="true"></i>
</a>
{{ end }}
{{ with .Site.Params.linkedin }}
<a class="button-square button-social hint--top" data-hint="LinkedIn" aria-label="LinkedIn" href="{{ . }}" rel="me">
<i class="fa fa-linkedin" aria-hidden="true"></i>
<i class="fa-brands fa-linkedin" aria-hidden="true"></i>
</a>
{{ end }}
{{ with .Site.Params.email }}
<a class="button-square button-social hint--top" data-hint="Email" aria-label="Send an Email" href="mailto:{{ . }}">
<i class="fa fa-envelope" aria-hidden="true"></i>
<i class="fa-brands fa-envelope" aria-hidden="true"></i>
</a>
{{ end }}
</div>
Expand Down

0 comments on commit 984c068

Please sign in to comment.