> For the complete documentation index, see [llms.txt](https://mavolin.gitbook.io/corgi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mavolin.gitbook.io/corgi/about-corgi.md).

# About Corgi

Corgi is an HTML template language, inspired by pug (hence the name), for Go. Just like pug, corgi also uses code generation to generate its templates.

{% hint style="info" %}
Just a quick note before you get started reading: When you see examples of corgi code you'll often also see the resulting HTML. This HTML is pretty printed and further formatted to increase glanceability. In reality, whitespace is formatted as described in [Writing Text](/corgi/learning-corgi/arrow-blocks.md).
{% endhint %}

The syntax is very similar to pug and those familiar with it will quickly feel at home. Do note though, that despite many similarities, corgi does not aim to be a 1:1 pug clone. Instead corgi attempts to be a template engine that feels Go-like and is easily readable for any Go developer, while, at its foundation, still using the syntax of pug.
