use this:

1. Official Neflify - Hugo setup

https://www.netlifycms.org/docs/hugo/

2. Gitlab Auth

Gitlab

- create PAT

Netlify

- Enable Indentity Gateway

- Enable Gitlab

- Edit Gitlab PAT code

### source

https://haseebmajid.dev/posts/2022-12-03-my-workflow-to-create-a-new-post-using-hugo-netlifycms-netlify-and-gitlab-together

https://docs.netlify.com/visitor-access/git-gateway/#setup-and-settings

https://www.patriciadourado.com/frompat/using-netlify-cms-to-manage-my-blog-posts