mirror of https://github.com/abpframework/abp
Merge pull request #7731 from abpframework/cms-kit/pages-prefix
Cms Kit - Pages Prefixpull/7784/head
commit
5c8239007b
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,13 @@
|
||||
@page
|
||||
@using Microsoft.AspNetCore.Mvc.Localization
|
||||
@using Volo.CmsKit.Localization
|
||||
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Pages
|
||||
@model Volo.CmsKit.Public.Web.Pages.CmsKit.Pages.IndexModel
|
||||
@inject IHtmlLocalizer<CmsKitResource> L
|
||||
|
||||
@await Component.InvokeAsync(typeof(DefaultPageViewComponent),
|
||||
new
|
||||
{
|
||||
pageId = Model.Page.Id,
|
||||
title = Model.Page.Title
|
||||
})
|
@ -1,9 +0,0 @@
|
||||
@model Volo.CmsKit.Public.Pages.PageDto
|
||||
|
||||
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Pages
|
||||
|
||||
@await Component.InvokeAsync(typeof(DefaultPageViewComponent), new
|
||||
{
|
||||
pageId = Model.Id,
|
||||
title = Model.Title
|
||||
})
|
Loading…
Reference in new issue