You are viewing a plain text version of this content. The canonical link for it is here.
Posted to odf-commits@incubator.apache.org by sv...@apache.org on 2018/01/30 19:08:21 UTC

[incubator-odftoolkit-site] branch maven-site updated: Just preliminary copying the template files into the site dir with a draft of site.xml - might be a dead end...

This is an automated email from the ASF dual-hosted git repository.

svanteschubert pushed a commit to branch maven-site
in repository https://gitbox.apache.org/repos/asf/incubator-odftoolkit-site.git


The following commit(s) were added to refs/heads/maven-site by this push:
     new fcf0fd1  Just preliminary copying the template files into the site dir with a draft of site.xml - might be a dead end...
fcf0fd1 is described below

commit fcf0fd1564c95898b5c1c7522a754ced06aa6903
Author: Svante Schubert <Sv...@gmail.com>
AuthorDate: Tue Jan 30 20:08:11 2018 +0100

    Just preliminary copying the template files into the site dir with a draft of site.xml - might be a dead end...
---
 src/site/html_page.html        |  3 ++
 src/site/single_narrative.html |  1 +
 src/site/site.xml              | 38 +++++++++++++++++++
 src/site/skeleton.html         | 85 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 127 insertions(+)

diff --git a/src/site/html_page.html b/src/site/html_page.html
new file mode 100644
index 0000000..40148eb
--- /dev/null
+++ b/src/site/html_page.html
@@ -0,0 +1,3 @@
+{% extends "skeleton.html" %}
+  {% block content %}{% autoescape off %}{{ content }}{% endautoescape %}{% endblock %}
+{$ endextends $}
diff --git a/src/site/single_narrative.html b/src/site/single_narrative.html
new file mode 100644
index 0000000..19d6b98
--- /dev/null
+++ b/src/site/single_narrative.html
@@ -0,0 +1 @@
+{% extends "skeleton.html" %}
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..17c04ed
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="Apache ODF Toolkit (incubating)">
+  <skin>
+    <groupId>org.apache.maven.skins</groupId>
+    <artifactId>maven-fluido-skin</artifactId>
+    <version>1.5</version>
+  </skin>
+  <bannerLeft>
+    <name>GENERAL</name>
+    <src>sidenav-left</src>
+    <!--<href>http://maven.apache.org/</href>-->
+  </bannerLeft>
+  <!--
+  <bannerRight>
+    <src>http://maven.apache.org/images/maven-small.gif</src>
+  </bannerRight>-->
+  <body>
+  
+    <!--    <links>
+      <item name="Apache" href="http://www.apache.org/" />
+      <item name="Maven 1.x" href="http://maven.apache.org/maven-1.x/"/>
+      <item name="Maven 2" href="http://maven.apache.org/"/>
+    </links>
+
+    <menu name="Maven 2.0">
+      <item name="Introduction" href="index.html"/>
+      <item name="Download" href="download.html"/>
+      <item name="Release Notes" href="release-notes.html" />
+      <item name="General Information" href="about.html"/>
+      <item name="For Maven 1.x Users" href="maven1.html"/>
+      <item name="Road Map" href="roadmap.html" />
+    </menu>
+
+    <menu ref="reports"/>
+
+ ... -->
+  </body>
+</project>
\ No newline at end of file
diff --git a/src/site/skeleton.html b/src/site/skeleton.html
new file mode 100644
index 0000000..e1b5eda
--- /dev/null
+++ b/src/site/skeleton.html
@@ -0,0 +1,85 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE- 2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<link href="/odftoolkit/css/odf.css" rel="stylesheet" type="text/css">
+{% if header %}
+{% autoescape off %}{{ header }}{% endautoescape %}{% else %}
+<title>{% block title %}{{ headers.title }}{% endblock %}</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+{% endif %}
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-28945571-1']);
+  _gaq.push(['_trackPageview']);
+
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+
+</script>
+</head>
+
+<body>
+  <div id="banner">
+   <!-- <div id="bannerleft"><a alt="Apache ODF Toolkit (incubating)" href="http://incubator.apache.org/odftoolkit/">
+      <img id="logo" alt="Apache ODF Toolkit (Incubating)" src="/odftoolkit/images/ooo-logo.png"/></a></div> -->
+    <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+      <img id="asf-logo" alt="Apache Incubator" src="/odftoolkit/images/apache-incubator-logo.png"/></a></div>
+   <div id="bannercenter"><br/>&nbsp;&nbsp;&nbsp;&nbsp;Apache ODF Toolkit (incubating)</div>
+  </div>
+  <div id="clear"></div>
+  {% if sidenav %}
+  <div id="sidenav">
+    {% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
+  </div>
+  <div id="contenta">
+  {% else %}
+  <div id="content">
+  {% endif %}
+    {% block title %}{% if headers.title %}<h1 class="title">{{ headers.title }}</h1>{% endif %}{% endblock %}
+    {% block content %}{{ content|markdown }}{% endblock %}
+  </div>
+
+  <div id="footera">
+    <div id="poweredby">
+      <p><img src="/odftoolkit/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+    </div>
+    <div id="copyrighta">
+      <p>
+	Apache "ODF Toolkit" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+	Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+	decision making process	have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+	not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+	yet to be fully endorsed by the ASF.</p>
+      <p>
+	Copyright &copy; 2011 The Apache Software Foundation Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+	<a href="/openofficeorg/contact.html">Contact Us</a>
+	<br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+	<br />Other names appearing on the site may be trademarks of their respective owners.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>

-- 
To stop receiving notification emails like this one, please contact
svanteschubert@apache.org.