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 |
| `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 hash tags from tags linked with post) |
| `x` (also generates hash tags from tags linked with post) |
| `linkedin` |
| `reddit` |
| `facebook` |

View File

@ -217,8 +217,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 |
@ -192,7 +192,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 |