Copy-Paste partials and shortcodes ready to use in your Hugo static site.
Emojis are amazing, cute, clear, confusing, funny or whatever you connect with this topic. However - Emoticons are trendy and in Hugo there is a function available called emojify. Where you can convert a :thumbsup: to a thumb that shows up. But this can mess up really quickly if you apply this to the whole article. We will create a quick shortcode to solve this problem.
With Twitter Cards, you can attach rich photos, videos and media experiences to Tweets, helping to drive traffic to your website. Simply add a few lines of markup to your webpage, and users who Tweet links to your content will have a “Card” added to the Tweet that’s visible to their followers. Here we will build a partial that shows you how to embedd this with ease in Hugo.
Sometimes its hard to crawl through all your articles and link them with specific keywords. What if you could just define the keywords you would like to have linked and Hugo finds the proper keywords and link them automatically with the actual page.
An activity calendar-widget is well known from content management systems like Wordpress. Users can see the activities/posts written in a calendar view and navigate through the archive. In this article, I show you one possible approach to achieve this with Hugo.
Creating a breadcrumbs-list is unfortunatley not a built in function from Hugo. In this article you find a way to create breadcrumbs including structured data with the power of partials.
Add-This is one of the most famous service if it comes to social sharing icons. There are tons of features including displaying social counters and picking tons of social media platforms without pain. There are paid plans, but the basic version is free, probably a good reason for it's pupularity. In this article you find a partial you can copy-paste to make the integration of an Add-This-Widget a piece of cake.
Disqus is a very popular service to integrate a fully featured comment system to your site. No hassle for spam protection where own solutions always struggle. Disqus works well for static pages since you don't need a special server infrastructure and you can provide a lot of interactivity to your page. In this article you find a shorthand partial to integrate Disqus into your Hugo page.
Sometimes you wish to add a partial content within a Markdown file, unfortunately this is not possible by default. But wish your tears away - here we show you a workaround to make partials accessible within your markdown.