"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "common/hugo/hugo.go" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

hugo.go  (hugo-0.80.0):hugo.go  (hugo-0.81.0)
skipping to change at line 37 skipping to change at line 37
"github.com/gohugoio/hugo/config" "github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/hugofs" "github.com/gohugoio/hugo/hugofs"
) )
const ( const (
EnvironmentDevelopment = "development" EnvironmentDevelopment = "development"
EnvironmentProduction = "production" EnvironmentProduction = "production"
) )
var ( var (
// commitHash contains the current Git revision. Use make to build to mak // commitHash contains the current Git revision.
e // Use mage to build to make sure this gets set.
// sure this gets set.
commitHash string commitHash string
// buildDate contains the date of the current build. // buildDate contains the date of the current build.
buildDate string buildDate string
// vendorInfo contains vendor notes about the current build.
vendorInfo string
) )
// Info contains information about the current Hugo environment // Info contains information about the current Hugo environment
type Info struct { type Info struct {
CommitHash string CommitHash string
BuildDate string BuildDate string
// The build environment. // The build environment.
// Defaults are "production" (hugo) and "development" (hugo server). // Defaults are "production" (hugo) and "development" (hugo server).
// This can also be set by the user. // This can also be set by the user.
 End of changes. 2 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)