Replace twitter with x social icon (#1277)

This commit is contained in:
Sebastian Zanoni 2023-12-23 07:33:18 +01:00 committed by GitHub
parent 84110306fe
commit 4aba1e8642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

@ -84,6 +84,7 @@ draft: true
| `twitch` | twitch.tv |
| `twitter` | twitter.com |
| `unsplash` | unsplash.com |
| `x` | x.com |
| `xda` | xda-developers.com |
| `xing` | xing.com |
| `ycombinator` | ycombinator.com |
@ -96,8 +97,8 @@ Usage :
socialIcons:
- name: "kofi"
url: "https://kofi.com"
- name: "twitter"
url: "https://twitter.com"
- name: "x"
url: "https://x.com"
```
---
@ -106,7 +107,7 @@ socialIcons:
| Platform |
| ------------------------------------------------------------------- |
| `twitter` (also generates `#hashtags` from _tags_ linked with post) |
| `x` (also generates `#hashtags` from _tags_ linked with post) |
| `linkedin` |
| `reddit` |
| `facebook` |

View File

@ -257,8 +257,8 @@ params:
Content: Welcome to my blog
socialIcons:
- name: twitter
url: "https://twitter.com/"
- name: x
url: "https://x.com/"
- name: stackoverflow
url: "https://stackoverflow.com"
- name: github

View File

@ -39,7 +39,7 @@ weight: 5
| `tocopen` | boolean | true \| false | To keep open ToC by default on page load |
| `ShowPostNavLinks` | boolean | true \| false | Show Previous and Next Posts below a Post |
| `ShowBreadCrumbs` | boolean | true \| false | Show BreadCrumb Navigation above single post/page |
| `ShareButtons` | list | ["linkedin", "twitter"] | To customize which share buttons to be enabled on page |
| `ShareButtons` | list | ["linkedin", "x"] | To customize which share buttons to be enabled on page |
| `ShowWordCount` | boolean | true \| false | To word count to metadata |
| `ShowRssButtonInSectionTermList` | boolean | true \| false | To show RSS icon in Section, Term and List pages |
| `UseHugoToc` | boolean | true \| false | To use Hugo's default Toc instead of custom |
@ -193,7 +193,7 @@ editPost:
| `cover.responsiveImages` | boolean | true \| false | To enable/disable generation of responsive cover images |
| `cover.hidden` | boolean | true \| false | To hide on current single page |
| `weight ` | integer | 5 | To set page order or to pin a post to Top of list |
| `ShareButtons` | list | ["linkedin", "twitter"] | To customize which share buttons to be enabled on page |
| `ShareButtons` | list | ["linkedin", "x"] | To customize which share buttons to be enabled on page |
| `ShowWordCount` | boolean | true \| false | To word count to metadata |
| `ShowRssButtonInSectionTermList` | boolean | true \| false | To show RSS icon in Section, Term and List pages |
| `UseHugoToc` | boolean | true \| false | To use Hugo's default Toc instead of custom |