Add support for localizing UI text with a _data file

This commit is contained in:
Michael Rose
2016-03-09 16:33:27 -05:00
parent 927b3d36ff
commit ea8fb6fe33
7 changed files with 48 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<div class="social-share">
<h4>Share on</h4>
<h4>{{ site.data.ui-text.locale[site.locale].share_on }}</h4>
<ul>
<li>
<a href="https://twitter.com/intent/tweet?text={{ base_path }}{{ page.url }}" class="twitter" title="Share on Twitter"><i class="fa fa-twitter"></i><span> Twitter</span></a>