diff options
-rw-r--r-- | docs/layouts/index.html | 267 | ||||
-rw-r--r-- | docs/layouts/partials/footer.html | 9 | ||||
-rw-r--r-- | docs/layouts/partials/header.html | 9 | ||||
-rw-r--r-- | docs/static/css/bootstrap-additions-gohugo.css | 65 | ||||
-rw-r--r-- | docs/static/css/bootstrap-changes-gohugo.css | 136 | ||||
-rw-r--r-- | docs/static/css/bootstrap-stripped-gohugo.css (renamed from docs/static/css/bootstrap-gohugo.css) | 126 | ||||
-rw-r--r-- | docs/static/css/home-page-style-responsive.css | 44 | ||||
-rw-r--r-- | docs/static/css/home-page-style.css (renamed from docs/static/css/HPstyles.css) | 292 | ||||
-rw-r--r-- | docs/static/css/owl.carousel.min.css | 1 | ||||
-rw-r--r-- | docs/static/css/owl.theme.default.min.css | 1 | ||||
-rw-r--r-- | docs/static/img/desk-wide.jpg (renamed from docs/static/img/desk-long.jpg) | bin | 198917 -> 198917 bytes | |||
-rw-r--r-- | docs/static/js/owl.carousel-custom.js | 16 | ||||
-rw-r--r-- | docs/static/vendor/OwlCarousel2/LICENSE | 22 | ||||
-rw-r--r-- | docs/static/vendor/OwlCarousel2/css/owl.carousel.css (renamed from docs/static/css/owl.carousel.css) | 0 | ||||
-rw-r--r-- | docs/static/vendor/OwlCarousel2/css/owl.theme.default.css (renamed from docs/static/css/owl.theme.default.css) | 0 | ||||
-rw-r--r-- | docs/static/vendor/OwlCarousel2/js/owl.carousel.min.js (renamed from docs/static/js/owl.carousel.min.js) | 0 | ||||
-rw-r--r-- | docs/static/vendor/OwlCarousel2/notes.txt | 12 | ||||
-rw-r--r-- | docs/static/vendor/dieulot/js/instantclick.min.js (renamed from docs/static/js/instantclick.min.js) | 0 | ||||
-rw-r--r-- | docs/static/vendor/flesler/js/jquery.scrollTo.min.js (renamed from docs/static/js/jquery.scrollTo.min.js) | 0 | ||||
-rw-r--r-- | docs/static/vendor/font-awesome/css/font-awesome.min.css (renamed from docs/static/assets/font-awesome/css/font-awesome.min.css) | 0 | ||||
-rw-r--r-- | docs/static/vendor/font-awesome/fonts/FontAwesome.otf (renamed from docs/static/assets/font-awesome/fonts/FontAwesome.otf) | bin | 109688 -> 109688 bytes | |||
-rw-r--r-- | docs/static/vendor/font-awesome/fonts/fontawesome-webfont.eot (renamed from docs/static/assets/font-awesome/fonts/fontawesome-webfont.eot) | bin | 70807 -> 70807 bytes | |||
-rw-r--r-- | docs/static/vendor/font-awesome/fonts/fontawesome-webfont.svg (renamed from docs/static/assets/font-awesome/fonts/fontawesome-webfont.svg) | 0 | ||||
-rw-r--r-- | docs/static/vendor/font-awesome/fonts/fontawesome-webfont.ttf (renamed from docs/static/assets/font-awesome/fonts/fontawesome-webfont.ttf) | bin | 142072 -> 142072 bytes | |||
-rw-r--r-- | docs/static/vendor/font-awesome/fonts/fontawesome-webfont.woff (renamed from docs/static/assets/font-awesome/fonts/fontawesome-webfont.woff) | bin | 83588 -> 83588 bytes | |||
-rw-r--r-- | docs/static/vendor/font-awesome/fonts/fontawesome-webfont.woff2 (renamed from docs/static/assets/font-awesome/fonts/fontawesome-webfont.woff2) | bin | 66624 -> 66624 bytes | |||
-rw-r--r-- | docs/static/vendor/highlightjs/css/monokai-sublime.css (renamed from docs/static/css/monokai-sublime.css) | 0 | ||||
-rw-r--r-- | docs/static/vendor/highlightjs/js/highlight.pack.js (renamed from docs/static/js/highlight.pack.js) | 0 | ||||
-rw-r--r-- | docs/static/vendor/highlightjs/notes.txt | 13 | ||||
-rw-r--r-- | docs/static/vendor/jquery/js/jquery-2.1.4.min.js (renamed from docs/static/js/jquery-2.1.4.min.js) | 0 | ||||
-rw-r--r-- | docs/static/vendor/twitter/js/bootstrap.min.js (renamed from docs/static/js/bootstrap.min.js) | 0 |
31 files changed, 661 insertions, 352 deletions
diff --git a/docs/layouts/index.html b/docs/layouts/index.html index 54739159a..293dd71e2 100644 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -5,155 +5,198 @@ <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 and friends in Go"> <meta name="author" content="Steve Francia (spf13) and friends"> - <title>Hugo :: A fast and modern static website engine</title> - <!-- Bootstrap core CSS --> - <link href="/css/bootstrap-gohugo.css" rel="stylesheet"> - - <link href='//fonts.googleapis.com/css?family=Arbutus+Slab%7CCabin:600%7CSource+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.min.css" rel="stylesheet"> - <link href="/css/owl.theme.default.min.css" rel="stylesheet"> - <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> - <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> - <style type="text/css"> - .callout { - table-layout: fixed; - } - </style> - </head> + {{ "<!--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 --> + {{ "<!--full page image header area start-->" | safeHTML }} <div id="top" class="header"> <div class="vert-text"> - <a href="#intro"><img src="/img/hugo.png" class="logo" alt="Hugo logo"> </a> + <a href="#intro"> + <img class="logo" src="/img/hugo.png" alt="Hugo logo"> + </a> <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> + <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="http://discuss.gohugo.io/"> + Community <i class="icon-talking"></i> + </a> + <a class="btn-repo btn btn-lg" href="https://github.com/spf13/hugo"> + GitHub <i class="icon-circlestar"></i> + </a> </div> </div> </div> - <!-- /Full Page Image Header Area --> + {{ "<!--full page image header area end-->" | safeHTML }} + {{ "<!--main start-->" | safeHTML }} <div id="main"> - <!-- Intro --> + + {{ "<!--intro start-->" | safeHTML }} <div id="intro" class="counterpoint"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <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 around making website creation simple again. - Hugo flexibly works with many formats and is ideal for + 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 and makes building a website fun again. + creativity—it makes building a website fun again. </p> </div> </div> + {{ "<!--row end-->" | safeHTML }} + </div> </div> - <!-- /Intro --> + {{ "<!--intro end-->" | safeHTML }} - <!-- Point --> + {{ "<!--point start-->" | safeHTML }} <div class="point"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <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 to install software 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. + 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 --> + {{ "<!--point end-->" | safeHTML }} - <!-- Point --> + {{ "<!--counterpoint start-->" | safeHTML }} <div class="counterpoint"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <div class="text-center col-md-6 col-md-offset-3"> <i class="lead-icon icon-rocket"></i> <h2>Fast & Powerful</h2> <p class="lead"> - - Hugo is written for speed and performance. Great care has been - taken to ensure that Hugo build time is as short as possible. - We’re talking milliseconds to build your entire site for most setups. - + 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—for most setups! </p> </div> </div> + {{ "<!--row end-->" | safeHTML }} + </div> </div> - <!-- /Point --> + {{ "<!--counterpoint end-->" | safeHTML }} - <!-- Point --> + {{ "<!--point start-->" | safeHTML }} <div class="point"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <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 how you do. + Hugo is designed to work the way you do. Organize your content however you want with any URL structure. - Declare your own content types. - Define your own meta data in YAML, TOML or JSON. - Use indexes to group your content however you want. - Best of all this is all done with virtually no configuration, Hugo + 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 --> + {{ "<!--point end-->" | safeHTML }} + {{ "<!--quote carousel start-->" | safeHTML }} <div class="callout"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-12 text-center"> + <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="col-md-12 text-center"> - <!-- Wrapper for slides --> + <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 )) }} +{{ partial "quotes.html" ((where $.Site.Data.references.quotes "date" "ge" ($.Now.AddDate -2 0 0) | shuffle )) }} </div> + {{ "<!--wrapper for slides end-->" | safeHTML }} + </div> </div> - </div> + {{ "<!--row end-->" | safeHTML }} + </div> </div> - <!-- /Point --> + {{ "<!--quote carousel end-->" | safeHTML }} + + </div> + {{ "<!--main end-->" | safeHTML }} - <!-- Point --> + {{ "<!--counterpoint start-->" | safeHTML }} <div class="counterpoint"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <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"> @@ -161,70 +204,96 @@ </p> </div> </div> + {{ "<!--row end-->" | safeHTML }} + </div> </div> - <!-- /Point --> + {{ "<!--counterpoint end-->" | safeHTML }} - <!-- Point --> + {{ "<!--point start-->" | safeHTML }} <div class="point"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <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" style="color:#FF4088;"></i></h2> + <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? Not a problem, we will help you. - Not a developer? Help with <a href="/overview/introduction/">docs</a>, testing and <a href="https://github.com/spf13/hugoThemes/">themes</a>. + 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/spf13/hugoThemes/">themes.</a> </p> </div> </div> + {{ "<!--row end-->" | safeHTML }} + </div> </div> - <!-- /Point --> + {{ "<!--counterpoint end-->" | safeHTML }} - <!-- Call to Action --> + {{ "<!--call to action start-->" | safeHTML }} <div id="action" class="call-to-action"> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-10 col-md-offset-1 text-center"> - <h1 style="padding-bottom:.5em;">Getting Started</h1> - <a href="https://github.com/spf13/hugo/releases" class="btn btn-lg btn-primary">Download <i class="icon-arrow-down"></i></a> - <a href="/overview/quickstart/" style="color:white;font-weight:300;">Quickstart Guide</a> + <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/spf13/hugo/releases"> + Download + <i class="icon-arrow-down"></i> + </a> + <a class="quickstart" href="/overview/quickstart/"> + Quickstart Guide + </a> <p> </p> <h4>Using Homebrew?</h4> <pre><code>brew update && brew install hugo</code></pre> </div> </div> + {{ "<!--row end-->" | safeHTML }} + </div> </div> - <!-- /Call to Action --> + {{ "<!--call to action end-->" | safeHTML }} - <!-- Footer --> - <footer id="footer"> + {{ "<!--footer start-->" | safeHTML }} + <footer> <div class="container"> + + {{ "<!--row start-->" | safeHTML }} <div class="row"> - <div class="col-md-6 col-md-offset-3 text-center"> + <div class="text-center col-md-6 col-md-offset-3"> <ul class="list-inline"> - <li><a href="https://twitter.com/spf13" class="icon-twitter icon-2x"></a></li> - <li><a href="https://github.com/spf13/hugo" class="icon-octocat icon-2x"></a></li> + <li><a class="icon-twitter icon-2x" href="https://twitter.com/spf13"></a></li> + <li><a class="icon-octocat icon-2x" href="https://github.com/spf13/hugo"></a></li> </ul> <hr> <p>Copyright © Steve Francia 2013–{{ .Now.Format "2006" }}</p> </div> </div> + {{ "<!--row end-->" | safeHTML }} + </div> </footer> - <!-- /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 --> - <!-- Placed at the end of the document so the pages load faster --> - <script src="/js/jquery-2.1.4.min.js"></script> - <script src="/js/owl.carousel.min.js"></script> - <!--<script src="/js/bootstrap.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() { @@ -242,25 +311,9 @@ } }); }); - $('.owl-carousel').owlCarousel({ - loop:true, - margin:10, - nav:true, - autoplay:true, - autoplayHoverPause:true, - autoplayTimeout:3000, - responsive:{ - 0:{ - items:1 - }, - 1000:{ - items:3 - }, - } - }) - </script> - - {{ template "partials/analytics.html" . }} - </body> + </script> +{{ "<!--Google analytics-->" | safeHTML }} +{{ template "partials/analytics.html" . }} + </body> </html> diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index d13c101ff..6756e57cf 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -27,12 +27,13 @@ <!--main content end--> </section> <!-- container section end --> + <!-- javascripts --> - <script src="/js/jquery-2.1.4.min.js"></script> - <script src="/js/jquery.scrollTo.min.js"></script> - <script src="/js/bootstrap.min.js"& |