Replace twitter with x social icon

This commit is contained in:
Sebastian Zanoni 2023-08-02 07:31:03 +02:00
parent 7e5d17f08a
commit 468481cfcf
3 changed files with 8 additions and 7 deletions

View File

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

View File

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

View File

@ -39,7 +39,7 @@ weight: 5
| `tocopen` | boolean | true \| false | To keep open ToC by default on page load | | `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 | | `ShowPostNavLinks` | boolean | true \| false | Show Previous and Next Posts below a Post |
| `ShowBreadCrumbs` | boolean | true \| false | Show BreadCrumb Navigation above single post/page | | `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 | | `ShowWordCount` | boolean | true \| false | To word count to metadata |
| `ShowRssButtonInSectionTermList` | boolean | true \| false | To show RSS icon in Section, Term and List pages | | `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 | | `UseHugoToc` | boolean | true \| false | To use Hugo's default Toc instead of custom |
@ -192,7 +192,7 @@ editPost:
| `cover.responsiveImages` | boolean | true \| false | To enable/disable generation of responsive cover images | | `cover.responsiveImages` | boolean | true \| false | To enable/disable generation of responsive cover images |
| `cover.hidden` | boolean | true \| false | To hide on current single page | | `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 | | `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 | | `ShowWordCount` | boolean | true \| false | To word count to metadata |
| `ShowRssButtonInSectionTermList` | boolean | true \| false | To show RSS icon in Section, Term and List pages | | `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 | | `UseHugoToc` | boolean | true \| false | To use Hugo's default Toc instead of custom |