Skip to content

Enhance your Hugo site with dynamic link previews featuring rich content and adaptive favicons.

License

Notifications You must be signed in to change notification settings

glyzinie/hugo-blogcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Link Preview Shortcode

Overview

This repository contains a Hugo shortcode designed to create rich, engaging link previews, commonly referred to as "blog cards". These previews are useful for embedding within blog posts, pages, or articles to offer a snapshot of linked content, including titles, descriptions, favicons, and images.

Features

  • Dynamic Content Retrieval: Automatically fetches and displays content title, description, and an image (if available) from the target URL.
  • Favicon Integration: Includes logic to handle various favicon sources, ensuring that the most appropriate icon is displayed for each link.
  • Responsive Design: Ensures that the preview cards look good on all devices, from desktops to mobile phones.
  • Customizable Appearance: Easy to customize with CSS for different styling needs.

About

Enhance your Hugo site with dynamic link previews featuring rich content and adaptive favicons.

Topics

Resources

License

Stars

Watchers

Forks

Languages