diff options
Diffstat (limited to 'testscripts')
-rw-r--r-- | testscripts/commands/hugo.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/server.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testscripts/commands/hugo.txt b/testscripts/commands/hugo.txt index 60f7ffe71..bf0f5cf0d 100644 --- a/testscripts/commands/hugo.txt +++ b/testscripts/commands/hugo.txt @@ -11,7 +11,7 @@ grep 'IsServer: false;IsProduction: true' public/index.html baseURL = "http://example.org/" disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"] -- layouts/index.html -- -Home|IsServer: {{ .Site.IsServer }};IsProduction: {{ hugo.IsProduction }}| +Home|IsServer: {{ hugo.IsServer }};IsProduction: {{ hugo.IsProduction }}| -- layouts/_default/single.html -- Title: {{ .Title }} -- content/p1.md -- diff --git a/testscripts/commands/server.txt b/testscripts/commands/server.txt index a28e4d698..7f6afd8fd 100644 --- a/testscripts/commands/server.txt +++ b/testscripts/commands/server.txt @@ -25,7 +25,7 @@ myenv = "theproduction" myenv = "thedevelopment" -- layouts/index.html -- <body> -Title: {{ .Title }}|BaseURL: {{ site.BaseURL }}|ServerPort: {{ site.ServerPort }}|myenv: {{ .Site.Params.myenv }}|Env: {{ hugo.Environment }}|IsServer: {{ site.IsServer }}| +Title: {{ .Title }}|BaseURL: {{ site.BaseURL }}|ServerPort: {{ site.ServerPort }}|myenv: {{ .Site.Params.myenv }}|Env: {{ hugo.Environment }}|IsServer: {{ hugo.IsServer }}| </body> -- layouts/404.html -- custom 404 |