Skip to content

Commit

Permalink
More updates, including links to release pages
Browse files Browse the repository at this point in the history
  • Loading branch information
knomepasi committed Jan 27, 2024
1 parent 570d580 commit 614140d
Show file tree
Hide file tree
Showing 13 changed files with 90 additions and 61 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# in the templates via {{ site.myvariable }}.
title: Xubuntu Release Documents
email: [email protected]
description: Xubuntu Release Documents
description: Xubuntu Release Documents, including Release Notes
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com

Expand Down
47 changes: 47 additions & 0 deletions _layouts/document.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
{%- include head.html -%}
<body>

<div id="content">
<header>
<h1>
<a href="/">
<img src="{{ "/assets/logo.png" | relative_url }}" alt="Xubuntu" />
</a>
</h1>
</header>

<main>
<h1>{{ page.title }}</h1>
{{ content }}

<br />
<h1>See also</h1>
{%- if site.releases.size > 0 -%}
{% assign releases = site.releases | group_by: 'release' | reverse %}
{%- for release in releases -%}
{%- if release.name == page.release -%}
<p class="documents">
{%- for document in release.items -%}
{%- if document.title != page.title -%}
<a class="button" href="{{ document.url | relative_url }}">
{%- if document.link_name -%}
{{ document.link_name }}
{%- else -%}
{{ document.title }}
{%- endif -%}
</a>
{%- endif -%}
{%- endfor -%}
<a class="button" href="https://xubuntu.org/release/{{ release.name }}">{{ release.name }} Release Page (xubuntu.org)</a>
</p>
{%- endif -%}
{%- endfor -%}
{%- endif -%}

</main>
</div>

