Commits

Andrey Vlasovskikh committed 702b115

Fixed Tweet URL for the homepage

Comments (0)

Files changed (1)

doc/_includes/buttons.html

 <section id="buttons">
   <!-- Twitter button -->
   <a href="https://twitter.com/share" class="twitter-share-button"
-    data-url="http://obraz.pirx.ru{{ page.url }}" data-hashtags="Obraz">Tweet</a>
+    data-url="http://obraz.pirx.ru{{ page.url | replace('index.html', '') }}" data-hashtags="Obraz">Tweet</a>
   <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
   <!-- Google +1 button -->
   <g:plusone size="medium"></g:plusone>