예제 #1
0
        protected void SetMetaTagsAndTheme(BlogEntry entry)
        {
            StoreFrontConfiguration config = CurrentStoreFrontConfigOrThrow;

            _metaDescriptionOverride = entry.MetaDescriptionOrSystemDefault(config);
            _metaKeywordsOverride    = entry.MetaKeywordsOrSystemDefault(config);
            ViewData.Theme(entry.ThemeOrSystemDefault(config));
        }