Disable Twitter references (cards?)

Hello, an absolute beginner here. (Hugo beginner, I mean - I’m a developer and I’ve been using Pelican until now). I followed the Quick Start document here:

So I generated the one-post site, opened it in my browser (I actually have one, heh) and of course, as almost the first thing, I did a View Source. And what do I see:

<meta itemprop="description" content=""><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="My Slow Learning of Hugo"/>
<meta name="twitter:description" content=""/>

I really don’t what any of the social stuff on my site. Really, even if it does nothing, even if it is commented out, I want no twitter, facebook, anything of the sort. How should I disable it? Does it depend on the theme? I tried to grep “twitter” in the theme files (ananke) but I can’t figure out which of the hits is responsible for bringing this in. Assuming it’s not in fact hardcoded into Hugo, that would be a showstopper.

It is the theme via this line:

The theme is using the internal Hugo twitter card template.

1 Like