From 794589fbfdb41d380b47685775e7ca28009b420e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 14 Oct 2016 09:34:08 +0200 Subject: [PATCH] Use example.org for replace-this-with-your-hugo-site.com Fixes #2575 --- commands/import_jekyll.go | 2 +- commands/new.go | 2 +- .../content/tutorials/creating-a-new-theme.md | 28 +++++++++---------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/commands/import_jekyll.go b/commands/import_jekyll.go index 7c595d8a1..ca65acb7c 100644 --- a/commands/import_jekyll.go +++ b/commands/import_jekyll.go @@ -221,7 +221,7 @@ func loadJekyllConfig(jekyllRoot string) map[string]interface{} { func createConfigFromJekyll(inpath string, kind string, jekyllConfig map[string]interface{}) (err error) { title := "My New Hugo Site" - baseurl := "http://replace-this-with-your-hugo-site.com/" + baseurl := "http://example.org/" for key, value := range jekyllConfig { lowerKey := strings.ToLower(key) diff --git a/commands/new.go b/commands/new.go index 8e30797a0..a75a6f758 100644 --- a/commands/new.go +++ b/commands/new.go @@ -332,7 +332,7 @@ func newContentPathSection(path string) (string, string) { func createConfig(inpath string, kind string) (err error) { in := map[string]interface{}{ - "baseurl": "http://replace-this-with-your-hugo-site.com/", + "baseurl": "http://example.org/", "title": "My New Hugo Site", "languageCode": "en-us", } diff --git a/docs/content/tutorials/creating-a-new-theme.md b/docs/content/tutorials/creating-a-new-theme.md index a86abc3d0..2f5f93fe3 100644 --- a/docs/content/tutorials/creating-a-new-theme.md +++ b/docs/content/tutorials/creating-a-new-theme.md @@ -489,7 +489,7 @@ So, let's edit your configuration file to add the theme name: ```toml $ vi config.toml theme = "zafta" -baseurl = "http://replace-this-with-your-hugo-site.com/" +baseurl = "http://example.org/" title = "My New Hugo Site" languageCode = "en-us" :wq @@ -1047,8 +1047,8 @@ $ cat public/index.html -

Second

-

First

+

Second

+

First

``` @@ -1214,7 +1214,7 @@ Nulla facilisi.

In quam ante, vulputate at massa et, rutrum gravida dui. Phasellus tristique libero at ex.

-

Home

+

Home

@@ -1236,7 +1236,7 @@ varius sagittis turpis.

pulvinar. Ut mattis gravida venenatis. Vivamus lobortis risus id nisi rutrum, at iaculis.

-

Home

+

Home

``` @@ -1402,7 +1402,7 @@ $ cat public/About/index.html ipsum quia dolor sit amet consectetur adipisci velit.

-

Home

+

Home

``` @@ -1418,9 +1418,9 @@ $ cat public/index.html -

About

-

Second

-

First

+

About

+

Second

+

First

``` @@ -1476,10 +1476,10 @@ $ cat public/index.html

Articles

-

Second

-

First

+

Second

+

First

Pages

-

About

+

About

``` @@ -1692,7 +1692,7 @@ Nulla facilisi.

In quam ante, vulputate at massa et, rutrum gravida dui. Phasellus tristique libero at ex.

-

Home

+

Home

@@ -1709,7 +1709,7 @@ $ cat public/About/index.html ipsum quia dolor sit amet consectetur adipisci velit.

-

Home

+

Home

```