Steven Mercatante

3 posts tagged with "javascript"

View all tags

    Add Blurbs to a Gatsby Blog

    When you use Gatsby 's starter for creating a blog, it displays an excerpt of the post's body on the list page. In my case though, I wanted the ability to display a custom blurb instead. A blurb is defined as a short description of a book, movie or article. In some cases, it's better to use this… Read

    Add Twitter buttons to a Gatsby site

    Note: this article builds upon the technique explained in my "How to Add Custom JavaScript to a Gatsby Site" article. I recently added Twitter buttons to the bottom of each article on this site. One to share the article and one to follow my account. Because this site runs on Gatsby (and… Read

    Add Custom JavaScript to a Gatsby Site

    I recently found myself needing to add some custom JavaScript to the head of a Gatsby project. In this article I'll show you exactly to do this. Gatsby doesn't actually use an index.html or similar file. Instead, it uses an html.js file, which isn't exposed by default. Following their docs… Read