-
Notifications
You must be signed in to change notification settings - Fork 194
Migrate to Hugo #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Migrate to Hugo #56
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
3e9a18e
Retire the `grunt`-based build
dscho 876d8bb
Start converting this to a Hugo site
dscho 2220483
Start moving files around for Hugo
dscho e5458d7
Migrate the Markdown-based pages to Hugo
dscho 811b544
Allow Open Sans to be used when testing locally
dscho 61dc26a
Generate `pack.css` on the fly
dscho 45a0cf5
Generate `pack.js` on the fly
dscho 17f6488
Migrate the `.url` files to Hugo
dscho 5d3cbce
bump-version.js: adjust for Hugo
dscho 4941a75
Migrate the `latest-*.txt` files to Hugo
dscho 99c2ced
Extract the footer to a "partial template"
dscho e19d50b
Move inline CSS to `pack.css`
dscho 4b51fcc
Migrate the home page to Hugo (and to Markdown)
dscho bf47f34
Run Hugo in Pull Requests
dscho 81b1cce
ci: add a GitHub workflow to deploy the site
dscho c7866b6
Drop Internet Explorer-specific stuff
dscho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/.hugo_build.lock | ||
/public/ | ||
/resources/_gen/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
languageCode: en | ||
title: GitGitGadget | ||
relativeURLs: true | ||
uglyURLs: true | ||
disableKinds: | ||
- taxonomy | ||
markup: | ||
goldmark: | ||
renderer: | ||
unsafe: true | ||
module: | ||
mounts: | ||
- source: content | ||
target: content | ||
params: | ||
hugo_version: 0.145.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>Git for Windows</title> | ||
<meta name="description" content="We bring the awesome Git VCS to Windows"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700"> | ||
<link rel="stylesheet" href="css/pack.css"> | ||
<style type="text/css"> | ||
body { | ||
color: #FFF; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
} | ||
|
||
article p,h3,ul { | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: 65%; | ||
} | ||
</style> | ||
<link rel="shortcut icon" href="favicon.ico"> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.js"></script> | ||
<script src="js/respond.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<footer> | ||
<div class="content"> | ||
<ul class="list-unstyled"> | ||
<li><a href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li> | ||
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li> | ||
<li><a href="http://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li> | ||
</ul> | ||
<a href="index.html"><h1 class="gittext lowercase">Git for Windows</h1></a> | ||
<div class="stud"></div> | ||
</div> | ||
</footer> | ||
<section class="details"> | ||
<article> | ||
{{ block "main" . }} | ||
{{ .Content }} | ||
{{ end }} | ||
</article> | ||
</section> | ||
<footer> | ||
<div class="content"> | ||
<ul class="list-unstyled"> | ||
<li><a href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li> | ||
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li> | ||
<li><a href="http://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li> | ||
</ul> | ||
<a href="index.html"><h1 class="gittext lowercase">Git for Windows</h1></a> | ||
<div class="stud"></div> | ||
</div> | ||
</footer> | ||
<script src="js/pack.js"></script> | ||
<script> | ||
$(document).ready(function() { | ||
$(".fancybox-thumb").fancybox({ | ||
padding: 0 | ||
}); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{ define "main" }} | ||
{{ .Content }} | ||
{{ end }} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{ define "main" }} | ||
{{ .Content }} | ||
{{ end }} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.