Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Oct 4, 2023
1 parent f9552a3 commit b4bc9e8
Show file tree
Hide file tree
Showing 58 changed files with 274 additions and 231 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

/.hugo_build.lock
/public/
/resources/_gen/
16 changes: 0 additions & 16 deletions _includes/shared/monitor.html

This file was deleted.

53 changes: 0 additions & 53 deletions _includes/shared/translations.html

This file was deleted.

5 changes: 1 addition & 4 deletions assets/css/application.scss → assets/sass/application.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
---
---

//
// This is a manifest file that'll be compiled into application.css, which will include all the files
// listed below.
Expand All @@ -15,7 +12,7 @@
//
//= require normalize

$baseurl: "{{ site.baseurl }}{% if site.baseurl != '/' and site.baseurl != '' %}/{% endif %}";
$baseurl: "{{ .Site.BaseURL }}{{ if (and (ne .Site.BaseURL "/") (ne .Site.BaseURL "")) }}/{{ end }}";
@import 'normalize';
@import 'mixins';
@import 'variables';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
79 changes: 0 additions & 79 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,83 +2,4 @@
section: home
is_site_root: true
---
<div id="front-content">
<section id="front-navigation">
<nav id="front-nav">
<ul>
<li id="nav-about">
<a href="{{ 'about' | relative_url }}">
<img src="{{ 'images/icons/nav-about@2x.png' | relative_url }}" width="74" height="74" />
<h3>About</h3>
<p>The advantages of Git compared to other source control systems.</p>
</a>
</li>
<li id="nav-documentation">
<a href="{{ 'doc' | relative_url }}">
<img src="{{ 'images/icons/nav-documentation@2x.png' | relative_url }}" width="74" height="74" />
<h3>Documentation</h3>
<p>Command reference pages, Pro Git book content, videos and other material.</p>
</a>
</li>
<li id="nav-downloads">
<a href="{{ 'downloads' | relative_url }}">
<img src="{{ 'images/icons/nav-downloads@2x.png' | relative_url }}" width="74" height="74" />
<h3>Downloads</h3>
<p>GUI clients and binary releases for all major platforms.</p>
</a>
</li>
<li id="nav-community">
<a href="{{ 'community' | relative_url }}">
<img src="{{ 'images/icons/nav-community@2x.png' | relative_url }}" width="74" height="74" />
<h3>Community</h3>
<p>Get involved! Bug reporting, mailing list, chat, development and more.</p>
</a>
</li>
</ul>
</nav>
<div id="front-book">
<img src="{{ 'images/progit2.png' | relative_url }}" width="56" height="74" />
<p>
<strong><a href="{{ 'book' | relative_url }}">Pro Git</a></strong>
by Scott Chacon and Ben Straub is available to
<a href="{{ 'book' | relative_url }}">read online for free</a>.
Dead tree versions are available on <a href="https://www.amazon.com/Pro-Git-Scott-Chacon/dp/1484200772?ie=UTF8&camp=1789&creative=9325&creativeASIN=1430218339&linkCode=as2&tag=git-sfconservancy-20">Amazon.com</a>.
</p>
</div>
</section>
<section id="front-downloads">
{% include shared/monitor.html %}
<table>
<tr>
<td nowrap="true"><a href="{{ 'downloads/guis' | relative_url }}" class="icon gui" id="gui-link">Graphical UIs</a></td>
<td nowrap="true"><a href="https://www.kernel.org/pub/software/scm/git/" class="icon older-releases">Tarballs</a></td>
</tr>
<tr>
<td nowrap="true"><a href="{{ 'download/win' | relative_url }}" class="icon windows" id="alt-link">Windows Build</a></td>
<td nowrap="true"><a href="https://github.com/git/git" class="icon source">Source Code</a></td>
</tr>
</table>
</section>
</div>

<section id="companies-projects">
<h3 class="text-center"> Companies &amp; Projects Using Git </h3>
<ul>
<li><a href="https://github.com/google" class="google">Google</a></li>
<li><a href="https://github.com/Microsoft" class="microsoft">Microsoft</a></li>
<li><a href="https://github.com/twitter" class="twitter">Twitter</a></li>
<li><a href="https://github.com/linkedin" class="linked-in">LinkedIn</a></li>
<li><a href="https://github.com/netflix" class="netflix">Netflix</a></li>
<li><a href="https://perl5.git.perl.org/perl.git" class="perl">Perl</a></li>
<li><a href="https://git.postgresql.org/gitweb/" class="postgresql">PostgreSQL</a></li>

