Skip to content

Commit

Permalink
Merge pull request #519 from poppastring/front-page-category
Browse files Browse the repository at this point in the history
Front page category
  • Loading branch information
poppastring authored Dec 28, 2020
2 parents ab293b4 + 3828884 commit 32e00d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion source/DasBlog.Web.Repositories/BlogManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public EntryCollection GetFrontPagePosts(string acceptLanguageHeader)
{
return dataService.GetEntriesForDay(dasBlogSettings.GetContentLookAhead(), dasBlogSettings.GetConfiguredTimeZone(),
acceptLanguageHeader, dasBlogSettings.SiteConfiguration.FrontPageEntryCount,
dasBlogSettings.SiteConfiguration.FrontPageEntryCount, string.Empty);
dasBlogSettings.SiteConfiguration.FrontPageEntryCount,
dasBlogSettings.SiteConfiguration.FrontPageCategory);
}

public EntryCollection GetEntriesForPage(int pageIndex, string acceptLanguageHeader)
Expand Down
4 changes: 2 additions & 2 deletions source/DasBlog.Web.UI/Config/site.Development.config
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@

<CookieConsentEnabled>false</CookieConsentEnabled>

<SecurityStyleSources>www.google.com;platform.twitter.com;cdn.syndication.twimg.com;fonts.googleapis.com;maxcdn.bootstrapcdn.com</SecurityStyleSources>
<SecurityScriptSources>www.google.com;cse.google.com;cdn.syndication.twimg.com;platform.twitter.com;apis.google.com;www.google-analytics.com;www.googletagservices.com;adservice.google.com;securepubads.g.doubleclick.net;ajax.aspnetcdn.com;ssl.google-analytics.com</SecurityScriptSources>
<SecurityStyleSources>cloud.tinymce.com;cdn.tiny.cloud;cdn.jsdelivr.net;js.nicedit.com;www.google.com;platform.twitter.com;cdn.syndication.twimg.com;fonts.googleapis.com;maxcdn.bootstrapcdn.com</SecurityStyleSources>
<SecurityScriptSources>cloud.tinymce.com;cdn.tiny.cloud;cdn.jsdelivr.net;js.nicedit.com;www.google.com;cse.google.com;cdn.syndication.twimg.com;platform.twitter.com;apis.google.com;www.google-analytics.com;www.googletagservices.com;adservice.google.com;securepubads.g.doubleclick.net;ajax.aspnetcdn.com;ssl.google-analytics.com</SecurityScriptSources>

<!-- Settings below this line are not currently in use -->
<!-- _________________________________________________ -->
Expand Down
4 changes: 2 additions & 2 deletions source/DasBlog.Web.UI/Config/site.config
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@

<CookieConsentEnabled>false</CookieConsentEnabled>

<SecurityStyleSources>www.google.com;platform.twitter.com;cdn.syndication.twimg.com;fonts.googleapis.com;maxcdn.bootstrapcdn.com</SecurityStyleSources>
<SecurityScriptSources>www.google.com;cse.google.com;cdn.syndication.twimg.com;platform.twitter.com;apis.google.com;www.google-analytics.com;www.googletagservices.com;adservice.google.com;securepubads.g.doubleclick.net;ajax.aspnetcdn.com;ssl.google-analytics.com</SecurityScriptSources>
<SecurityStyleSources>cloud.tinymce.com;cdn.tiny.cloud;cdn.jsdelivr.net;js.nicedit.com;www.google.com;platform.twitter.com;cdn.syndication.twimg.com;fonts.googleapis.com;maxcdn.bootstrapcdn.com</SecurityStyleSources>
<SecurityScriptSources>cloud.tinymce.com;cdn.tiny.cloud;cdn.jsdelivr.net;js.nicedit.com;www.google.com;cse.google.com;cdn.syndication.twimg.com;platform.twitter.com;apis.google.com;www.google-analytics.com;www.googletagservices.com;adservice.google.com;securepubads.g.doubleclick.net;ajax.aspnetcdn.com;ssl.google-analytics.com</SecurityScriptSources>

<!-- Settings below this line are not currently in use -->
<!-- _________________________________________________ -->
Expand Down

0 comments on commit 32e00d6

Please sign in to comment.