[Blends-commit] [SCM] website branch, master, updated. 1e1bb7c62c9d867b6289682671ea72b2c62ba88b

Iain R. Learmonth irl at fsfe.org
Fri May 29 10:25:14 UTC 2015


The following commit has been merged in the master branch:
commit 80d214c24a8473a9a75f7a807b01746867c0df37
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Fri May 15 17:23:02 2015 +0100

    new-website: Adding a template

diff --git a/.gitignore b/.gitignore
index 7283ce5..6c186f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,6 @@ tasks
 thermometer
 packages-metadata
 liststats
-_*
 *.pyc
 *.json
 *.pdf
diff --git a/www-src/_config.yml b/www-src/_config.yml
new file mode 100644
index 0000000..693202e
--- /dev/null
+++ b/www-src/_config.yml
@@ -0,0 +1,7 @@
+# Site settings
+markdown: kramdown
+permalink: pretty
+
+# Build settings
+destination: ../www
+
diff --git a/www-src/_includes/blends_menu.html b/www-src/_includes/blends_menu.html
new file mode 100644
index 0000000..7e491b0
--- /dev/null
+++ b/www-src/_includes/blends_menu.html
@@ -0,0 +1 @@
+<li><a href="/">Home</a></li>
diff --git a/www-src/_includes/footer.html b/www-src/_includes/footer.html
new file mode 100644
index 0000000..ca5807e
--- /dev/null
+++ b/www-src/_includes/footer.html
@@ -0,0 +1,12 @@
+<div id="footer">
+<div id="fineprint">
+    <p>
+    The source code powering these pages is available <a href="http://anonscm.debian.org/cgit/blends/website.git">here</a>.
+    <br />
+    Contact: <a href="mailto:{{ include.team_mail }}">{{ include.team_name }}</a> (<a href="{{ include.team_archives }}">archives</a>)
+    {% if include.team_irc %} or <a href="irc://irc.debian.org/{{ include.team_irc }}">#{{ include.team_irc }}</a> on irc.debian.org{% endif %}.
+    <br />
+    Debian is a registered trademark of <a href="http://www.spi-inc.org/">Software in the Public Interest</a>.
+    </p>
+</div>
+</div>
diff --git a/www-src/_includes/games_menu.html b/www-src/_includes/games_menu.html
new file mode 100644
index 0000000..7a9caed
--- /dev/null
+++ b/www-src/_includes/games_menu.html
@@ -0,0 +1,5 @@
+<li><a href="/games/">Home</a></li>
+<li><a href="/games/tasks/">Tasks</a>
+<li><a href="/games/bugs/">Bugs</a></li>
+<li><a href="/games/thermometer/">Thermometer</a></li>
+<li><a href="/games/maintstats/">Maintainer Stats</a></li>
diff --git a/www-src/_includes/hamradio_menu.html b/www-src/_includes/hamradio_menu.html
new file mode 100644
index 0000000..d8b005c
--- /dev/null
+++ b/www-src/_includes/hamradio_menu.html
@@ -0,0 +1,4 @@
+<li><a href="/hamradio">Home</a></li>
+<li><a href="/hamradio/packages/">Packages</a></li>
+<li><a href="/hamradio/live/">Live DVDs</a></li>
+<li><a href="/hamradio/dev/">Development</a></li>
diff --git a/www-src/_includes/head.html b/www-src/_includes/head.html
new file mode 100644
index 0000000..4ffc727
--- /dev/null
+++ b/www-src/_includes/head.html
@@ -0,0 +1,6 @@
+        <title>{% if include.page_title != "Home" %}{{ include.page_title }} · {% endif %}{{ include.project_title }}</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+        <meta name="robots" content="noindex" />
+        <link href="/css/debian.css" rel="stylesheet" type="text/css">
+        <link href="/css/blends.css" rel="stylesheet" type="text/css">
+        <link rel="shortcut icon" href="/img/favicon.ico">
diff --git a/www-src/_includes/header.html b/www-src/_includes/header.html
new file mode 100644
index 0000000..6553d18
--- /dev/null
+++ b/www-src/_includes/header.html
@@ -0,0 +1,23 @@
+	<div id="header">
+		<div id="wikisection">
+			<p class="section"><a href="/" title="{{ include.project_title }}">{{ include.project_short }}</a></p>
+		</div>
+
+		<div id="upperheader">
+			<div id="logo">
+				<a href="http://www.debian.org" title="Debian Home">
+					<img src="/img/openlogo-50.png" alt="Debian" width="50" height="61">
+				</a>
+			</div>
+		</div> <!-- end upperheader -->
+
+		<div id="navbar">
+			<p class="hidecss"><a href="#content">Skip Quicknav</a></p>
+			<ul>
+				{% include {{ include.project_menu }} %}
+			</ul>
+		</div> <!-- end navbar -->
+
+		<p id="breadcrumbs"> {{ include.project_title }}{% if include.page_title != "Home" %}<span class="sep">/</span>{{ include.page_title }}{% endif %}</p>
+	</div>
+
diff --git a/www-src/_includes/med_menu.html b/www-src/_includes/med_menu.html
new file mode 100644
index 0000000..9201b85
--- /dev/null
+++ b/www-src/_includes/med_menu.html
@@ -0,0 +1,5 @@
+<li><a href="/med/">Home</a></li>
+<li><a href="/med/tasks/">Tasks</a>
+<li><a href="/med/bugs/">Bugs</a></li>
+<li><a href="/med/thermometer/">Thermometer</a></li>
+<li><a href="/med/maintstats/">Maintainer Stats</a></li>
diff --git a/www-src/_includes/template_menu.html b/www-src/_includes/template_menu.html
new file mode 100644
index 0000000..0d047e6
--- /dev/null
+++ b/www-src/_includes/template_menu.html
@@ -0,0 +1,4 @@
+<li><a href="/games/">Home</a></li>
+<li><a href="/games/tasks/">Tasks</a>
+<li><a href="/games/bugs/">Bugs</a></li>
+<li><a href="/games/thermometer/">Thermometer</a></li>
diff --git a/www-src/_layouts/blends.html b/www-src/_layouts/blends.html
new file mode 100644
index 0000000..ed12bb2
--- /dev/null
+++ b/www-src/_layouts/blends.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		{% include head.html project_title="Debian Pure Blends" page_title=page.title %}
+	</head>
+
+	<body>
+		{% include header.html project_title="Debian Pure Blends" project_short="Pure Blends" project_menu="blends_menu.html" page_title=page.title %}
+
+		<div id="content">
+			{{ content }}
+		</div>
+
+		{% include footer.html team_name="Debian Pure Blends Team" team_mail="debian-blends at lists.debian.org" team_archives="https://lists.debian.org/debian-blends/" team_irc="debian-blends" %}
+
+	</body>
+
+</html>
diff --git a/www-src/_layouts/games.html b/www-src/_layouts/games.html
new file mode 100644
index 0000000..32db231
--- /dev/null
+++ b/www-src/_layouts/games.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		{% include head.html project_title="Debian Games Pure Blend" page_title=page.title %}
+	</head>
+
+	<body>
+		{% include header.html project_title="Debian Games Pure Blend" project_short="Games Pure Blend" project_menu="games_menu.html" page_title=page.title %}
+
+		<div id="content">
+			{{ content }}
+		</div>
+
+		{% include footer.html team_name="Debian Games Team" team_mail="debian-devel-games at lists.debian.org" team_archives="https://lists.debian.org/debian-devel-games/" team_irc="debian-games" %}
+
+	</body>
+</html>
diff --git a/www-src/_layouts/hamradio.html b/www-src/_layouts/hamradio.html
new file mode 100644
index 0000000..8755734
--- /dev/null
+++ b/www-src/_layouts/hamradio.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		{% include head.html project_title="Debian Hamradio Pure Blend" page_title=page.title %}
+	</head>
+
+	<body>
+		{% include header.html project_title="Debian Hamradio Pure Blend" project_short="Hamradio Pure Blend" project_menu="hamradio_menu.html" page_title=page.title %}
+
+		<div id="content">
+			{{ content }}
+		</div>
+
+		{% include footer.html team_name="Debian Hamradio Maintainers" team_mail="debian-hams at lists.debian.org" team_archives="https://lists.debian.org/debian-hams/" team_irc="debian-hams" %}
+
+	</body>
+</html>
diff --git a/www-src/_layouts/med.html b/www-src/_layouts/med.html
new file mode 100644
index 0000000..c04c381
--- /dev/null
+++ b/www-src/_layouts/med.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		{% include head.html project_title="Debian Med Pure Blend" page_title=page.title %}
+	</head>
+
+	<body>
+		{% include header.html project_title="Debian Med Pure Blend" project_short="Med Pure Blend" project_menu="med_menu.html" page_title=page.title %}
+
+		<div id="content">
+			{{ content }}
+		</div>
+
+		{% include footer.html team_name="Debian Med Pure Blend" team_mail="debian-med at lists.debian.org" team_archives="https://lists.debian.org/debian-med/" team_irc="debian-med" %}
+
+	</body>
+</html>
diff --git a/www-src/_layouts/template.html b/www-src/_layouts/template.html
new file mode 100644
index 0000000..cbd53fb
--- /dev/null
+++ b/www-src/_layouts/template.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		{% include head.html project_title="Debian Template Pure Blend" page_title=page.title %}
+	</head>
+
+	<body>
+		{% include header.html project_title="Debian Template Pure Blend" project_short="Template Pure Blend" project_menu="template_menu.html" page_title=page.title %}
+
+		<div id="content">
+			{{ content }}
+		</div>
+
+		{% include footer.html team_name="Debian Template Team" team_mail="debian-template at lists.debian.org" team_archives="https://lists.debian.org/debian-template/" team_irc="debian-template" %}
+
+	</body>
+</html>
diff --git a/www-src/template/index.html b/www-src/template/index.html
new file mode 100644
index 0000000..dd4ef50
--- /dev/null
+++ b/www-src/template/index.html
@@ -0,0 +1,12 @@
+---
+layout: template
+title: Home
+---
+
+<h1>Debian Template Pure Blend</h1>
+
+<p>These pages contain package information for the <b>Debian Template Pure Blend</b>.</p>
+
+<p>This is not a real Debian Pure Blend, it is just a series of template files
+for Pure Blends to use when creating their websites.</p>
+
diff --git a/www/games/index.html b/www/template/index.html
similarity index 61%
copy from www/games/index.html
copy to www/template/index.html
index 3fc5649..8c22cc6 100644
--- a/www/games/index.html
+++ b/www/template/index.html
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
 	<head>
