# Gitlab Pages + Hugo + Pygmentize

**URL:** <https://discourse.gohugo.io/t/gitlab-pages-hugo-pygmentize/4290>\
**Category:** tips & tricks\
**Created:** [October 11, 2016, 7:29pm UTC](https://discourse.gohugo.io/t/gitlab-pages-hugo-pygmentize/4290 "2016-10-11T19:29:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [October 11, 2016, 7:29pm UTC](https://discourse.gohugo.io/t/gitlab-pages-hugo-pygmentize/4290/1 "2016-10-11T19:29:49Z")

</div>

Continuing the discussion from [Gitlab introduces Gitlab pages, has inbuilt support for Hugo](https://discuss.gohugo.io/t/gitlab-introduces-gitlab-pages-has-inbuilt-support-for-hugo/3065/4):

Hello all,

I recently started an effort to set up my first Hugo based site, and that too using Gitlab Pages. So all I do is commit my markdown files and Gitlab Shared Runners/CI engines would take care of creating the site using Hugo.

I also wanted syntax highlighting to be done using Pygments, and also use the latest Hugo release (0.17) as of now.

So I came up with this [`.gitlab-ci.yml`](https://gitlab.com/kaushalmodi/kaushalmodi.gitlab.io/blob/master/.gitlab-ci.yml) and it works pretty well! 🙂

Here is [my site repo](https://gitlab.com/kaushalmodi/kaushalmodi.gitlab.io).
