Contents

Love It, Hugo


Umm, Love It, and hugo? What’s going on?

Hugo

A static site genarator

Love It

Yet an another hugo theme

What’s big deal?

This article is mainly about Love IT theme’s specialities but maybe you can go ahead to it’s repo and learn for your own. So I’ll be focusing on it’s shortcodes which is an important element in hugo!

If you don’t know about shortcodes then here’s an example, Writing,

1
{{< youtube ULDrp20nwfE  >}}

will output,

So, long story short, if you want to learn more about shortcodes check Links and references

Some useful shortcodes

What I like most is admonition! Also there are quite a few but I like it more than others. Here’s some sample:

Note
A note banner
Abstract
An abstract banner
Info
A info banner
Tip
A tip banner
Success
A success banner
Question
A question banner
Warning
A warning banner
Failure
A failure banner
Danger
A danger banner
Bug
A bug banner
Example
An example banner
Quote
A quote banner

Admonition, it is!

So how do we actually use it? 🧐

Here’s an input,

1
2
3
4
5
6
7
{{< admonition type=tip title="This is a tip" open=false >}}
A **tip** banner
{{< /admonition >}}
Or
{{< admonition tip "This is a tip" false >}}
A **tip** banner
{{< /admonition >}}

And the output:

This is a tip
A tip banner

Fun Fact
You know what? Above admonition part is directly copy pasted from Extended shortcodes part of Love It’s documentation 😅

Here are some links for faster access:

And some links to some documentations:

And some extended shortcodes:

Happy content creation!

FAQ

Do I need to learn html, css or anything else for generating static sites?

  • Short answer, no. Long answer, maybe duckduckgo and Google can help you find it. 🎯

Is it free?

  • Well, if you host on GitHub and don’t need any domain just like me, then yeah! It’s free.

Got any more question?

  • Feel free to text me ✨

Extra

Let me share a trick! In this website, you’ll see headings starting with a vertical line or #, You can basically right click on them and copy a link which will work as a hyperlink to that specific Heading!