shithub: hugo

Download patch

ref: 794589fbfdb41d380b47685775e7ca28009b420e
parent: 8fa871a05f46295beef1f460bca28cb21ce42d2b
author: Bjørn Erik Pedersen <[email protected]>
date: Fri Oct 14 05:34:08 EDT 2016

Use example.org for replace-this-with-your-hugo-site.com

Fixes #2575

--- a/commands/import_jekyll.go
+++ b/commands/import_jekyll.go
@@ -221,7 +221,7 @@
 
 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)
--- a/commands/new.go
+++ b/commands/new.go
@@ -332,7 +332,7 @@
 
 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",
 	}
--- a/docs/content/tutorials/creating-a-new-theme.md
+++ b/docs/content/tutorials/creating-a-new-theme.md
@@ -489,7 +489,7 @@
 ```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 @@
 <!DOCTYPE html>
 <html>
 <body>
-    <h4><a href="http://replace-this-with-your-hugo-site.com/article/Second/">Second</a></h4>
-    <h4><a href="http://replace-this-with-your-hugo-site.com/article/First/">First</a></h4>
+    <h4><a href="http://example.org/article/Second/">Second</a></h4>
+    <h4><a href="http://example.org/article/First/">First</a></h4>
 </body>
 </html>
 ```
@@ -1214,7 +1214,7 @@
 In quam ante, vulputate at massa et, rutrum
 gravida dui. Phasellus tristique libero at ex.</p>
 
-  <h4><a href="http://replace-this-with-your-hugo-site.com/">Home</a></h4>
+  <h4><a href="http://example.org/">Home</a></h4>
 </body>
 </html>
 
@@ -1236,7 +1236,7 @@
 pulvinar. Ut mattis gravida venenatis. Vivamus
 lobortis risus id nisi rutrum, at iaculis.</p>
 
-  <h4><a href="http://replace-this-with-your-hugo-site.com/">Home</a></h4>
+  <h4><a href="http://example.org/">Home</a></h4>
 </body>
 </html>
 ```
@@ -1402,7 +1402,7 @@
 ipsum quia dolor sit amet consectetur
 adipisci velit.</p>
 
-  <h4><a href="http://replace-this-with-your-hugo-site.com/">Home</a></h4>
+  <h4><a href="http://example.org/">Home</a></h4>
 </body>
 </html>
 ```
@@ -1418,9 +1418,9 @@
 <!DOCTYPE html>
 <html>
 <body>
-    <h4><a href="http://replace-this-with-your-hugo-site.com/About/">About</a></h4>
-    <h4><a href="http://replace-this-with-your-hugo-site.com/article/Second/">Second</a></h4>
-    <h4><a href="http://replace-this-with-your-hugo-site.com/article/First/">First</a></h4>
+    <h4><a href="http://example.org/About/">About</a></h4>
+    <h4><a href="http://example.org/article/Second/">Second</a></h4>
+    <h4><a href="http://example.org/article/First/">First</a></h4>
 </body>
 </html>
 ```
@@ -1476,10 +1476,10 @@
 <html>
 <body>
   <h2>Articles</h2>
-      <h4><a href="http://replace-this-with-your-hugo-site.com/article/Second/">Second</a></h4>
-      <h4><a href="http://replace-this-with-your-hugo-site.com/article/First/">First</a></h4>
+      <h4><a href="http://example.org/article/Second/">Second</a></h4>
+      <h4><a href="http://example.org/article/First/">First</a></h4>
   <h2>Pages</h2>
-      <h4><a href="http://replace-this-with-your-hugo-site.com/About/">About</a></h4>
+      <h4><a href="http://example.org/About/">About</a></h4>
 </body>
 </html>
 ```
@@ -1692,7 +1692,7 @@
 In quam ante, vulputate at massa et, rutrum
 gravida dui. Phasellus tristique libero at ex.</p>
 
-  <h4><a href="http://replace-this-with-your-hugo-site.com/">Home</a></h4>
+  <h4><a href="http://example.org/">Home</a></h4>
 </body>
 </html>
 
@@ -1709,7 +1709,7 @@
 ipsum quia dolor sit amet consectetur
 adipisci velit.</p>
 
-  <h4><a href="http://replace-this-with-your-hugo-site.com/">Home</a></h4>
+  <h4><a href="http://example.org/">Home</a></h4>
 </body>
 </html>
 ```