<li><a href="https://android-review.googlesource.com/#/q/status:open,n,z" class="android">Android</a></li>
<li><a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git" class="linux">Linux</a></li>
<li><a href="https://github.com/rails/rails" class="rails">Ruby on Rails</a></li>
<li><a href="https://code.qt.io/cgit/" class="qt">Qt</a></li>
<li><a href="https://gitlab.gnome.org/GNOME" class="gnome">Gnome</a></li>
<li><a href="https://git.eclipse.org/c/" class="eclipse">Eclipse</a></li>
<li><a href="https://invent.kde.org/explore/groups" class="kde">KDE</a></li>
<li><a href="https://cgit.freedesktop.org/xorg/xserver/" class="x">X</a></li>
</ul>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
subsection: "branching-and-merging"
subtitle: "Branching and Merging"
display_class: "three-line"
redirect_from:
aliases:
- /about/
---
<section class="about current" id="branching-and-merging">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 19 additions & 19 deletions content/downloads/download_win.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
section: "downloads"
title: "Git - Downloading Package"
sidebar: "book"
permalink: "/download/win"
url: "download/win"
---

<div id="main">
<h1>Download for Windows</h1>
<p>
<strong><a id="auto-download-link" href="{{ site.windows_installer.installer64.url }}">Click here to download </a></strong>
the latest (<strong id="auto-download-version">{{ site.windows_installer.installer64.version }}</strong>)
<strong><a id="auto-download-link" href="{{< site-param windows_installer.installer64.url >}}">Click here to download </a></strong>
the latest (<strong id="auto-download-version">{{< site-param windows_installer.installer64.version >}}</strong>)
<strong id="auto-download-bitness">64-bit</strong> version of <strong>Git for Windows</strong>.
This is the most recent <a href="https://git-for-windows.github.io/">maintained build</a>.
It was released <span id="relative-release-date"></span>on <span id="auto-download-date">{{ site.windows_installer.installer64.release_date }}</span>.
It was released <span id="relative-release-date"></span>on <span id="auto-download-date">{{< site-param windows_installer.installer64.release_date >}}</span>.
<script>
// say how many days ago this version was released
const relRelDate = document.getElementById("relative-release-date")
if (relRelDate) {
const daysAgo = Math.floor((Date.now() - Date.parse("{{ site.windows_installer.installer64.release_date }}")) / 86400000)
const daysAgo = Math.floor((Date.now() - Date.parse("{{< site-param windows_installer.installer64.release_date >}}")) / 86400000)
if (daysAgo >= 0) {
let ago = "" + daysAgo + " days ago"

Expand Down Expand Up @@ -49,35 +49,35 @@ <h1>Download for Windows</h1>
const date = document.getElementById("auto-download-date")
if (link && version && bitness && date) {
bitness.innerHTML = "32-bit"
link.href = "{{ site.windows_installer.installer32.url }}"
version.innerHTML = "{{ site.windows_installer.installer32.version }}"
date.innerHTML = "{{ site.windows_installer.installer32.release_date }}"
link.href = "{{< site-param windows_installer.installer32.url >}}"
version.innerHTML = "{{< site-param windows_installer.installer32.version >}}"
date.innerHTML = "{{< site-param windows_installer.installer32.release_date >}}"
}
}
</script>
</p>
<h3>Other Git for Windows downloads</h3>
<h4>Standalone Installer</h4>
<p>
<strong><a href="{{ site.windows_installer.installer32.url }}">32-bit Git for Windows Setup</a>.</strong>
<strong><a href="{{< site-param windows_installer.installer32.url >}}">32-bit Git for Windows Setup</a>.</strong>
</p>
<p>
<strong><a href="{{ site.windows_installer.installer64.url }}">64-bit Git for Windows Setup</a>.</strong>
<strong><a href="{{< site-param windows_installer.installer64.url >}}">64-bit Git for Windows Setup</a>.</strong>
</p>
<h4>Portable ("thumbdrive edition")</h4>
<p>
<strong><a href="{{ site.windows_installer.portable32.url }}">32-bit Git for Windows Portable</a>.</strong>
<strong><a href="{{< site-param windows_installer.portable32.url >}}">32-bit Git for Windows Portable</a>.</strong>
</p>
<p>
<strong><a href="{{ site.windows_installer.portable64.url }}">64-bit Git for Windows Portable</a>.</strong>
<strong><a href="{{< site-param windows_installer.portable64.url >}}">64-bit Git for Windows Portable</a>.</strong>
</p>
<h4>Using winget tool</h4>
<p>
Install <a href="https://docs.microsoft.com/en-us/windows/package-manager/winget">winget tool</a> if you don't already have it, then type this command in command prompt or Powershell.<br>
<code>winget install --id Git.Git -e --source winget</code>
</p>
<p class="small">
The current source code release is version <strong>{{ site.windows_installer.installer64.version }}</strong>.
The current source code release is version <strong>{{< site-param windows_installer.installer64.version >}}</strong>.
If you want the newer version, you can build it from <a href="https://github.com/git-for-windows/git">the source code</a>.
</p>

Expand All @@ -87,22 +87,22 @@ <h2>Now What?</h2>
</p>
<ul id="download-next-steps">
<li>
<a href="{{ "book" | relative_url }}">
<img src="{{ "images/icons/nav-read-book.png" | relative_url }}" />
<a href="{{< relurl "book" >}}">
<img src="{{< relurl "images/icons/nav-read-book.png" >}}" />
<h3>Read the Book</h3>
<p>Dive into the Pro Git book and learn at your own pace.</p>
</a>
</li>
<li>
<a href="{{ "downloads/guis" | relative_url }}">
<img src="{{ "images/icons/nav-download-gui.png" | relative_url }}" />
<a href="{{< relurl "downloads/guis" >}}">
<img src="{{< relurl "images/icons/nav-download-gui.png" >}}" />
<h3>Download a GUI</h3>
<p>Several free and commercial GUI tools are available for the Windows platform.</p>
</a>
</li>
<li>
<a href="{{ "community" | relative_url }}">
<img src="{{ "images/icons/nav-get-involved.png" | relative_url }}" />
<a href="{{< relurl "community" >}}">
<img src="{{< relurl "images/icons/nav-get-involved.png" >}}" />
<h3>Get Involved</h3>
<p>A knowledgeable Git community is available to answer your questions.</p>
</a>
Expand Down
5 changes: 0 additions & 5 deletions hugo.toml

This file was deleted.

44 changes: 44 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
baseURL: "https://git-scm.com/"
languageCode: "en-us"
title: "Git"
enableGitInfo: true
disablePathToLower: true
enableInlineShortcodes: true
disableKinds:
- taxonomy
- term

markup:
goldmark:
renderer:
unsafe: true
params:
latest_version: "2.41.0"
latest_relnote_url: "https://raw.github.com/git/git/master/Documentation/RelNotes/2.41.0.txt"
latest_release_date: "2023-06-01"
macos_installer:
url: https://sourceforge.net/projects/git-osx-installer/files/git-2.33.0-intel-universal-mavericks.dmg/download?use_mirror=autoselect
version: 2.33.0
release_date: '2021-08-30'
filename: git-2.33.0-intel-universal-mavericks.dmg
windows_installer:
portable32:
filename: PortableGit-2.41.0-32-bit.7z.exe
release_date: '2023-06-01'
version: 2.41.0
url: https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/PortableGit-2.41.0-32-bit.7z.exe
portable64:
filename: PortableGit-2.41.0-64-bit.7z.exe
release_date: '2023-06-01'
version: 2.41.0
url: https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/PortableGit-2.41.0-64-bit.7z.exe
installer32:
filename: Git-2.41.0-32-bit.exe
release_date: '2023-06-01'
version: 2.41.0
url: https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/Git-2.41.0-32-bit.exe
installer64:
filename: Git-2.41.0-64-bit.exe
release_date: '2023-06-01'
version: 2.41.0
url: https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/Git-2.41.0-64-bit.exe
Loading

0 comments on commit b4bc9e8

Please sign in to comment.