Skip to content

Set default metatags #4

@spencerldixon

Description

@spencerldixon

We can probably set a bunch of defaults that are helpful in rendering opengraph tags. We can use a placeholder image to the opengraph image. We'll need to set some things like app name and description in en.yml

<%= tag :meta, property: 'og:title', content: t('app.name') %>
<%= tag :meta, property: 'og:description', content: t('app.description') %>
<%= tag :meta, property: 'og:type', content: "website" %>
<%= tag :meta, property: 'og:image', content: asset_path('ogimage.png') %>
<%= tag :meta, property: 'og:url', content: request.original_url %>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions