1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

doc: make root.html's blog section less cluttered.

R=r
CC=golang-dev
https://golang.org/cl/2925041
This commit is contained in:
Nigel Tao 2010-11-05 16:13:58 +11:00
parent d73d1c5f32
commit fc98af93ac

View File

@ -6,7 +6,7 @@ function loadFeed() {
var url = "http://blog.golang.org/feeds/posts/default"; var url = "http://blog.golang.org/feeds/posts/default";
var divId = "blogFeed"; var divId = "blogFeed";
var feed = new google.feeds.Feed(url); var feed = new google.feeds.Feed(url);
feed.setNumEntries(5) feed.setNumEntries(4)
feed.load(function (result) { feed.load(function (result) {
var container = document.getElementById(divId) var container = document.getElementById(divId)
if (result.error) { if (result.error) {