# Test the hugo build command (alias for hugo)

hugo build
stdout 'Pages.*|1'
stdout 'Total in'
checkfile public/index.html
checkfile public/p1/index.html
grep 'IsServer: false;IsProduction: true'  public/index.html

-- hugo.toml --
baseURL = "http://example.org/"
disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"]
-- layouts/home.html --
Home|IsServer: {{ hugo.IsServer }};IsProduction: {{ hugo.IsProduction }}|
-- layouts/single.html --
Title: {{ .Title }}
-- content/p1.md --
---
title: "P1"
---
