Move documentation macros to partials
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
<div id="wiki" class="subpage">
|
||||
<div id="body">
|
||||
<div style="margin-top: 25px;">
|
||||
@Umbraco.RenderMacro("DocsBreadcrumb")
|
||||
@Html.Partial("~/Views/Partials/Documentation/Breadcrumb.cshtml")
|
||||
</div>
|
||||
|
||||
<div id="markdown-docs" class="markdown-syntax">
|
||||
@Umbraco.RenderMacro("DocsDisplayMarkdown")
|
||||
@Html.Partial("~/Views/Partials/Documentation/DisplayMarkdown.cshtml")
|
||||
</div>
|
||||
|
||||
<br style="clear: both" />
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="sidebar-area">
|
||||
<div class="sidebar-content">
|
||||
<div class="content-wrapper">
|
||||
@Umbraco.RenderMacro("DocsNavigation")
|
||||
@Html.Partial("~/Views/Partials/Documentation/Navigation.cshtml")
|
||||
</div><!-- .content-wrapper -->
|
||||
</div><!-- .sidebar-content -->
|
||||
</div><!-- .sidebar-area-->
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="main-content">
|
||||
<div class="content-wrapper">
|
||||
<div>
|
||||
@Umbraco.RenderMacro("DocsBreadcrumb")
|
||||
@Html.Partial("~/Views/Partials/Documentation/Breadcrumb.cshtml")
|
||||
</div>
|
||||
|
||||
<div class="search-big">
|
||||
@@ -28,7 +28,7 @@
|
||||
<ul class="search-all-results docs-search-listing"></ul>
|
||||
|
||||
<div id="markdown-docs" class="docs-default-listing markdown-syntax">
|
||||
@Umbraco.RenderMacro("DocsDisplayMarkdown")
|
||||
@Html.Partial("~/Views/Partials/Documentation/DisplayMarkdown.cshtml")
|
||||
</div>
|
||||
</div><!-- .content-wrapper -->
|
||||
</div><!-- .main-content -->
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
@using OurUmbraco.Documentation
|
||||
@using OurUmbraco.Documentation
|
||||
@using OurUmbraco.Documentation.Busineslogic
|
||||
@inherits Umbraco.Web.Macros.PartialViewMacroPage
|
||||
@inherits OurUmbraco.Our.Models.OurUmbracoTemplatePage
|
||||
|
||||
@{
|
||||
string baseurl = "/";
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
directoryName = directoryName.Substring(1);
|
||||
string[] strDirs = directoryName.Split('\\');
|
||||
|
||||
|
||||
var linkToGithub = string.Empty;
|
||||
if (absolutePath.StartsWith("/project") == false)
|
||||
{
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
@using OurUmbraco.Documentation.Busineslogic
|
||||
@inherits Umbraco.Web.Macros.PartialViewMacroPage
|
||||
@inherits OurUmbraco.Our.Models.OurUmbracoTemplatePage
|
||||
|
||||
<style>
|
||||
#markdown-docs .anchorjs-link {
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
@using OurUmbraco.Documentation.Busineslogic.GithubSourcePull
|
||||
@inherits Umbraco.Web.Macros.PartialViewMacroPage
|
||||
|
||||
@inherits OurUmbraco.Our.Models.OurUmbracoTemplatePage
|
||||
@{
|
||||
var zipper = new ZipDownloader();
|
||||
dynamic sitemap = zipper.DocumentationSiteMap();
|
||||
Reference in New Issue
Block a user