mirror of
https://github.com/golang/go
synced 2024-11-21 22:24:40 -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:
parent
d73d1c5f32
commit
fc98af93ac
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user