summaryrefslogtreecommitdiffstats
path: root/docs/layouts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-26 20:46:06 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-06-26 20:46:06 +0200
commita7765bb3c117efa93866556d2b5b129dae7768bf (patch)
treed0df162c8d2801006863cb89c9640c89213644b2 /docs/layouts
parent31393f6024416ea1b2e61d1080dfd7104df36eda (diff)
parentdd78d5b23fe597f4461aa4199401b4e07c0612e2 (diff)
Diffstat (limited to 'docs/layouts')
-rw-r--r--docs/layouts/404.html5
-rw-r--r--docs/layouts/_default/baseof.html12
-rw-r--r--docs/layouts/_default/list.html12
-rw-r--r--docs/layouts/_default/single.html1
-rw-r--r--docs/layouts/index.html319
-rw-r--r--docs/layouts/index.redir6
-rw-r--r--docs/layouts/partials/analytics.html10
-rw-r--r--docs/layouts/partials/footer.html59
-rw-r--r--docs/layouts/partials/header.html93
-rw-r--r--docs/layouts/partials/menu.html40
-rw-r--r--docs/layouts/partials/quotes.html12
-rw-r--r--docs/layouts/partials/search.html1
-rw-r--r--docs/layouts/section/commands.html12
-rw-r--r--docs/layouts/section/release-notes.html6
-rw-r--r--docs/layouts/section/showcase.html17
-rw-r--r--docs/layouts/shortcodes/datatable-vertical.html26
-rw-r--r--docs/layouts/shortcodes/datatable.html23
-rw-r--r--docs/layouts/shortcodes/directoryindex.html13
-rw-r--r--docs/layouts/shortcodes/gh.html9
-rw-r--r--docs/layouts/shortcodes/nohighlight.html1
-rw-r--r--docs/layouts/shortcodes/readfile.html1
-rw-r--r--docs/layouts/shortcodes/youtube.html4
-rw-r--r--docs/layouts/showcase/thumbnail.html17
23 files changed, 699 insertions, 0 deletions
diff --git a/docs/layouts/404.html b/docs/layouts/404.html
new file mode 100644
index 000000000..4b140fbdb
--- /dev/null
+++ b/docs/layouts/404.html
@@ -0,0 +1,5 @@
+{{ partial "header.html" . }}
+<div class="col-lg-8 col-md-12">
+Page Not Found.
+</div>
+{{ partial "footer.html" . }}
diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html
new file mode 100644
index 000000000..076f46dda
--- /dev/null
+++ b/docs/layouts/_default/baseof.html
@@ -0,0 +1,12 @@
+{{ partial "header.html" . }}
+{{ if .Params.toc }}
+<div class="col-lg-8 col-md-12">
+{{block "main" .}}{{end}}
+</div>
+<div id="toc" class="col-lg-offset-6 toc {{ if gt (len .TableOfContents) 2500 }}compact{{ end }}">
+ {{ .TableOfContents }}
+</div>
+{{ else }}
+{{block "main" .}}{{end}}
+{{ end }}
+{{ partial "footer.html" . }}
diff --git a/docs/layouts/_default/list.html b/docs/layouts/_default/list.html
new file mode 100644
index 000000000..f2b122c40
--- /dev/null
+++ b/docs/layouts/_default/list.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+{{ with .Content }}
+{{ . }}
+{{ end }}
+<ul style="margin-top: 20px">
+ {{ range .Data.Pages }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Title }}</a> <em>Updated {{ .Lastmod.Format "Mon, Jan 2, 2006" }}</em>
+ </li>
+ {{ end }}
+</ul>
+{{ end }}
diff --git a/docs/layouts/_default/single.html b/docs/layouts/_default/single.html
new file mode 100644
index 000000000..b8bcfa70c
--- /dev/null
+++ b/docs/layouts/_default/single.html
@@ -0,0 +1 @@
+{{ define "main" }}{{ .Content }}{{ end }}
diff --git a/docs/layouts/index.html b/docs/layouts/index.html
new file mode 100644
index 000000000..a212e1229
--- /dev/null
+++ b/docs/layouts/index.html
@@ -0,0 +1,319 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="Hugo, a fast and flexible static site generator built with love by spf13, bep, and friends in Go">
+ <meta name="author" content="Steve Francia (spf13), Bjørn Erik Pedersen (bep), and friends">
+ <title>Hugo :: A fast and modern static website engine</title>
+
+ {{ "<!--icon for browser shortcuts-->" | safeHTML }}
+ <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
+
+ {{ "<!--icon to represent this web page on Apple iOS-->" | safeHTML }}
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png">
+
+ {{ "<!--Bootstrap core CSS-->" | safeHTML }}
+ <link rel="stylesheet" type="text/css" href="/css/bootstrap-stripped-gohugo.css">
+ <link rel="stylesheet" type="text/css" href="/css/bootstrap-changes-gohugo.css">
+ <link rel="stylesheet" type="text/css" href="/css/bootstrap-additions-gohugo.css">
+
+ {{ "<!--non-Bootstrap CSS (keep below Bootstrap CSS)-->" | safeHTML }}
+ <link rel="stylesheet" type="text/css" href="/vendor/OwlCarousel2/css/owl.carousel.css">
+ <link rel="stylesheet" type="text/css" href="/vendor/OwlCarousel2/css/owl.theme.default.css">
+ <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Arbutus+Slab%7CCabin:600%7CSource+Code+Pro">
+ <link rel="stylesheet" type="text/css" href="/css/hugofont.css">
+ <link rel="stylesheet" type="text/css" href="/css/home-page-style.css">
+ <link rel="stylesheet" type="text/css" href="/css/home-page-style-responsive.css">
+ </head>
+ <body>
+
+ {{ "<!--full page image header area start-->" | safeHTML }}
+ <div id="top" class="header">
+ <div class="vert-text">
+ <a href="#intro">
+ <img class="logo" src="/img/hugo.png" alt="Hugo logo">
+ </a>
+ <div class="buttonbox">
+ <a class="btn-primary btn btn-lg" href="/overview/introduction/">
+ Docs <i class="icon-idea"></i>
+ </a>
+ <a class="btn-success btn btn-lg" href="#action">
+ Install <i class="icon-arrow-down"></i>
+ </a>
+ <a class="btn-info btn btn-lg" href="https://discourse.gohugo.io/">
+ Community <i class="icon-talking"></i>
+ </a>
+ <a class="btn-repo btn btn-lg" href="https://github.com/gohugoio/hugo">
+ GitHub <i class="icon-circlestar"></i>
+ </a>
+ </div>
+ </div>
+ </div>
+ {{ "<!--full page image header area end-->" | safeHTML }}
+
+ {{ "<!--main start-->" | safeHTML }}
+ <div id="main">
+
+ {{ "<!--intro start-->" | safeHTML }}
+ <div id="intro" class="counterpoint">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <i class="lead-icon icon-pacman"></i>
+ <h2>Make the Web Fun Again</h2>
+ <p class="lead">
+ Introducing Hugo, a new idea for making website creation simple again.
+ Hugo works flexibly with many formats, and is ideal for
+ blogs, docs, portfolios and much more.
+ Hugo’s speed fosters
+ creativity&mdash;it makes building a website fun again.
+ </p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--intro end-->" | safeHTML }}
+
+ {{ "<!--point start-->" | safeHTML }}
+ <div class="point">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <i class="point-icon icon-tux"></i>
+ <i class="point-icon icon-apple"></i>
+ <i class="point-icon icon-windows8"></i>
+ <h2>Run Anywhere</h2>
+ <p class="lead">
+ Hugo is quite possibly the easiest software to install you’ve ever used:
+ simply download and run!
+ <b>
+ Hugo doesn’t depend on administrative privileges, databases, runtimes,
+ interpreters or external libraries.
+ </b>
+ Sites built with Hugo can be deployed on S3, GitHub Pages, Dropbox or any web host.
+ </p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--point end-->" | safeHTML }}
+
+ {{ "<!--counterpoint start-->" | safeHTML }}
+ <div class="counterpoint">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <i class="lead-icon icon-rocket"></i>
+ <h2>Fast &amp; Powerful</h2>
+ <p class="lead">
+ Hugo is designed for speed and performance. Great care has been
+ taken to ensure build time with Hugo is as short as possible.
+ We’re talking milliseconds to build your entire site&mdash;for most setups!
+ </p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--counterpoint end-->" | safeHTML }}
+
+ {{ "<!--point start-->" | safeHTML }}
+ <div class="point">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <i class="point-icon icon-fork"></i>
+ <h2>Flexible</h2>
+ <p class="lead">
+ Hugo is designed to work the way you do.
+ Organize your content however you want with any URL structure.
+ Group your content using your own indexes and categories.
+ Define your own metadata in any format: YAML, TOML or JSON.
+ Best of all, Hugo handles all these variations
+ with virtually no configuration. Hugo
+ just works.
+ </p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--point end-->" | safeHTML }}
+
+
+ {{ "<!--quote carousel start-->" | safeHTML }}
+ <div class="callout">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-12">
+ <i class="callout-icon icon-circlestar"></i>
+ <p></p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-12">
+
+ {{ "<!--wrapper for slides start-->" | safeHTML }}
+ <div class="carousel-inner owl-carousel">
+{{ partial "quotes.html" ((where $.Site.Data.references.quotes "date" "ge" (now.AddDate -2 0 0) | shuffle )) }}
+ </div>
+ {{ "<!--wrapper for slides end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--quote carousel end-->" | safeHTML }}
+
+ </div>
+ {{ "<!--main end-->" | safeHTML }}
+
+ {{ "<!--counterpoint start-->" | safeHTML }}
+ <div class="counterpoint">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <i class="lead-icon icon-octocat"></i>
+ <h2>Open and Free</h2>
+ <p class="lead">
+ Hugo is <a href="https://github.com/gohugoio/hugo">open source</a> and completely free.
+ </p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--counterpoint end-->" | safeHTML }}
+
+ {{ "<!--point start-->" | safeHTML }}
+ <div class="point">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <i class="point-icon icon-beaker-alt"></i>
+ <i class="point-icon icon-heart"></i>
+ <i class="point-icon icon-spf13"></i>
+ <h2>Built with <i class="icon-heart"></i></h2>
+ <p class="lead">
+ Hugo is developed with love by <a href="http://spf13.com">spf13</a> and friends.
+ We welcome all contributions.
+ New to Go? We’ll help you.
+ Not a developer? No problem! Help
+ with <a href="/overview/introduction/">docs,</a> testing
+ and <a href="https://github.com/gohugoio/hugoThemes/">themes.</a>
+ </p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--counterpoint end-->" | safeHTML }}
+
+ {{ "<!--call to action start-->" | safeHTML }}
+ <div id="action" class="call-to-action">
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-10 col-md-offset-1">
+ <h1>Getting Started</h1>
+ <a class="btn-primary btn btn-lg" href="https://github.com/gohugoio/hugo/releases">
+ Download
+ <i class="icon-arrow-down"></i>
+ </a>
+ <a class="quickstart" href="/overview/quickstart/">
+ Quickstart Guide
+ </a>
+ <p>&nbsp;</p>
+ <h4>Using Homebrew?</h4>
+ <pre><code>brew install hugo</code></pre>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </div>
+ {{ "<!--call to action end-->" | safeHTML }}
+
+ {{ "<!--footer start-->" | safeHTML }}
+ <footer>
+ <div class="container">
+
+ {{ "<!--row start-->" | safeHTML }}
+ <div class="row">
+ <div class="text-center col-md-6 col-md-offset-3">
+ <ul class="list-inline">
+ <li><a class="icon-twitter icon-2x" href="https://twitter.com/gohugoio"></a></li>
+ <li><a class="icon-octocat icon-2x" href="https://github.com/gohugoio/hugo"></a></li>
+ </ul>
+ <hr>
+ <p>Copyright &copy; Steve Francia 2013&ndash;{{ now.Format "2006" }}</p>
+ </div>
+ </div>
+ {{ "<!--row end-->" | safeHTML }}
+
+ </div>
+ </footer>
+ {{ "<!--footer end-->" | safeHTML }}
+
+ {{ "<!--JavaScript: Keep at the end of the document so the page loads faster-->" | safeHTML }}
+ <script src="/vendor/jquery/js/jquery-2.1.4.min.js"></script>
+
+ {{ "<!--Bootstrap core JavaScript here-->" | safeHTML }}
+ {{ `<!--<script src="/vendor/twitter/js/bootstrap.min.js"></script>-->` | safeHTML }}
+
+ <script src="/vendor/OwlCarousel2/js/owl.carousel.min.js"></script>
+ <script src="/js/owl.carousel-custom.js"></script>
+
+ {{ "<!--custom JavaScript-->" | safeHTML }}
+ <script>
+ $(function() {
+ $('a[href*=#]:not([href=#])').click(function() {
+ if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
+ || location.hostname == this.hostname) {
+
+ var target = $(this.hash);
+ target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
+ if (target.length) {
+ $('html,body').animate({
+ scrollTop: target.offset().top
+ }, 1000);
+ return false;
+ }
+ }
+ });
+ });
+ </script>
+
+{{ "<!--Google analytics-->" | safeHTML }}
+{{ template "partials/analytics.html" . }}
+ </body>
+</html>
diff --git a/docs/layouts/index.redir b/docs/layouts/index.redir
new file mode 100644
index 000000000..2dfd2bc0f
--- /dev/null
+++ b/docs/layouts/index.redir
@@ -0,0 +1,6 @@
+# Netlify redirects. See https://www.netlify.com/docs/redirects/
+{{ range $p := .Site.Pages -}}
+{{ range .Aliases }}
+{{ . | printf "%-35s" }} {{ $p.RelPermalink -}}
+{{ end -}}
+{{- end -}}
diff --git a/docs/layouts/partials/analytics.html b/docs/layouts/partials/analytics.html
new file mode 100644
index 000000000..a30754c0a
--- /dev/null
+++ b/docs/layouts/partials/analytics.html
@@ -0,0 +1,10 @@
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-7131036-4', 'spf13.com');
+ ga('send', 'pageview');
+
+</script>
diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html
new file mode 100644
index 000000000..9734aa983
--- /dev/null
+++ b/docs/layouts/partials/footer.html
@@ -0,0 +1,59 @@
+ <div class="row">
+ <div class="footer-panel">
+ <p>Last revision: {{ .Lastmod.Format "January 2, 2006" }}{{ if .IsPage }}{{ with .GitInfo }} | <a href="https://github.com/gohugoio/hugo/commit/{{ .Hash }}">{{ .Subject }} ({{ .AbbreviatedHash }})</a>{{end }}{{ end }}
+ <span style="float: right;">Hugo v{{ .Site.Params.release }} documentation</span>
+ </p>
+ {{ with getenv "REPOSITORY_URL" -}}
+ <a href="https://www.netlify.com" style="float: right; padding-right: 20px;">
+ <img src="https://www.netlify.com/img/global/badges/netlify-color-bg.svg"/>
+ </a>
+ {{- end }}
+ </div>
+ </div>
+
+ </div>
+ </section>
+
+ </div>
+
+ <div class="col-md-1">
+ {{ if .IsPage }}
+ {{ with .GetParam "next" }}
+ <a class="navigation next" href="{{.}}">
+ <i class="fa fa-angle-right"> </i>
+ </a>
+ {{ end }}
+ {{ end }}
+ </div>
+ </div>
+ <!-- page start-->
+ </section>
+ </section>
+ <!--main content end-->
+ </section>
+ <!-- container section end -->
+
+ <!-- javascripts -->
+ <script type="text/javascript" src="/vendor/jquery/js/jquery-2.1.4.min.js"></script>
+ <script type="text/javascript" src="/vendor/flesler/js/jquery.scrollTo.min.js"></script>
+ <script type="text/javascript" src="/vendor/twitter/js/bootstrap.min.js"></script>
+ <!--custom script for all page-->
+ <script type="text/javascript" src="/vendor/highlightjs/js/highlight.pack.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
+ <script src="/js/scripts.js"></script>
+ <!-- Algolia search -->
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
+ <script type="text/javascript">
+ docsearch({
+ apiKey: '167e7998590aebda7f9fedcf86bc4a55',
+ indexName: 'hugodocs',
+ inputSelector: '#search-input',
+ algoliaOptions: {
+ hitsPerPage: 5
+ }
+ });
+ </script>
+ <!-- Google Analytics -->
+ {{ template "partials/analytics.html" . }}
+ </body>
+</html>
diff --git a/docs/layouts/partials/header.html b/docs/layouts/partials/header.html
new file mode 100644
index 000000000..8149a7bb6
--- /dev/null
+++ b/docs/layouts/partials/header.html
@@ -0,0 +1,93 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}">
+ {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
+ {{ .Hugo.Generator }}
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+{{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
+ <title>Hugo - {{ .Scratch.Get "title" }}</title>
+
+ <link rel="stylesheet" type="text/css" href="/css/bootstrap-stripped-gohugo.css">
+ <link rel="stylesheet" type="text/css" href="/css/bootstrap-changes-gohugo.css">
+ <link rel="stylesheet" type="text/css" href="/css/bootstrap-additions-gohugo.css">
+
+ <link rel="stylesheet" type="text/css" href="/vendor/font-awesome/css/font-awesome.min.css">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css" />
+ <link href="/css/style.css" rel="stylesheet">
+ <link rel="stylesheet" type="text/css" href="/css/content-style.css" />
+ <link href="/css/style-responsive.css" rel="stylesheet" />
+ <link rel="stylesheet" type="text/css" href="/vendor/highlightjs/css/monokai-sublime.css">
+
+ </head>
+
+ <body>
+ <!-- container section start -->
+ <section id="container" class="">
+
+ <!--header start-->
+ <header class="header black-bg">
+ <div class="toggle-nav">
+ <i class="fa fa-bars"></i>
+ <div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"></div>
+ </div>
+
+ <!--logo start-->
+ <a href="/" class="logo"><img src="/img/hugo-logo.png" style="height: 40px; vertical-align: bottom;"> <span style="font-size: small; text-transform: none;">v{{ .Site.Params.release }}</span></a>
+ <!--logo end-->
+ <div class="top-nav notification-row">
+ <!-- notification dropdown end-->
+ <div class="hidden-xs nav-github pull-right">
+ <span rel="show-github" data-user="bep" data-type="follow"></span>
+ <span rel="show-github" data-user="spf13" data-type="follow"></span>
+ <span rel="show-github" data-user="spf13" data-repo="hugo"></span>
+ </div>
+ </div>
+
+ <div class="nav title-row" id="top_menu">
+ <h1 class="nav top-menu">{{ .Scratch.Get "title" }}</h1>
+ </div>
+ </header>
+ <!--header end-->
+
+{{ partial "menu.html" . }}
+
+ <!--main content start-->
+ <section id="main-content">
+ <section class="wrapper">
+
+ <!--<div class="row">-->
+ <!--<div class="col-lg-12">-->
+ <!--breadcrumbs start -->
+ <!--<ul class="breadcrumb">-->
+ <!--<li><a href="#"><i class="icon_house_alt"></i> Home</a></li>-->
+ <!--<li><a href="#"> UI Kit</a></li>-->
+ <!--<li class="active"> General</li>-->
+ <!--</ul>-->
+ <!--breadcrumbs end -->
+ <!--</div>-->
+ <!--</div>-->
+
+ <div class="row">
+ <div class="col-md-1">
+ {{ if .IsPage }}
+ {{ with .GetParam "prev" }}
+ <a class="navigation prev" href="{{.}}">
+ <i class="fa fa-angle-left"></i>
+ </a>
+ {{ end }}
+ {{ end }}
+ </div>
+ <div class="col-md-10">
+ <section class="panel">
+ <!--<header class="panel-heading">-->
+ <!--<h3>{{ .Scratch.Get "title" }}</h3>-->
+ <!--</header>-->
+ <div class="panel-body">
+ <div class="row">
+ <div class="col-lg-8 col-lg-offset-2 cse">
+ {{ partial "search.html" . }}
+ </div>
+ </div>
diff --git a/docs/layouts/partials/menu.html b/docs/layouts/partials/menu.html
new file mode 100644
index 000000000..d9667291d
--- /dev/null
+++ b/docs/layouts/partials/menu.html
@@ -0,0 +1,40 @@
+<!--sidebar start-->
+<aside>
+ <div id="sidebar" class="nav-collapse">
+ <!-- sidebar menu start-->
+ <ul class="sidebar-menu">
+ {{ $currentNode := . }}
+ {{ range .Site.Menus.main }}
+ {{ if .HasChildren }}
+
+ <li class="sub-menu{{if $currentNode.HasMenuCurrent "main" . }} active{{end}}">
+ <a href="javascript:;" class="">
+ {{ .Pre }}
+