mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 11:25:26 +01:00 
			
		
		
		
	Add news.ycombinator share button
This commit is contained in:
		| @@ -68,4 +68,14 @@ | ||||
|         </svg> | ||||
|     </a> | ||||
|     {{- end }} | ||||
| </div> | ||||
|     {{- if (cond ($custom) (in $ShareButtons "ycombinator") (true)) }} | ||||
|     <a target="_blank" rel="noopener noreferrer" aria-label="share {{ $title | plainify }} on ycombinator" | ||||
|         href="https://news.ycombinator.com/submitlink?t={{ $title }}&u={{ $pageurl }}"> | ||||
|         <svg version="1.1" xml:space="preserve" width="30px" height="30px" viewBox="0 0 512 512" fill="currentColor" | ||||
|             xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"> | ||||
|             <path | ||||
|                 d="M449.446 0C483.971 0 512 28.03 512 62.554L512 449.446C512 483.97 483.97 512 449.446 512L62.554 512C28.03 512 0 483.97 0 449.446L0 62.554C0 28.03 28.029 0 62.554 0L449.446 0ZM183.8767 87.9921H121.8427L230.6673 292.4508V424.0079H281.3328V292.4508L390.1575 87.9921H328.1233L256 238.2489z" /> | ||||
|         </svg> | ||||
|     </a> | ||||
|     {{- end }} | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange