CaiJimmy / hugo-theme-stack-starter

A quickstart template to create a Hugo blog using hugo-theme-stack
https://demo.stack.jimmycai.com
MIT License
356 stars 109 forks source link

How to change theme layout files? #47

Closed xingfanxia closed 6 months ago

xingfanxia commented 6 months ago

How to change theme layout files in this starter repo?

CaiJimmy commented 6 months ago

Please check https://stack.jimmycai.com/guide/modify-theme#hugo-module

For example, creating layouts/partials/head/custom.html file will override this file from theme: https://github.com/CaiJimmy/hugo-theme-stack/blob/master/layouts/partials/head/custom.html