File tree 5 files changed +5
-4
lines changed
5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
{{ $.Scratch.Delete "social_list" }}
3
3
<!-- social_list -->
4
- {{ $social_params := slice "github" "twitter" "instagram" "rss" }}
4
+ {{ $social_params := slice "github" "twitter" "bluesky" " instagram" "rss" }}
5
5
{{ range $social_params }}
6
6
{{ if isset site.Params.social . }}
7
7
{{ $.Scratch.Add "social_list" (slice .) }}
Original file line number Diff line number Diff line change 2
2
{{ $.Scratch.Delete "social_list" }}
3
3
{{ $.Scratch.Set "pathName" (printf "%s" (.Site.Params.docs.pathName | default "docs")) }}
4
4
<!-- social_list -->
5
- {{ $social_params := slice "github" "twitter" "instagram" "rss" }}
5
+ {{ $social_params := slice "github" "twitter" "bluesky" " instagram" "rss" }}
6
6
{{ range $social_params }}
7
7
{{ if isset site.Params.social . }}
8
8
{{ $.Scratch.Add "social_list" (slice .) }}
Original file line number Diff line number Diff line change 51
51
{{ range . }}
52
52
{{ $path := printf "images/social/%s.%s" . "svg" }}
53
53
< li class ="list-inline-item mb-0 ">
54
- < a href ="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else }} https://{{ . }}.com/{{ index site.Params.social . }} {{ end }} " alt ="{{ . }} " rel ="noopener noreferrer " target ="_blank ">
54
+ < a href ="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `bluesky` }} https://bsky.app/profile/{{ index site.Params.social . }} {{ else }} https://{{ . }}.com/{{ index site.Params.social . }} {{ end }} " alt ="{{ . }} " rel ="noopener noreferrer " target ="_blank ">
55
55
< div class ="btn btn-icon btn-default border-0 ">
56
56
{{ with resources.Get $path }}
57
57
{{ .Content | safeHTML }}
Original file line number Diff line number Diff line change 26
26
{{ range . }}
27
27
{{ $path := printf "images/social/%s.%s" . "svg" }}
28
28
< li class ="list-inline-item mb-0 ">
29
- < a href ="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else }} https://{{ . }}.com/{{ index site.Params.social . }} {{ end }} " alt ="{{ . }} " rel ="noopener noreferrer " target ="_blank ">
29
+ < a href ="{{ if eq . `rss` }} {{ `index.xml` | absURL }} {{ else if eq . `bluesky` }} https://bsky.app/profile/{{ index site.Params.social . }} {{ else }} https://{{ . }}.com/{{ index site.Params.social . }} {{ end }} " alt ="{{ . }} " rel ="noopener noreferrer " target ="_blank ">
30
30
< div class ="btn btn-icon btn-landing border-0 ">
31
31
{{ with resources.Get $path }}
32
32
{{ .Content | safeHTML }}
You can’t perform that action at this time.
0 commit comments