Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(99)

Unified Diff: blog/template/home.tmpl

Issue 6871046: go.talks/blog: add blog server
Patch Set: diff -r 2c25ae98203b https://code.google.com/p/go.talks Created 12 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blog/template/article.tmpl ('k') | blog/template/root.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blog/template/home.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/blog/template/home.tmpl
@@ -0,0 +1,9 @@
+ <h1>The Go Programming Language Blog</h1>
+
+ {{range .}}
+ <p class="blogtitle">
+ <a href="{{.Path}}">{{.Title}}</a>
+ <span class="date">{{.Time.Format "2 January 2006"}}</span>
+ {{with .Tags}}<span class="tags">{{range .}}{{.}} {{end}}</span>{{end}}
+ </p>
+ {{end}}
« no previous file with comments | « blog/template/article.tmpl ('k') | blog/template/root.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b