Browse Source

Use RenderSectionAsync instead of RenderSection

pull/965/head
Halil ibrahim Kalkan 8 years ago
parent
commit
bf17712ae8
  1. 4
      abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml
  2. 4
      abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml
  3. 4
      abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml

4
abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/HomePageLayout.cshtml

@ -17,7 +17,7 @@
<title>@(ViewBag.Title == null ? "abp.io" : ViewBag.Title)</title> <title>@(ViewBag.Title == null ? "abp.io" : ViewBag.Title)</title>
@await Component.InvokeAsync(typeof(StandardMetaViewComponent)) @await Component.InvokeAsync(typeof(StandardMetaViewComponent))
<abp-style-bundle name="@AbpIoBundles.Styles.Global" /> <abp-style-bundle name="@AbpIoBundles.Styles.Global" />
@RenderSection("styles", false) @await RenderSectionAsync("styles", false)
</head> </head>
<body> <body>
@ -47,7 +47,7 @@
gtag('config', 'UA-49982725-4'); gtag('config', 'UA-49982725-4');
</script> </script>
@RenderSection("scripts", false) @await RenderSectionAsync("scripts", false)
</body> </body>
</html> </html>

4
abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/Layout.cshtml

@ -17,7 +17,7 @@
<title>@(ViewBag.Title == null ? "abp.io" : ViewBag.Title)</title> <title>@(ViewBag.Title == null ? "abp.io" : ViewBag.Title)</title>
@await Component.InvokeAsync(typeof(StandardMetaViewComponent)) @await Component.InvokeAsync(typeof(StandardMetaViewComponent))
<abp-style-bundle name="@AbpIoBundles.Styles.Global" /> <abp-style-bundle name="@AbpIoBundles.Styles.Global" />
@RenderSection("styles", false) @await RenderSectionAsync("styles", false)
</head> </head>
<body> <body>
@ -58,7 +58,7 @@
gtag('config', 'UA-49982725-4'); gtag('config', 'UA-49982725-4');
</script> </script>
@RenderSection("scripts", false) @await RenderSectionAsync("scripts", false)
</body> </body>
</html> </html>

4
abp_io/src/Volo.AbpWebSite.Web/Pages/Shared/LayoutEmpty.cshtml

@ -18,7 +18,7 @@
<title>@(ViewBag.Title == null ? "abp.io" : ViewBag.Title)</title> <title>@(ViewBag.Title == null ? "abp.io" : ViewBag.Title)</title>
@await Component.InvokeAsync(typeof(StandardMetaViewComponent)) @await Component.InvokeAsync(typeof(StandardMetaViewComponent))
<abp-style-bundle name="@StandardBundles.Styles.Global" /> <abp-style-bundle name="@StandardBundles.Styles.Global" />
@RenderSection("styles", false) @await RenderSectionAsync("styles", false)
</head> </head>
<body class="abp-empty-layout"> <body class="abp-empty-layout">
@ -41,7 +41,7 @@
gtag('config', 'UA-49982725-4'); gtag('config', 'UA-49982725-4');
</script> </script>
@RenderSection("scripts", false) @await RenderSectionAsync("scripts", false)
</body> </body>
</html> </html>
Loading…
Cancel
Save