protected override void OnInit(EventArgs e) { base.OnInit(e); var dataInstaller = new ArticulateDataInstaller(); var root = dataInstaller.Execute(); BlogUrl = Umbraco.TypedContent(root.Id).Url; }
protected override void OnInit(EventArgs e) { base.OnInit(e); var dataInstaller = new ArticulateDataInstaller(); var root = dataInstaller.Execute(); BlogUrl = Umbraco.TypedContent(root.Id).Url; }
protected override void OnInit(EventArgs e) { base.OnInit(e); var dataInstaller = new ArticulateDataInstaller(Services); var root = dataInstaller.Execute(); if (root != null) { BlogUrl = Umbraco.TypedContent(root.Id).Url; } else { BlogUrl = "/"; } }
protected override void OnInit(EventArgs e) { base.OnInit(e); var dataInstaller = new ArticulateDataInstaller(Services); var root = dataInstaller.Execute(); if (root != null) { BlogUrl = Umbraco.TypedContent(root.Id).Url; } else { BlogUrl = "/"; } }