Enable Git Info Variables
Enable
.GitInfo
object for each page (if the Hugo site is versioned by Git). This will then update theLastmod
parameter for each page using the last git commit date for that content file.
Enable
.GitInfo
object for each page (if the Hugo site is versioned by Git). This will then update theLastmod
parameter for each page using the last git commit date for that content file.
Create two folders named project.git
and project.source
. Create a bare git repo in project.git
Surge is static web publishing for Web Developers, right from the CLI.