mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
docs: Remove
Docs site is moved to https://github.com/gohugoio/hugoDocs Will be re-added here as a Git submodule.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{{ partial "header.html" . }}
|
||||
<div class="col-lg-8 col-md-12">
|
||||
Page Not Found.
|
||||
</div>
|
||||
{{ partial "footer.html" . }}
|
@@ -1,12 +0,0 @@
|
||||
{{ 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" . }}
|
@@ -1,12 +0,0 @@
|
||||
{{ 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 }}
|
@@ -1 +0,0 @@
|
||||
{{ define "main" }}{{ .Content }}{{ end }}
|
@@ -1,319 +0,0 @@
|
||||
<!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="http://discuss.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—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 & 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—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> </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 © Steve Francia 2013–{{ 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>
|
@@ -1,10 +0,0 @@
|
||||
<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>
|
@@ -1,59 +0,0 @@
|
||||
<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>
|
@@ -1,93 +0,0 @@
|
||||
<!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>
|
@@ -1,40 +0,0 @@
|
||||
<!--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/gohugoio/hugo/issues" target="blank"><i class='fa fa-life-ring'></i> <span>Issues & Help</span></a> </li>
|
||||
{{ if .IsPage }}
|
||||
{{ $File := .File }} {{with $File.Path }}<li><a href="https://github.com/gohugoio/hugo/edit/master/docs/content/{{ $File.Dir }}{{ $File.LogicalName }}" target="blank"><i class='fa fa-edit'></i> Refine this Page</a> </li>{{end}}
|
||||
{{ end }}
|
||||
</ul>
|
||||
<!-- sidebar menu end-->
|
||||
</div>
|
||||
</aside>
|
||||
<!--sidebar end-->
|
@@ -1,12 +0,0 @@
|
||||
{{ range . }}
|
||||
<div class="item">
|
||||
<blockquote>
|
||||
<p>
|
||||
{{ .quote | safeHTML }}
|
||||
</p>
|
||||
— {{ .name }} ({{ .twitter_handle }}) <a href="{{ .link }}">
|
||||
{{ dateFormat "January 2, 2006" .date }}
|
||||
</a>
|
||||
</blockquote>
|
||||
</div>
|
||||
{{ end }}
|
@@ -1 +0,0 @@
|
||||
<input type="search" id="search-input" placeholder="Search...">
|
@@ -1,12 +0,0 @@
|
||||
{{ partial "header.html" . }}
|
||||
<h1>Hugo Commands</h1>
|
||||
<p>Hugo’s CLI (command line interface) commands are listed here.
|
||||
This autogenerated list is always up to date (thanks to
|
||||
<a href="https://github.com/spf13/cobra">Cobra</a>).
|
||||
</p>
|
||||
<ul>
|
||||
{{- range .Data.Pages }}
|
||||
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{ partial "footer.html" . }}
|
@@ -1,6 +0,0 @@
|
||||
{{ define "main" }}
|
||||
{{ range .Pages }}
|
||||
<h1>{{ .Title }} {{ .Date.Format "Jan 2, 2006" }}</h1>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ end }}
|
@@ -1,17 +0,0 @@
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<h1 id="title">Hugo-built Sites (with source)</h1>
|
||||
|
||||
<div class="row">
|
||||
{{ range .Data.Pages.ByDate }}
|
||||
{{ .Render "thumbnail"}}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<blockquote>
|
||||
If you want to be added to this page, please send a <a href="https://github.com/gohugoio/hugo/pulls">pull request</a>. Check out the <a href="{{ relref . "community/contributing.md#showcase-additions" }}">how-to guide</a>.
|
||||
</blockquote>
|
||||
|
||||
{{ partial "footer.html" . }}
|
@@ -1,26 +0,0 @@
|
||||
{{ $package := (index .Params 0) }}
|
||||
{{ $listname := (index .Params 1) }}
|
||||
{{ $list := (index (index .Site.Data.docs $package) $listname) }}
|
||||
{{ $fields := after 2 .Params }}
|
||||
<table class="table table-bordered">
|
||||
{{ range $list }}
|
||||
{{ range $k, $v := . }}
|
||||
{{ $.Scratch.Set $k $v }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ range $i, $_ := $fields }}
|
||||
<tr>
|
||||
{{ $.Scratch.Set "i" $i }}
|
||||
|
||||
{{ $field := (index $fields ($.Scratch.Get "i") ) }}
|
||||
<th>{{ $field }}</th>
|
||||
{{ range $list }}
|
||||
<td>
|
||||
{{ index . $field }}
|
||||
</td>
|
||||
{{ end }}
|
||||
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
@@ -1,23 +0,0 @@
|
||||
{{ $package := (index .Params 0) }}
|
||||
{{ $listname := (index .Params 1) }}
|
||||
{{ $list := (index (index .Site.Data.docs $package) $listname) }}
|
||||
{{ $fields := after 2 .Params }}
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
{{ range $fields }}
|
||||
<th>{{ . }}</th>
|
||||
{{ end }}
|
||||
</tr>
|
||||
{{ range $list }}
|
||||
<tr>
|
||||
{{ range $k, $v := . }}
|
||||
{{ $.Scratch.Set $k $v }}
|
||||
{{ end }}
|
||||
{{ range $fields }}
|
||||
<td>{{ $.Scratch.Get . }}</td>
|
||||
{{ end }}
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
||||
|
@@ -1,13 +0,0 @@
|
||||
{{- $pathURL := .Get "pathURL" -}}
|
||||
{{- $path := .Get "path" -}}
|
||||
{{- $files := readDir $path -}}
|
||||
<table>
|
||||
<th>Size in bytes</th>
|
||||
<th>Name</th>
|
||||
{{- range $files }}
|
||||
<tr>
|
||||
<td>{{ .Size }}</td>
|
||||
<td><a href="{{ $pathURL }}{{ .Name | relURL }}"> {{ .Name }}</a></td>
|
||||
</tr>
|
||||
{{- end }}
|
||||
</table>
|
@@ -1,9 +0,0 @@
|
||||
{{ range .Params }}
|
||||
{{ if eq (substr . 0 1) "@" }}
|
||||
<a href="//github.com/{{ substr . 1 }}">{{ . }}</a>
|
||||
{{ else if eq (substr . 0 2) "0x" }}
|
||||
<a href="//github.com/gohugoio/hugo/commit/{{ substr . 2 }}">{{ substr . 2 6 }}</a>
|
||||
{{ else }}
|
||||
<a href="//github.com/gohugoio/hugo/issues/{{ . }}">#{{ . }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
@@ -1 +0,0 @@
|
||||
<pre><code class="hljs nohighlight">{{ .Inner }}</code></pre>
|
@@ -1 +0,0 @@
|
||||
{{- .Get 0 | readFile -}}
|
@@ -1,4 +0,0 @@
|
||||
<div class="video-container">
|
||||
<iframe class="youtube-player" type="text/html" width="100%" height="auto" src="https://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
|
||||
</iframe>
|
||||
</div>
|
@@ -1,17 +0,0 @@
|
||||
<div class="col-sm-6 col-md-4" style="padding-bottom:1em;">
|
||||
<div class="showcase-container">
|
||||
<div class="dummy"></div>
|
||||
<div class="thumbnail">
|
||||
<a href="{{ .Params.sitelink }}"><img class="img-responsive img-rounded" style="width:100%;" src="{{ .Params.thumbnail }}" alt="{{ .Description }}"></a>
|
||||
<h4>
|
||||
<a href="{{ .Params.sitelink }}">{{ .Title | safeHTML }}</a>
|
||||
{{ if (isset .Params "sourcelink") }}
|
||||
<a href="{{ .Params.sourcelink }}" class="small pull-right">source</a>
|
||||
{{ end }}
|
||||
</h4>
|
||||
{{ range .Params.tags }}
|
||||
<span class="label label-default" style="font-size:60%;">{{ . }}</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user