aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/analytics.html0
-rw-r--r--layouts/partials/footer.html61
-rw-r--r--layouts/partials/header.html24
-rw-r--r--layouts/partials/menu.html40
-rw-r--r--layouts/partials/top-block.html19
5 files changed, 144 insertions, 0 deletions
diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/partials/analytics.html
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..1eb3f85
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,61 @@
+<!-- Footer -->
+<footer id="footer">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-6 col-md-offset-3 text-center">
+ <ul class="list-inline">
+ <li><a href="http://twitter.com/spf13" class="icon-twitter icon-2x"></a></li>
+ <li><a href="http://github.com/spf13/hugo" class="icon-octocat icon-2x"></a></li>
+ </ul>
+ <hr>
+ <p>Copyright &copy; Steve Francia 2013&ndash;2014</p>
+ </div>
+ </div>
+ </div>
+</footer>
+<!-- /Footer -->
+
+<!-- Bootstrap core JavaScript -->
+<!-- Placed at the end of the document so the pages load faster -->
+<script src="/js/jquery-2.1.1.min.js"></script>
+<script src="/js/owl.carousel.min.js"></script>
+<!--<script src="/js/bootstrap.min.js"></script>-->
+<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;
+ }
+ }
+});
+});
+$('.owl-carousel').owlCarousel({
+loop:true,
+margin:10,
+nav:true,
+autoplay:true,
+autoplayHoverPause:true,
+autoplayTimeout:3000,
+responsive:{
+ 0:{
+ items:1
+ },
+ 1000:{
+ items:3
+ },
+}
+})
+</script>
+
+{{ partial "analytics.html" . }}
+</body>
+
+</html>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..5fdac85
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,24 @@
+<!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="">
+ <meta name="author" content="">
+
+ <title>{{ .Title }}</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="/css/bootstrap-theme.css" rel="stylesheet">
+
+ <link href='http://fonts.googleapis.com/css?family=Arbutus+Slab&family=Cabin:600&family=Source+Code+Pro' rel='stylesheet' type='text/css'>
+ <!-- Add custom CSS here -->
+ <link href="/css/HPstyles.css" rel="stylesheet">
+ <link href="/css/hugofont.css" rel="stylesheet">
+ <link href="/css/owl.carousel.css" rel="stylesheet">
+ <link href="/css/owl.theme.default.css" rel="stylesheet">
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
+ </head>
+
+ <body>
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
new file mode 100644
index 0000000..5a9e1dd
--- /dev/null
+++ b/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 }}
+ <!--<i class="icon_desktop"></i>-->
+ <span>{{ .Name }}</span>
+ <span class="menu-arrow fa {{if $currentNode.HasMenuCurrent "main" . }}fa-angle-down{{else}}fa-angle-right{{end}}"></span>
+ </a>
+ <ul class="sub{{if $currentNode.HasMenuCurrent "main" . }} open{{end}}">
+ {{ range .Children }}
+ <li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.Url}}"> {{ .Name }} </a> </li>
+ {{ end }}
+ </ul>
+ {{else}}
+ <li>
+ <a class="" href="{{.Url}}">
+ {{ .Pre }}
+ <!--<i class="icon_house_alt"></i>-->
+ <span>{{ .Name }}</span>
+ </a>
+ {{end}}
+ </li>
+ {{end}}
+ <li> <a href="https://github.com/spf13/hugo/issues" target="blank"><i class='fa fa-life-ring'></i>Issues & Help</a> </li>
+ {{ if .IsPage }}
+ {{ $File := .File }} {{with $File.FileName }}<li><a href="https://github.com/spf13/hugo/edit/master/docs/content/{{ $File.Dir }}{{ $File.FileName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
+ {{ end }}
+ </ul>
+ <!-- sidebar menu end-->
+ </div>
+</aside>
+<!--sidebar end-->
diff --git a/layouts/partials/top-block.html b/layouts/partials/top-block.html
new file mode 100644
index 0000000..1427150
--- /dev/null
+++ b/layouts/partials/top-block.html
@@ -0,0 +1,19 @@
+
+ <!-- Full Page Image Header Area -->
+ <div id="top" class="header">
+ <div class="vert-text">
+ <a href="#intro"><img src="{{ .Site.Params.mainIcon }}" class="logo"></a>
+ <div class="siteTitle">{{ .Site.Title }}</div>
+ <div class="description">{{ .Site.Params.description }}</div>
+ <div class="buttonbox">
+ <a href="/overview/introduction" class="btn btn-primary btn-lg">Docs <i class="icon-idea"></i></a>
+ <a href="#action" class="btn btn-success btn-lg">Install <i class="icon-arrow-down"></i></a>
+ <a href="http://discuss.gohugo.io" class="btn btn-info btn-lg">Community <i class="icon-talking"></i></a>
+ <a href="https://github.com/spf13/hugo" class="btn btn-dark btn-lg">GitHub <i class="icon-circlestar"></i></a>
+ {{ range .Site.Params.social }}
+ <a href="{{ .url }}" class="btn btn-default btn-lg"><i class="icon-{{ lower .title }}"></i> <span class="network-name">{{ .title }}</span></a>
+ {{ end }}
+ </div>
+ </div>
+ </div>
+ <!-- /Full Page Image Header Area -->