hugo/docs/layouts/partials/footer.html

59 lines
2.4 KiB
HTML

<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>