Skip to content

Social Card #130

@brandonprajogo

Description

@brandonprajogo

Is your feature request related to a problem?

I noticed that every post using the same social card which is boring for me.

Describe the solution you'd like

I wonder it would be great if there is an feature to add social card on each post.

I knew that this feature is already included in Hugo Bearcub theme. But instead automatically like Hugo Bearcub, it would be nice if the social card is added manually instead by adding image variable in the draft of the post. For example like this:

+++
title = "Post 1"
date = "2020-01-03"
description = "This is the description for Post 1."
tags = ["justforfun"]
image = /images/2020/this-is-social-card-for-post1.png
+++

Describe alternatives you've considered

If the image variable is empthy, it will use default social card that is already available in hugo.toml: images = ["images/share.png"]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions