go.talks/present: do not put line breaks at end of line in articles
Add a new template, "newline", that is a <br> for slides but a no-op
in articles.

R=golang-dev, campoy
CC=golang-dev
https://golang.org/cl/6843051
diff --git a/present/templates/action.tmpl b/present/templates/action.tmpl
index 9d1d57a..4be2c6e 100644
--- a/present/templates/action.tmpl
+++ b/present/templates/action.tmpl
@@ -21,7 +21,7 @@
   <div class="code"><pre>{{range .Lines}}{{.}}{{end}}</pre></div>
   {{else}}
   <p>
-    {{range $i, $l := .Lines}}{{if $i}}<br>
+    {{range $i, $l := .Lines}}{{if $i}}{{template "newline"}}
     {{end}}{{style $l}}{{end}}
   </p>
   {{end}}
diff --git a/present/templates/article.tmpl b/present/templates/article.tmpl
index cd25a70..df04911 100644
--- a/present/templates/article.tmpl
+++ b/present/templates/article.tmpl
@@ -52,3 +52,7 @@
     {{end}}
   </ul>
 {{end}}
+
+{{define "newline"}}
+{{/* No automatic line break. Paragraphs are free-form. */}}
+{{end}}
diff --git a/present/templates/slides.tmpl b/present/templates/slides.tmpl
index 5567127..549e2df 100755
--- a/present/templates/slides.tmpl
+++ b/present/templates/slides.tmpl
@@ -49,3 +49,7 @@
   <script src='/static/playground.js'></script>
 </html>
 {{end}}
+
+{{define "newline"}}
+<br>
+{{end}}