Migrate website to Hugo
Signed-off-by: Luc Perkins <lucperkins@gmail.com>
This commit is contained in:
4
docs/layouts/partials/css.html
Normal file
4
docs/layouts/partials/css.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{- $cssFiles := .Site.Params.css -}}
|
||||
{{- range $cssFiles }}
|
||||
<link rel="stylesheet" href="{{ printf "/css/%s.css" . | absURL}}">
|
||||
{{- end }}
|
||||
3
docs/layouts/partials/definition.html
Normal file
3
docs/layouts/partials/definition.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<p class="definition">
|
||||
<strong>containerd</strong> <span>| kənˈtānər D |</span><br> – an industry-standard container runtime<br>with an emphasis on <i>simplicity</i>,<br><i>robustness</i> and <i>portability</i>.
|
||||
</p>
|
||||
10
docs/layouts/partials/footer.html
Normal file
10
docs/layouts/partials/footer.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="footer">
|
||||
<div class="footer-links">
|
||||
<div class="link">
|
||||
<a href="https://github.com/containerd/containerd"><img src="/img/containerd-light-d.png"/></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="copyright">
|
||||
Copyright (c) 2016-2018 the containerd authors
|
||||
</div>
|
||||
</div>
|
||||
9
docs/layouts/partials/google-analytics.html
Normal file
9
docs/layouts/partials/google-analytics.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- $gaId := .Site.Params.googleAnalyticsId }}
|
||||
<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','https://www.google-analytics.com/analytics.js','ga');
|
||||
ga('create', {{ $gaId }}, 'auto');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
4
docs/layouts/partials/javascript.html
Normal file
4
docs/layouts/partials/javascript.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{- $jsFiles := .Site.Params.js -}}
|
||||
{{- range $jsFiles }}
|
||||
<script src="{{ printf "/js/%s.js" . | absURL }}"></script>
|
||||
{{- end }}
|
||||
2
docs/layouts/partials/meta.html
Normal file
2
docs/layouts/partials/meta.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
8
docs/layouts/partials/navbar.html
Normal file
8
docs/layouts/partials/navbar.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="navbar">
|
||||
<div class="name"><a href="/">containerd</a></div>
|
||||
<div class="actions">
|
||||
<div class="link">
|
||||
<a href="https://github.com/containerd/containerd"><img src="/img/containerd-light-d.png"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user