Skip to content

Commit 876d8bb

Browse files
committed
Start converting this to a Hugo site
The default layout is a slightly edited resurrection of the just-deleted `markdown-template.html`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 3e9a18e commit 876d8bb

File tree

5 files changed

+99
-0
lines changed

5 files changed

+99
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.hugo_build.lock
2+
/public/
3+
/resources/_gen/

hugo.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
languageCode: en
3+
title: GitGitGadget
4+
relativeURLs: true
5+
uglyURLs: true
6+
disableKinds:
7+
- taxonomy
8+
markup:
9+
goldmark:
10+
renderer:
11+
unsafe: true
12+
module:
13+
mounts:
14+
- source: content
15+
target: content
16+
params:
17+
hugo_version: 0.145.0

layouts/_default/baseof.html

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<title>Git for Windows</title>
7+
<meta name="description" content="We bring the awesome Git VCS to Windows">
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700">
10+
<link rel="stylesheet" href="css/pack.css">
11+
<style type="text/css">
12+
body {
13+
color: #FFF;
14+
}
15+
16+
h1 {
17+
text-align: center;
18+
}
19+
20+
article p,h3,ul {
21+
margin-left: auto;
22+
margin-right: auto;
23+
width: 65%;
24+
}
25+
</style>
26+
<link rel="shortcut icon" href="favicon.ico">
27+
<!--[if lt IE 9]>
28+
<script src="js/html5shiv.js"></script>
29+
<script src="js/respond.js"></script>
30+
<![endif]-->
31+
</head>
32+
<body>
33+
<footer>
34+
<div class="content">
35+
<ul class="list-unstyled">
36+
<li><a href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li>
37+
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li>
38+
<li><a href="http://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li>
39+
</ul>
40+
<a href="index.html"><h1 class="gittext lowercase">Git for Windows</h1></a>
41+
<div class="stud"></div>
42+
</div>
43+
</footer>
44+
<section class="details">
45+
<article>
46+
{{ block "main" . }}
47+
{{ .Content }}
48+
{{ end }}
49+
</article>
50+
</section>
51+
<footer>
52+
<div class="content">
53+
<ul class="list-unstyled">
54+
<li><a href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li>
55+
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li>
56+
<li><a href="http://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li>
57+
</ul>
58+
<a href="index.html"><h1 class="gittext lowercase">Git for Windows</h1></a>
59+
<div class="stud"></div>
60+
</div>
61+
</footer>
62+
<script src="js/pack.js"></script>
63+
<script>
64+
$(document).ready(function() {
65+
$(".fancybox-thumb").fancybox({
66+
padding: 0
67+
});
68+
});
69+
</script>
70+
</body>
71+
</html>

layouts/_default/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{ define "main" }}
2+
{{ .Content }}
3+
{{ end }}
4+

layouts/_default/single.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{ define "main" }}
2+
{{ .Content }}
3+
{{ end }}
4+

0 commit comments

Comments
 (0)