aboutsummaryrefslogtreecommitdiff
path: root/doc/go_tutorial.html
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2012-01-19 11:24:54 +1100
committerAndrew Gerrand <adg@golang.org>2012-01-19 11:24:54 +1100
commit7cb21a79a40250bb989a2dc086ae30a60783afdd (patch)
treed6d930c0ff1cdc11c080d1c45f0bdbc1f568a874 /doc/go_tutorial.html
parentb71883e9b0eff7e89081d20204bf33f369cdf735 (diff)
downloadgo-7cb21a79a40250bb989a2dc086ae30a60783afdd.tar.xz
godoc: specify HTML page metadata with a JSON blob
This allows HTML pages to specify arbitrary data in a header: <!--{ "Title": "The page title", ... }--> replacing the old style comments: <!-- title The page title --> R=gri, rsc, r, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5532093
Diffstat (limited to 'doc/go_tutorial.html')
-rw-r--r--doc/go_tutorial.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html
index 071ca1aa9d..eaa989a200 100644
--- a/doc/go_tutorial.html
+++ b/doc/go_tutorial.html
@@ -1,4 +1,6 @@
-<!-- A Tutorial for the Go Programming Language -->
+<!--{
+ "Title": "A Tutorial for the Go Programming Language"
+}-->
<!--
DO NOT EDIT: created by
tmpltohtml go_tutorial.tmpl