-		        <title>Debian Games Pure Blend</title>
+		        <title>Debian Template Pure Blend</title>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
         <meta name="robots" content="noindex" />
         <link href="/css/debian.css" rel="stylesheet" type="text/css">
@@ -13,7 +13,7 @@
 	<body>
 			<div id="header">
 		<div id="wikisection">
-			<p class="section"><a href="/" title="Debian Games Pure Blend">Games Pure Blend</a></p>
+			<p class="section"><a href="/" title="Debian Template Pure Blend">Template Pure Blend</a></p>
 		</div>
 
 		<div id="upperheader">
@@ -31,25 +31,22 @@
 <li><a href="/games/tasks/">Tasks</a>
 <li><a href="/games/bugs/">Bugs</a></li>
 <li><a href="/games/thermometer/">Thermometer</a></li>
-<li><a href="/games/maintstats/">Maintainer Stats</a></li>
 
 			</ul>
 		</div> <!-- end navbar -->
 
-		<p id="breadcrumbs"> Debian Games Pure Blend</p>
+		<p id="breadcrumbs"> Debian Template Pure Blend</p>
 	</div>
 
 
 
 		<div id="content">
-			<h1>Debian Games Pure Blend</h1>
+			<h1>Debian Template Pure Blend</h1>
 
-<p>These pages contain package information for the <b>Debian Games Pure Blend</b>.</p>
+<p>These pages contain package information for the <b>Debian Template Pure Blend</b>.</p>
 
-<p>You can find more information on games in Debian <a
-	href="https://wiki.debian.org/Game">here</a>. For developer
-information, see the <a href="https://wiki.debian.org/Games">Debian Games Team page
-on the wiki</a>.</p>
+<p>This is not a real Debian Pure Blend, it is just a series of template files
+for Pure Blends to use when creating their websites.</p>
 
 
 		</div>
@@ -59,8 +56,8 @@ on the wiki</a>.</p>
     <p>
     The source code powering these pages is available <a href="http://anonscm.debian.org/cgit/blends/website.git">here</a>.
     <br />
-    Contact: <a href="mailto:debian-devel-games at lists.debian.org">Debian Games Team</a> (<a href="https://lists.debian.org/debian-devel-games/">archives</a>)
-     or <a href="irc://irc.debian.org/debian-games">#debian-games</a> on irc.debian.org.
+    Contact: <a href="mailto:debian-template at lists.debian.org">Debian Template Team</a> (<a href="https://lists.debian.org/debian-template/">archives</a>)
+     or <a href="irc://irc.debian.org/debian-template">#debian-template</a> on irc.debian.org.
     <br />
     Debian is a registered trademark of <a href="http://www.spi-inc.org/">Software in the Public Interest</a>.
     </p>

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list