Skip to content

A Collection of useful Hugo Shortcodes

License

Notifications You must be signed in to change notification settings

kimdre/Hugo-Shortcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Shortcodes

A Collection of useful Hugo Shortcodes

  • Add Highlight Boxes to your Website

    Example Highlight Boxes in Hugo

  • Add an Archive of your Posts to your Website

    Example Post Archive in Hugo

  • Insert raw HTML Code anywhere

    {{< rawhtml >}}
        <h1>your html code here</h1>
        <p style="color: yellow;">Example HTML</p>
    {{< /rawhtml >}}
    

    Example Inserting Raw HTML in Hugo

  • Add a automatically generated Table of Contents to any Page/Post on your Website

    Example Table of Contents in hugo

  • Add automatically generated Search Engine Optimization to your Website

    <meta name="keywords" content="default-tag1, default-tag2, default-tag3" />
    <meta name="robots" content="index, follow" />
    <link rel="canonical" href="http://localhost:1313/posts/example-post" />
    <link rel="alternate" href="http://localhost:1313/posts/example-post" hreflang="en-us" />
    <link rel="alternate" type="application/rss+xml" href="http://localhost:1313/index.xml" title="Example Blog" />

About

A Collection of useful Hugo Shortcodes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published