Browse Source

Use absolute URLs for FB comments box

main
Paul O’Shannessy 12 years ago
parent
commit
2be67a457c
  1. 2
      _layouts/docs.html
  2. 2
      _layouts/post.html

2
_layouts/docs.html

@ -20,6 +20,6 @@ sectionid: docs
{% endif %}
</div>
<div class="fb-comments" data-width="650" data-num-posts="10" data-href="/react{{ page.url }}"></div>
<div class="fb-comments" data-width="650" data-num-posts="10" data-href="{{ site.url }}{{ site.baseurl }}{{ page.url }}"></div>
</div>
</section>

2
_layouts/post.html

@ -16,6 +16,6 @@ sectionid: blog
</div>
<div class="fb-like" data-send="true" data-width="650" data-show-faces="false"></div>
<div class="fb-comments" data-width="650" data-num-posts="10" data-href="/react{{ page.url }}"></div>
<div class="fb-comments" data-width="650" data-num-posts="10" data-href="{{ site.url }}{{ site.baseurl }}{{ page.url }}"></div>
</div>
</section>

Loading…
Cancel
Save