("bottomComponent");
}
-
- @* @await Html.GetBlockGridItemsHtmlAsync(Model) *@
- @await Html.GetPreviewBlockGridItemsHtmlAsync(Model, $"{CurrentSite.GetItem().Root.Name}{Prefix.PrefixData}items")
-
+@if (top != null)
+{
+
+ @await Html.GetPreviewBlockGridItemsHtmlAsync(top, $"{CurrentSite.GetItem().Root.Name}{Prefix.PrefixData}items")
+
+}
+@if (Model != null)
+{
+
+ @* @await Html.GetBlockGridItemsHtmlAsync(Model) *@
+ @await Html.GetPreviewBlockGridItemsHtmlAsync(Model, $"{CurrentSite.GetItem().Root.Name}{Prefix.PrefixData}items")
+
+
+}
+@if (bottom != null)
+{
+
+ @await Html.GetPreviewBlockGridItemsHtmlAsync(bottom, $"{CurrentSite.GetItem().Root.Name}{Prefix.PrefixData}items")
+
+}
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/Views/uTPro/_Nav.cshtml b/uTPro/Project/uTPro.Project.Web/Views/uTPro/_Nav.cshtml
index 931351f..67c3095 100644
--- a/uTPro/Project/uTPro.Project.Web/Views/uTPro/_Nav.cshtml
+++ b/uTPro/Project/uTPro.Project.Web/Views/uTPro/_Nav.cshtml
@@ -37,7 +37,11 @@
var url = CurrentSite.GetUrlWithCulture(Model, item.Culture, UrlMode.Auto);
if (url == "#" || string.IsNullOrEmpty(url))
{
- url = CurrentSite.GetUrlWithCulture(CurrentSite.GetItem().PageHome, item.Culture, UrlMode.Auto);
+ var pageHome = CurrentSite.GetItem().PageHome;
+ if (pageHome != null)
+ {
+ url = CurrentSite.GetUrlWithCulture(pageHome, item.Culture, UrlMode.Auto);
+ }
}
if (string.IsNullOrEmpty(url))
continue;
@@ -93,7 +97,7 @@
@optionHtml
-
+
Language
@hrefHtml
diff --git "a/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/gi\341\273\233i-thi\341\273\207u.config" "b/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/gi\341\273\233i-thi\341\273\207u.config"
index 18ad164..5060723 100644
--- "a/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/gi\341\273\233i-thi\341\273\207u.config"
+++ "b/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/gi\341\273\233i-thi\341\273\207u.config"
@@ -19,69 +19,12 @@
+
+
+
+
+
+
diff --git "a/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/trang-ch\341\273\247.config" "b/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/trang-ch\341\273\247.config"
index 473f7bc..f992c13 100644
--- "a/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/trang-ch\341\273\247.config"
+++ "b/uTPro/Project/uTPro.Project.Web/uSync/v16/Content/trang-ch\341\273\247.config"
@@ -25,70 +25,14 @@
+
+
+
+
+
+
+
+
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__content.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__content.config
deleted file mode 100644
index 3939297..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__content.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__contentlayout.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__contentlayout.config
new file mode 100644
index 0000000..0675854
--- /dev/null
+++ b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__contentlayout.config
@@ -0,0 +1,80 @@
+
+
+
+ Content Layout
+ icon-document
+ folder.png
+
+ False
+ 00000000-0000-0000-0000-000000000000
+ Culture
+ false
+
+ False
+
+
+
+ uTPro+-+Site
+
+
+
+
+
+
+
+ d491fccc-8fd8-4e98-8932-faedb7d60812
+ Bottom Component
+ bottomComponent
+ bca07c25-6e90-4c68-8f5e-738821c107be
+ Umbraco.BlockGrid
+ false
+
+
+ 0
+ Bottom Content
+ Culture
+
+
+ false
+
+
+ 941a9879-e00b-4f5c-acdc-9a9e56ba0199
+ Top Component
+ topComponent
+ bca07c25-6e90-4c68-8f5e-738821c107be
+ Umbraco.BlockGrid
+ false
+
+
+ 0
+ Top Content
+ Culture
+
+
+ false
+
+
+
+
+ 90ee1f6e-6d21-4fd9-a3c8-88b36833cfa0
+ Top Content
+ layout/topContent
+ Group
+ -1
+
+
+ ba965af9-92e0-460f-88da-e4e551857838
+ Layout
+ layout
+ Tab
+ 0
+
+
+ dd5e1b0a-2483-4472-99e8-ab44ea682a91
+ Bottom Content
+ layout/bottomContent
+ Group
+ 99
+
+
+
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__endorsementsfeature.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__endorsementsfeature.config
deleted file mode 100644
index eeedf7a..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__endorsementsfeature.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__introductiondetail1.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__introductiondetail1.config
deleted file mode 100644
index a6d0e83..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__introductiondetail1.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagehome.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagehome.config
index 6bb9a54..40f08b4 100644
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagehome.config
+++ b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagehome.config
@@ -22,6 +22,7 @@
globalPageNavigationSetting
globalPageScriptSetting
globalPageSitemapSetting
+ uTPro__ContentLayout
globalLayout
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagestandard.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagestandard.config
index ae41408..4d65b53 100644
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagestandard.config
+++ b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpro__pagestandard.config
@@ -20,6 +20,7 @@
globalPageHeadSocialMetaSetting
globalPageScriptSetting
globalPageSitemapSetting
+ uTPro__ContentLayout
globalLayout
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticleimage.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticleimage.config
deleted file mode 100644
index 5fd9b1c..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticleimage.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticleparagraph.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticleparagraph.config
deleted file mode 100644
index 8393368..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticleparagraph.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticlerichtext.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticlerichtext.config
deleted file mode 100644
index 727971d..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproarticlerichtext.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproendorsementsfeature.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproendorsementsfeature.config
deleted file mode 100644
index 5b94b39..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproendorsementsfeature.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproendorsementshighlight.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproendorsementshighlight.config
deleted file mode 100644
index a8d569e..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utproendorsementshighlight.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utprointroductiondetailfeature.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utprointroductiondetailfeature.config
deleted file mode 100644
index 738f427..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utprointroductiondetailfeature.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpropagestandard.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpropagestandard.config
deleted file mode 100644
index bc40f58..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/ContentTypes/utpropagestandard.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/GlobalNavigationItemsBlockList.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/GlobalNavigationItemsBlockList.config
deleted file mode 100644
index 7bdfced..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/GlobalNavigationItemsBlockList.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/PageGeneralBlockGrid.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/PageGeneralBlockGrid.config
deleted file mode 100644
index f7a82b0..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/PageGeneralBlockGrid.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/uTProEndorsementsHighlightBlockListPropertyEditorUI.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/uTProEndorsementsHighlightBlockListPropertyEditorUI.config
deleted file mode 100644
index f2d07f5..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/DataTypes/uTProEndorsementsHighlightBlockListPropertyEditorUI.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/uTPro/Project/uTPro.Project.Web/uSync/v16/Media/banner-feature.jpg-1.config b/uTPro/Project/uTPro.Project.Web/uSync/v16/Media/banner-feature.jpg-1.config
deleted file mode 100644
index ff189a4..0000000
--- a/uTPro/Project/uTPro.Project.Web/uSync/v16/Media/banner-feature.jpg-1.config
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file