By default, HUGO provides a gist shortcode to include GitHub gists in a post. But there is no shortcode for GitLab snippets. Let’s create it. For more details I wish you to have a look to this post.
[Read More]Static website with HUGO - Shortcodes
How to create a shortcode
Shortcodes are key-words based on templates which enlarge Markdown capabilities.
Let’s create a very simple shortcode to display a thumbnail in articles.
By clicking on the thumbnail, it will display the resized image.
Static website with HUGO - First steps
Install and add content
You want to create a blog and you ask yourself what easy tool you can use ?
HUGO is an open-source framework and it may be interesting for you.
I use it to build this blog.
Here is how I did to install HUGO on my Windows 7 computer.