summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-03-25 20:00:38 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-03-25 20:00:38 +0100
commitec277ab95f2147017a55816f533cdb2ee3f811ed (patch)
tree9998043c13d873b480bf5410146fad8aa0235d33 /config.go
Initial import
Diffstat (limited to 'config.go')
-rw-r--r--config.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/config.go b/config.go
new file mode 100644
index 0000000..7fcbf17
--- /dev/null
+++ b/config.go
@@ -0,0 +1,23 @@
+// Copyright 2013 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// Command blog is a web server for the Go blog that can run on App Engine or
+// as a stand-alone HTTP server.
+package main
+
+import (
+ "golang.org/x/tools/blog"
+)
+
+const hostname = "www.dim13.org" // default hostname for blog server
+
+var config = blog.Config{
+ Hostname: hostname,
+ BaseURL: "//" + hostname,
+ HomeArticles: 5, // articles to display on the home page
+ FeedArticles: 10, // articles to include in Atom and JSON feeds
+ FeedTitle: "dim-i-tri",
+ ContentPath: "htdocs/content",
+ TemplatePath: "htdocs/template",
+}