From f2bf56a104c6a1b8a944a656c43d9dc65c679d28 Mon Sep 17 00:00:00 2001 From: "Kyle J. Davis" Date: Wed, 10 Apr 2024 23:09:13 -0600 Subject: [PATCH] adds basic downloads page (#26) Signed-off-by: Kyle J. Davis (cherry picked from commit 7ec83235c7ec2e0c643ce7d44602f9a4bc9c2902) --- _config.yml | 9 +++++++++ _includes/release.html | 8 ++++++++ _layouts/release.html | 14 ++++++++++++++ _releases/v7-2-4-rc1.markdown | 14 ++++++++++++++ download/index.html | 5 ++++- 5 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 _includes/release.html create mode 100644 _layouts/release.html create mode 100644 _releases/v7-2-4-rc1.markdown diff --git a/_config.yml b/_config.yml index 39491f3..9978ba0 100644 --- a/_config.yml +++ b/_config.yml @@ -29,10 +29,19 @@ defaults: values: layout: "author" permalink: /:collection/:name/ +- + scope: + path: "" + type: "releases" + values: + layout: "release" + permalink: download/:collection/:name collections: authors: output: true + releases: + output: true paginate: 5 paginate_path: "/blog/page:num/" diff --git a/_includes/release.html b/_includes/release.html new file mode 100644 index 0000000..89f3ed5 --- /dev/null +++ b/_includes/release.html @@ -0,0 +1,8 @@ +Release Date: {{include.content.date | date: "%a, %b %d, %Y"}}
+GitHub Release: {{include.content.tag}}
+Docker Tags: + diff --git a/_layouts/release.html b/_layouts/release.html new file mode 100644 index 0000000..2939295 --- /dev/null +++ b/_layouts/release.html @@ -0,0 +1,14 @@ +--- +layout: default +--- +{% capture primary_title %}Release: {{page.name}}{% endcapture %} +{% assign this_release = page %} +{% include page_title.html %} + + + +
+
+ {% include release.html content=this_release %} +
+
\ No newline at end of file diff --git a/_releases/v7-2-4-rc1.markdown b/_releases/v7-2-4-rc1.markdown new file mode 100644 index 0000000..f559f4f --- /dev/null +++ b/_releases/v7-2-4-rc1.markdown @@ -0,0 +1,14 @@ +--- +name: "7.2.4-rc1" +date: 2024-04-09 +tag: "7.2.4-rc1" +container: + tags: + - "7.2.4-rc1" + - "7.2.4-rc1-bookworm" + - "7.2.4-rc1-alpine" + - "7.2.4-rc1-alpine3.19" + +--- + +Hello world! \ No newline at end of file diff --git a/download/index.html b/download/index.html index d372c54..09221d6 100644 --- a/download/index.html +++ b/download/index.html @@ -2,4 +2,7 @@ layout: simple primary_title: Download title: Download ---- \ No newline at end of file +--- +{% assign current_release= site.releases | first %} + +{% include release.html content=current_release %} \ No newline at end of file