Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140817

Unable to import Javascript source in Markdown

$
0
0

I'd like to add follow buttons to my Jekyll blog, but Javascript doesn't work in my .md file.

What I'm trying to do is adding share-buttons.html to the _includes folder then reaching it from the about.md file, however, I can't see the effect of it.

Any help is much appreciated.

about.md:

---
layout: page
title: some title
permalink: "/about"
---

Some text.

{% include share-buttons.html %}

share-buttons.html:

<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5c52b8423fe35822">
</script>
</body>
</html>

Viewing all articles
Browse latest Browse all 140817

Latest Images

Trending Articles



Latest Images