open-design-kit / opendesignkit

Open Design Kit is a living toolkit for designing with distributed collaborators.
http://opendesignkit.org
Creative Commons Attribution 4.0 International
194 stars 79 forks source link

Fix Open Graph tagging #272

Open susanjrobertson opened 6 years ago

susanjrobertson commented 6 years ago

We need to change up the open Graph tagging up to fit with the new community orientation of ODK.

mjchamplin commented 6 years ago

@susanjrobertson let me know if you need any help writing or adapting copy here.

susanjrobertson commented 6 years ago

@iamjessklein here's the current data in the Open Graph tags:

<meta name="twitter:creator" content="@bocoup">
    <meta name="twitter:site" content="@bocoup">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:description" content="Open Design Kit: methods for doing distributed design">
    <meta name="twitter:title" content="{{ site.title }}">
    <meta name="twitter:image" content="http://opendesignkit.org/img/odk-twittercard.jpg">

We currently only have twitter but could also do Facebook. Here's what I have on my own personal site:

<!-- Open Graph here we go -->
        <!-— facebook open graph tags -->
        <meta property="og:type" content="website" />
        <meta property="og:url" content="{{page.url}}" />
        <meta property="og:title" content="{{page.title}}" />
        <meta property="og:description" content="{% if page.tldr %}{{ page.tldr }}{% endif %}" />

        <!-— twitter card tags additive with the og: tags -->
        <meta name="twitter:card" content="summary">
        <meta name="twitter:domain" value="susanjeanrobertson.com" />
        <meta name="twitter:title" value="{{page.title}}" />
        <meta name="twitter:description" value="{{ page.tldr }}" />
        <meta name="twitter:url" value="{{page.url}}" />

What data do you want to have/use? If we iron this out then I can whip up a PR really quickly.

dmichl commented 6 years ago

Hi @susanjrobertson I'm helping out Jess going forward, would you be able to push your suggestion through, or do you need any help with this?

susanjrobertson commented 6 years ago

I @dmichl, I don't have a fix yet because I'm not sure what we want to be in the various pieces of meta data, so I'd need that and then I can happily to a PR for a fix.

dmichl commented 6 years ago

@susanjrobertson thanks for your quick reply! and it's lovely to meet you :) @mjchamplin and @iamjessklein do you have any information to add here to get this moving again?