From 4aba1e86421e9afa825592e0f679486d2cae750b Mon Sep 17 00:00:00 2001 From: Sebastian Zanoni Date: Sat, 23 Dec 2023 07:33:18 +0100 Subject: [PATCH] Replace twitter with x social icon (#1277) --- content/posts/papermod/papermod-icons.md | 7 ++++--- content/posts/papermod/papermod-installation.md | 4 ++-- content/posts/papermod/papermod-variables.md | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/content/posts/papermod/papermod-icons.md b/content/posts/papermod/papermod-icons.md index 5eefd67a..f75c1c88 100644 --- a/content/posts/papermod/papermod-icons.md +++ b/content/posts/papermod/papermod-icons.md @@ -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` | diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index a6678538..f9fd40a4 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -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 diff --git a/content/posts/papermod/papermod-variables.md b/content/posts/papermod/papermod-variables.md index 3ca28adb..71022e59 100644 --- a/content/posts/papermod/papermod-variables.md +++ b/content/posts/papermod/papermod-variables.md @@ -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 |