Skip to content

Commit 28ed591

Browse files
authored
Merge pull request #42 from stuartleeks/sl/docs-update
Overwrite layout
2 parents ac906b1 + 5398217 commit 28ed591

File tree

2 files changed

+67
-1
lines changed

2 files changed

+67
-1
lines changed

docs/_config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
theme: jekyll-theme-slate
1+
theme: jekyll-theme-slate
2+
3+
title: devcontainer-cli
4+
description: Making the most of VS Code dev containers at the terminal
5+
rootLink: https://stuartleeks.github.io/devcontainer-cli

docs/_layout/default.html

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<!-- based on: https://github.com/pages-themes/slate/tree/master/_layouts -->
4+
<head>
5+
<meta charset='utf-8'>
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,maximum-scale=2">
8+
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
9+
10+
{% seo %}
11+
</head>
12+
13+
<body>
14+
15+
<!-- HEADER -->
16+
<div id="header_wrap" class="outer">
17+
<header class="inner">
18+
{% if site.github.is_project_page %}
19+
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
20+
{% endif %}
21+
22+
<h1 id="project_title"><a href="{{ site.rootLink }}">{{ site.title | default: site.github.repository_name }}</a></h1>
23+
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
24+
25+
{% if site.show_downloads %}
26+
<section id="downloads">
27+
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
28+
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
29+
</section>
30+
{% endif %}
31+
</header>
32+
</div>
33+
34+
<!-- MAIN CONTENT -->
35+
<div id="main_content_wrap" class="outer">
36+
<section id="main_content" class="inner">
37+
{{ content }}
38+
</section>
39+
</div>
40+
41+
<!-- FOOTER -->
42+
<div id="footer_wrap" class="outer">
43+
<footer class="inner">
44+
{% if site.github.is_project_page %}
45+
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
46+
{% endif %}
47+
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
48+
</footer>
49+
</div>
50+
51+
{% if site.google_analytics %}
52+
<script>
53+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
54+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
55+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
56+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
57+
ga('create', '{{ site.google_analytics }}', 'auto');
58+
ga('send', 'pageview');
59+
</script>
60+
{% endif %}
61+
</body>
62+
</html>

0 commit comments

Comments
 (0)