Skip to content

Commit eb8fe66

Browse files
committed
Start converting this to a Hugo site
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 18d1a79 commit eb8fe66

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-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/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<html>
2+
<head>
3+
<title>{{ .Title }}</title>
4+
{{- $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass }}
5+
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
6+
</head>
7+
<body>
8+
{{ partial "banner.html" . -}}
9+
10+
{{ .Content }}
11+
</body>
12+
</html>

layouts/partials/banner.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<div class="banner">
2+
<img src="images/gitgitgadget-explanation.png" alt="An arrow from git logo to an envelop with git logo. The arrow is labelled by famous Inspector Gadget hat."/>
3+
<big>GitGitGadget</big><br />
4+
Contributing git.git patches via GitHub PRs<br />
5+
<small>... one iteration at a time... </small>
6+
</div><hr />

0 commit comments

Comments
 (0)