Add RSSUri to specify the name of the RSS file

This commit is contained in:
Dana H. P'Simer
2015-04-24 14:25:09 -04:00
committed by bep
parent beccdc04f3
commit fd08e16ec8
3 changed files with 4 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ const RSS_TEMPLATE = `<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom
func TestRSSOutput(t *testing.T) {
viper.Set("baseurl", "http://auth/bub/")
viper.Set("RSSUri", "index.xml")
hugofs.DestinationFS = new(afero.MemMapFs)
s := &Site{