Skip to content

Commit 17f6488

Browse files
committed
Migrate the .url files to Hugo
They are handled by a custom output format, for details, see https://gohugo.io/configuration/output-formats/#create-an-output-format. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 45a0cf5 commit 17f6488

20 files changed

+67
-9
lines changed

content/latest-32-bit-installer.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "Git"
5+
suffix: "32-bit.exe"
6+
---

content/latest-32-bit-mingit.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "MinGit"
5+
suffix: "32-bit.zip"
6+
---
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "PortableGit"
5+
suffix: "32-bit.7z.exe"
6+
---

content/latest-64-bit-installer.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "Git"
5+
suffix: "64-bit.exe"
6+
---

content/latest-64-bit-mingit.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "MinGit"
5+
suffix: "64-bit.zip"
6+
---
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "PortableGit"
5+
suffix: "64-bit.7z.exe"
6+
---

content/latest-arm64-installer.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "Git"
5+
suffix: "arm64.exe"
6+
---

content/latest-arm64-mingit.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "MinGit"
5+
suffix: "arm64.zip"
6+
---
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
outputs:
3+
- url
4+
prefix: "PortableGit"
5+
suffix: "arm64.7z.exe"
6+
---

hugo.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,21 @@ markup:
99
goldmark:
1010
renderer:
1111
unsafe: true
12+
mediaTypes:
13+
application/vnd.curl:
14+
suffixes:
15+
- url
16+
outputFormats:
17+
url:
18+
mediaType: application/vnd.curl
19+
noUgly: false
1220
module:
1321
mounts:
1422
- source: content
1523
target: content
1624
params:
1725
hugo_version: 0.145.0
26+
version: 2.48.1
27+
tag_name: v2.48.1.windows.1
28+
publish_date: "Thu, 13 Feb 2025 12:50:46 UTC"
29+
url: "https://github.com/git-for-windows/git/releases/tag/v2.48.1.windows.1"

0 commit comments

Comments
 (0)