theme: sync v4.4.0-dev - get Page Sharer config + fixes
This commit is contained in:
		
							
								
								
									
										58
									
								
								data/page_sharer.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								data/page_sharer.toml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
# Page Sharer
 | 
			
		||||
# Documentation: https://sourcethemes.com/academic/docs/customization/#page-sharer
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "twitter"
 | 
			
		||||
  url = "https://twitter.com/intent/tweet?url={url}&text={title}"
 | 
			
		||||
  title = "Twitter"
 | 
			
		||||
  icon_pack = "fab"
 | 
			
		||||
  icon = "twitter"
 | 
			
		||||
  enable = true
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "facebook"
 | 
			
		||||
  url = "https://www.facebook.com/sharer.php?u={url}&t={title}"
 | 
			
		||||
  title = "Facebook"
 | 
			
		||||
  icon_pack = "fab"
 | 
			
		||||
  icon = "facebook-f"
 | 
			
		||||
  enable = true
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "email"
 | 
			
		||||
  url = "mailto:?subject={title}&body={url}"
 | 
			
		||||
  title = "Email"
 | 
			
		||||
  icon_pack = "fas"
 | 
			
		||||
  icon = "envelope"
 | 
			
		||||
  enable = true
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "linkedin"
 | 
			
		||||
  url = "https://www.linkedin.com/shareArticle?url={url}&title={title}"
 | 
			
		||||
  title = "LinkedIn"
 | 
			
		||||
  icon_pack = "fab"
 | 
			
		||||
  icon = "linkedin-in"
 | 
			
		||||
  enable = true
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "whatsapp"
 | 
			
		||||
  url = "https://web.whatsapp.com/send?text={title}%20{url}"
 | 
			
		||||
  title = "WhatsApp"
 | 
			
		||||
  icon_pack = "fab"
 | 
			
		||||
  icon = "whatsapp"
 | 
			
		||||
  enable = true
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "weibo"
 | 
			
		||||
  url = "https://service.weibo.com/share/share.php?url={url}&title={title}"
 | 
			
		||||
  title = "Weibo"
 | 
			
		||||
  icon_pack = "fab"
 | 
			
		||||
  icon = "weibo"
 | 
			
		||||
  enable = true
 | 
			
		||||
 | 
			
		||||
[[buttons]]
 | 
			
		||||
  id = "reddit"
 | 
			
		||||
  url = "https://reddit.com/submit?url={url}&title={title}"
 | 
			
		||||
  title = "Reddit"
 | 
			
		||||
  icon_pack = "fab"
 | 
			
		||||
  icon = "reddit-alien"
 | 
			
		||||
  enable = false
 | 
			
		||||
@@ -15,6 +15,9 @@ rsync -av ../themes/academic/exampleSite/config/ ../config/
 | 
			
		||||
# Install demo user
 | 
			
		||||
rsync -av ../themes/academic/exampleSite/content/authors/ ../content/authors/
 | 
			
		||||
 | 
			
		||||
# Install page sharer button customizer
 | 
			
		||||
rsync -av ../themes/academic/data/page_sharer.toml ../data/
 | 
			
		||||
 | 
			
		||||
# Install an example instance of each widget type
 | 
			
		||||
rsync -av --exclude gallery/ ../themes/academic/exampleSite/content/home/ ../content/home/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
 Submodule themes/academic updated: 07d94380f2...d33d6b0ff6
									
								
							
		Reference in New Issue
	
	Block a user