mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 02:12:49 +01:00 
			
		
		
		
	Replace twitter with x social icon (#1277)
This commit is contained in:
		@@ -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`                                                          |
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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                                         |
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user