</body>
</html>
5 changes: 3 additions & 2 deletions _layouts/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- for release in releases -%}
<div class="release">
<h2>Xubuntu {{ release.name }}</h2>
<div class="documents">
<p class="documents">
{%- for document in release.items -%}
<a class="button" href="{{ document.url | relative_url }}">
{%- if document.link_name -%}
Expand All @@ -19,7 +19,8 @@ <h2>Xubuntu {{ release.name }}</h2>
{%- endif -%}
</a>
{%- endfor -%}
</div>
</p>
<p>For download links and more, visit the <a href="https://xubuntu.org/release/{{ release.name }}">{{ release.name }} Release Page</a> on xubuntu.org.</p>
</div>
{%- endfor -%}
{%- endif -%}
2 changes: 1 addition & 1 deletion _releases/23.10/release-notes.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
layout: document
release: "23.10"
link_name: "Release Notes"
title: "Xubuntu 23.10 Release Notes"
Expand Down
16 changes: 8 additions & 8 deletions _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Xubuntu Release Notes | Xubuntu Release Notes</title>
<title>Xubuntu Release Documents | Xubuntu Release Documents</title>
<meta name="generator" content="Jekyll v3.9.3" />
<meta property="og:title" content="Xubuntu Release Notes" />
<meta property="og:title" content="Xubuntu Release Documents" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Xubuntu Release Notes" />
<meta property="og:description" content="Xubuntu Release Notes" />
<meta name="description" content="Xubuntu Release Documents" />
<meta property="og:description" content="Xubuntu Release Documents" />
<link rel="canonical" href="http://localhost:4000/404.html" />
<meta property="og:url" content="http://localhost:4000/404.html" />
<meta property="og:site_name" content="Xubuntu Release Notes" />
<meta property="og:site_name" content="Xubuntu Release Documents" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Xubuntu Release Notes" />
<meta property="twitter:title" content="Xubuntu Release Documents" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","description":"Xubuntu Release Notes","headline":"Xubuntu Release Notes","url":"http://localhost:4000/404.html"}</script>
{"@context":"https://schema.org","@type":"WebPage","description":"Xubuntu Release Documents","headline":"Xubuntu Release Documents","url":"http://localhost:4000/404.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/reset.css">
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Notes" /></head>
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Documents" /></head>
<body>

<div id="content">
Expand Down
12 changes: 0 additions & 12 deletions _site/assets/xubuntu.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,3 @@ a.button {
margin: 0;
content: "";
}

@media screen and (min-width:900px) {
.release {
display: grid;
grid-gap: 2em;
grid-template-columns: max-content auto;
margin-bottom: 1em;
}
.release h2 {
margin: 0.45rem 0;
}
}
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-01-27T12:07:08+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Xubuntu Release Notes</title><subtitle>Xubuntu Release Notes</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2024-01-27T12:24:31+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">Xubuntu Release Documents</title><subtitle>Xubuntu Release Documents</subtitle></feed>
18 changes: 10 additions & 8 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Release Documents | Xubuntu Release Notes</title>
<title>Release Documents | Xubuntu Release Documents</title>
<meta name="generator" content="Jekyll v3.9.3" />
<meta property="og:title" content="Release Documents" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Xubuntu Release Notes" />
<meta property="og:description" content="Xubuntu Release Notes" />
<meta name="description" content="Xubuntu Release Documents" />
<meta property="og:description" content="Xubuntu Release Documents" />
<link rel="canonical" href="http://localhost:4000/" />
<meta property="og:url" content="http://localhost:4000/" />
<meta property="og:site_name" content="Xubuntu Release Notes" />
<meta property="og:site_name" content="Xubuntu Release Documents" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Release Documents" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebSite","description":"Xubuntu Release Notes","headline":"Release Documents","name":"Xubuntu Release Notes","url":"http://localhost:4000/"}</script>
{"@context":"https://schema.org","@type":"WebSite","description":"Xubuntu Release Documents","headline":"Release Documents","name":"Xubuntu Release Documents","url":"http://localhost:4000/"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/reset.css">
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Notes" /></head>
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Documents" /></head>
<body>

<div id="content">
Expand All @@ -36,10 +36,12 @@ <h1>Release Documents</h1>

<div class="release">
<h2>Xubuntu 23.10</h2>
<div class="documents"><a class="button" href="/releases/23.10/release-notes.html">Release Notes</a><a class="button" href="/releases/23.10/upgrading.html">Upgrading</a></div>
<p class="documents"><a class="button" href="/releases/23.10/release-notes.html">Release Notes</a><a class="button" href="/releases/23.10/upgrading.html">Upgrading</a></p>
<p>For download links and more, visit the <a href="https://xubuntu.org/release/23.10">23.10 Release Page</a> on xubuntu.org.</p>
</div><div class="release">
<h2>Xubuntu 23.04</h2>
<div class="documents"><a class="button" href="/releases/23.04/release-notes.html">Release Notes</a><a class="button" href="/releases/23.04/upgrading.html">Upgrading</a></div>
<p class="documents"><a class="button" href="/releases/23.04/release-notes.html">Release Notes</a><a class="button" href="/releases/23.04/upgrading.html">Upgrading</a></p>
<p>For download links and more, visit the <a href="https://xubuntu.org/release/23.04">23.04 Release Page</a> on xubuntu.org.</p>
</div>
</main>
</div>
Expand Down
12 changes: 6 additions & 6 deletions _site/releases/23.04/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Xubuntu 23.04 Release Notes | Xubuntu Release Notes</title>
<title>Xubuntu 23.04 Release Notes | Xubuntu Release Documents</title>
<meta name="generator" content="Jekyll v3.9.3" />
<meta property="og:title" content="Xubuntu 23.04 Release Notes" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Xubuntu Release Notes" />
<meta property="og:description" content="Xubuntu Release Notes" />
<meta name="description" content="Xubuntu Release Documents" />
<meta property="og:description" content="Xubuntu Release Documents" />
<link rel="canonical" href="http://localhost:4000/releases/23.04/release-notes.html" />
<meta property="og:url" content="http://localhost:4000/releases/23.04/release-notes.html" />
<meta property="og:site_name" content="Xubuntu Release Notes" />
<meta property="og:site_name" content="Xubuntu Release Documents" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Xubuntu 23.04 Release Notes" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","description":"Xubuntu Release Notes","headline":"Xubuntu 23.04 Release Notes","url":"http://localhost:4000/releases/23.04/release-notes.html"}</script>
{"@context":"https://schema.org","@type":"WebPage","description":"Xubuntu Release Documents","headline":"Xubuntu 23.04 Release Notes","url":"http://localhost:4000/releases/23.04/release-notes.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/reset.css">
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Notes" /></head>
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Documents" /></head>
<body>

<div id="content">
Expand Down
6 changes: 3 additions & 3 deletions _site/releases/23.04/upgrading.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Upgrading to Xubuntu 23.04 | Xubuntu Release Notes</title>
<title>Upgrading to Xubuntu 23.04 | Xubuntu Release Documents</title>
<meta name="generator" content="Jekyll v3.9.3" />
<meta property="og:title" content="Upgrading to Xubuntu 23.04" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="" />
<meta property="og:description" content="" />
<link rel="canonical" href="http://localhost:4000/releases/23.04/upgrading.html" />
<meta property="og:url" content="http://localhost:4000/releases/23.04/upgrading.html" />
<meta property="og:site_name" content="Xubuntu Release Notes" />
<meta property="og:site_name" content="Xubuntu Release Documents" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Upgrading to Xubuntu 23.04" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","description":"…","headline":"Upgrading to Xubuntu 23.04","url":"http://localhost:4000/releases/23.04/upgrading.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/reset.css">
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Notes" /></head>
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Documents" /></head>
<body>

<div id="content">
Expand Down
11 changes: 7 additions & 4 deletions _site/releases/23.10/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Xubuntu 23.10 Release Notes | Xubuntu Release Notes</title>
<title>Xubuntu 23.10 Release Notes | Xubuntu Release Documents</title>
<meta name="generator" content="Jekyll v3.9.3" />
<meta property="og:title" content="Xubuntu 23.10 Release Notes" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Welcome to the Xubuntu 23.10 “Mantic Minotaur” release notes!" />
<meta property="og:description" content="Welcome to the Xubuntu 23.10 “Mantic Minotaur” release notes!" />
<link rel="canonical" href="http://localhost:4000/releases/23.10/release-notes.html" />
<meta property="og:url" content="http://localhost:4000/releases/23.10/release-notes.html" />
<meta property="og:site_name" content="Xubuntu Release Notes" />
<meta property="og:site_name" content="Xubuntu Release Documents" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Xubuntu 23.10 Release Notes" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","description":"Welcome to the Xubuntu 23.10 “Mantic Minotaur” release notes!","headline":"Xubuntu 23.10 Release Notes","url":"http://localhost:4000/releases/23.10/release-notes.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/reset.css">
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Notes" /></head>
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Documents" /></head>
<body>

<div id="content">
Expand Down Expand Up @@ -321,7 +321,10 @@ <h3 id="thunar-plugins">Thunar Plugins</h3>
<li>thunar-media-tags-plugin <a href="https://launchpad.net/ubuntu/mantic/+source/thunar-media-tags-plugin/+changelog">changelog</a></li>
</ul>

</main>

<br />
<h1>See also</h1><p class="documents"><a class="button" href="/releases/23.10/upgrading.html">Upgrading</a><a class="button" href="https://xubuntu.org/release/23.10">23.10 Release Page (xubuntu.org)</a>
</p></main>
</div>

</body>
Expand Down
6 changes: 3 additions & 3 deletions _site/releases/23.10/upgrading.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"><!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Upgrading to Xubuntu 23.10 | Xubuntu Release Notes</title>
<title>Upgrading to Xubuntu 23.10 | Xubuntu Release Documents</title>
<meta name="generator" content="Jekyll v3.9.3" />
<meta property="og:title" content="Upgrading to Xubuntu 23.10" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="You can easily upgrade over the network with the following procedure. Upgrades from Xubuntu 23.04 are supported. For all other Ubuntu systems, please read ManticUpgrades on help.ubuntu.com." />
<meta property="og:description" content="You can easily upgrade over the network with the following procedure. Upgrades from Xubuntu 23.04 are supported. For all other Ubuntu systems, please read ManticUpgrades on help.ubuntu.com." />
<link rel="canonical" href="http://localhost:4000/releases/23.10/upgrading.html" />
<meta property="og:url" content="http://localhost:4000/releases/23.10/upgrading.html" />
<meta property="og:site_name" content="Xubuntu Release Notes" />
<meta property="og:site_name" content="Xubuntu Release Documents" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Upgrading to Xubuntu 23.10" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","description":"You can easily upgrade over the network with the following procedure. Upgrades from Xubuntu 23.04 are supported. For all other Ubuntu systems, please read ManticUpgrades on help.ubuntu.com.","headline":"Upgrading to Xubuntu 23.10","url":"http://localhost:4000/releases/23.10/upgrading.html"}</script>
<!-- End Jekyll SEO tag -->
<link rel="stylesheet" href="/assets/reset.css">
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Notes" /></head>
<link rel="stylesheet" href="/assets/xubuntu.css"><link type="application/atom+xml" rel="alternate" href="http://localhost:4000/feed.xml" title="Xubuntu Release Documents" /></head>
<body>

<div id="content">
Expand Down
12 changes: 0 additions & 12 deletions assets/xubuntu.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,3 @@ a.button {
margin: 0;
content: "";
}

@media screen and (min-width:900px) {
.release {
display: grid;
grid-gap: 2em;
grid-template-columns: max-content auto;
margin-bottom: 1em;
}
.release h2 {
margin: 0.45rem 0;
}
}

0 comments on commit 614140d

Please sign in to comment.