www.duckland.org/themes/minimage/layouts/partials/share.html
2023-02-07 22:52:35 -06:00

34 lines
2.5 KiB
HTML

<aside class="c-share">
<h2 class="c-share__title">Share</h2>
<div class="c-share__list">
<a class="c-share__list__item c-link" href="http://twitter.com/intent/tweet?text={{ .Title }}%20%7C%20{{ .Site.Title }}%20{{ .Permalink }}" target="_blank">
<svg class="icon icon-twitter">
<use xlink:href="#icon-twitter"></use>
<symbol id="icon-twitter" viewBox="0 0 32 32">
<title>twitter</title>
<path d="M32 7.075c-1.175 0.525-2.444 0.875-3.769 1.031 1.356-0.813 2.394-2.1 2.887-3.631-1.269 0.75-2.675 1.3-4.169 1.594-1.2-1.275-2.906-2.069-4.794-2.069-3.625 0-6.563 2.938-6.563 6.563 0 0.512 0.056 1.012 0.169 1.494-5.456-0.275-10.294-2.888-13.531-6.862-0.563 0.969-0.887 2.1-0.887 3.3 0 2.275 1.156 4.287 2.919 5.463-1.075-0.031-2.087-0.331-2.975-0.819 0 0.025 0 0.056 0 0.081 0 3.181 2.263 5.838 5.269 6.437-0.55 0.15-1.131 0.231-1.731 0.231-0.425 0-0.831-0.044-1.237-0.119 0.838 2.606 3.263 4.506 6.131 4.563-2.25 1.762-5.075 2.813-8.156 2.813-0.531 0-1.050-0.031-1.569-0.094 2.913 1.869 6.362 2.95 10.069 2.95 12.075 0 18.681-10.006 18.681-18.681 0-0.287-0.006-0.569-0.019-0.85 1.281-0.919 2.394-2.075 3.275-3.394z"></path>
</symbol>
</svg>
</a>
<a class="c-share__list__item c-link" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" target="_blank">
<svg class="icon icon-facebook">
<use xlink:href="#icon-facebook"></use>
<symbol id="icon-facebook" viewBox="0 0 32 32">
<title>facebook</title>
<path d="M19 6h5v-6h-5c-3.86 0-7 3.14-7 7v3h-4v6h4v16h6v-16h5l1-6h-6v-3c0-0.542 0.458-1 1-1z"></path>
</symbol>
</svg>
</a>
<a class="c-share__list__item" href="http://getpocket.com/edit?url={{ .Permalink }}" target="_blank">
<svg class="icon icon-get-pocket">
<use xlink:href="#icon-get-pocket"></use>
<symbol id="icon-get-pocket" viewBox="0 0 27 28">
<title>get-pocket</title>
<path d="M24.453 2c1.359 0 2.422 1.094 2.422 2.438v8.109c0 7.484-5.984 13.453-13.422 13.453-7.469 0-13.453-5.969-13.453-13.453v-8.109c0-1.328 1.109-2.438 2.438-2.438h22.016zM13.453 18.625c0.469 0 0.938-0.187 1.281-0.516l6.312-6.062c0.359-0.344 0.578-0.828 0.578-1.328 0-1.016-0.828-1.844-1.844-1.844-0.484 0-0.938 0.187-1.281 0.516l-5.047 4.844-5.047-4.844c-0.344-0.328-0.797-0.516-1.266-0.516-1.016 0-1.844 0.828-1.844 1.844 0 0.5 0.203 0.984 0.562 1.328l6.328 6.062c0.328 0.328 0.797 0.516 1.266 0.516z"></path>
</symbol>
</svg>
</a>
</div>
</aside>