protected void Page_Load(object sender, EventArgs e) { AddPoweredBy(); if (!Page.IsPostBack) { CheckAffiliate(); } string defaulSEOTitle = SettingManager.GetSettingValue("SEO.DefaultTitle"); string defaulSEODescription = SettingManager.GetSettingValue("SEO.DefaultMetaDescription"); string defaulSEOKeywords = SettingManager.GetSettingValue("SEO.DefaultMetaKeywords"); SEOHelper.RenderTitle(this.Page, defaulSEOTitle, false, false); SEOHelper.RenderMetaTag(this.Page, "description", defaulSEODescription, false); SEOHelper.RenderMetaTag(this.Page, "keywords", defaulSEOKeywords, false); if (SettingManager.GetSettingValueBoolean("Display.ShowNewsHeaderRssURL")) { SEOHelper.RenderHeaderRSSLink(this.Page, defaulSEOTitle + ": News", SEOHelper.GetNewsRssURL()); } if (SettingManager.GetSettingValueBoolean("Display.ShowBlogHeaderRssURL")) { SEOHelper.RenderHeaderRSSLink(this.Page, defaulSEOTitle + ": Blog", SEOHelper.GetBlogRssURL()); } }
protected string GetNewsRSSUrl() { return(SEOHelper.GetNewsRssURL()); }