You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@esme.apache.org by rh...@apache.org on 2011/06/26 14:40:07 UTC

svn commit: r1139768 - in /esme/site/trunk: WEBSITE-HOWTO.txt templates/sidenav.mdtext templates/single_narrative.html templates/skeleton.html

Author: rhirsch
Date: Sun Jun 26 12:40:07 2011
New Revision: 1139768

URL: http://svn.apache.org/viewvc?rev=1139768&view=rev
Log:
First cut of copying Stanbol site to ESME

Added:
    esme/site/trunk/WEBSITE-HOWTO.txt
    esme/site/trunk/templates/sidenav.mdtext
    esme/site/trunk/templates/single_narrative.html
    esme/site/trunk/templates/skeleton.html

Added: esme/site/trunk/WEBSITE-HOWTO.txt
URL: http://svn.apache.org/viewvc/esme/site/trunk/WEBSITE-HOWTO.txt?rev=1139768&view=auto
==============================================================================
--- esme/site/trunk/WEBSITE-HOWTO.txt (added)
+++ esme/site/trunk/WEBSITE-HOWTO.txt Sun Jun 26 12:40:07 2011
@@ -0,0 +1,46 @@
+How to update the ESME website
+---------------------------------
+
+INTRO
+-----
+The http://esme.apache.org/ is managed by the ASF CMS
+(http://cms.apache.org).
+
+All ESME committers have read-write access to the website content,
+but it's good practice to discuss big changes on the dev list in advance.
+
+Content is provided in markdown structured text format, see cms.a.o for
+pointers to syntax and conventions.
+
+See also http://wiki.apache.org/general/ApacheCms2010 for help and links.
+
+WORKING IN SVN
+--------------
+Committing content under
+  https://svn.apache.org/repos/asf/esme/site/trunk
+causes a staging build of the website to be executed.
+
+The staged content becomes available under 
+  http://esme.staging.apache.org/
+
+The build process can be followed at 
+  http://ci.apache.org/builders/esme-site-staging
+
+See the existing content for how to add images and additional files.
+
+To push the changes in production, connect to
+https://cms.apache.org/esme/publish with your LDAP credentials (as set
+on people.apache.org).
+
+BROWSER-BASED EDITING AND PUBLISHING
+------------------------------------
+Starting at https://cms.apache.org/esme/ , one can get a working copy, 
+edit it if needed (with simple preview) and publish it to the live site.
+
+THAT'S IT
+---------
+The Apache CMS is a simple tool compared to some of the CMS we're used to.
+
+- [CMS Reference](http://www.apache.org/dev/cmsref.html)
+
+- [Django Templates](http://docs.djangoproject.com/en/1.1/ref/templates/builtins/)
\ No newline at end of file

Added: esme/site/trunk/templates/sidenav.mdtext
URL: http://svn.apache.org/viewvc/esme/site/trunk/templates/sidenav.mdtext?rev=1139768&view=auto
==============================================================================
--- esme/site/trunk/templates/sidenav.mdtext (added)
+++ esme/site/trunk/templates/sidenav.mdtext Sun Jun 26 12:40:07 2011
@@ -0,0 +1,12 @@
+# Stanbol links
+  - [Home](/index.html)
+  - [Project Team](/team.html)
+  - [Documentation](/stanbol/docs/trunk/)
+
+# ASF links
+  - [Apache Software Foundation](http://www.apache.org)
+  - [License](http://www.apache.org/licenses/LICENSE-2.0)
+  - [Thanks](http://www.apache.org/foundation/thanks.html)
+  - [Become a Sponsor](http://www.apache.org/foundation/sponsorship.html)
+  - [Security](http://www.apache.org/security/)
+  

Added: esme/site/trunk/templates/single_narrative.html
URL: http://svn.apache.org/viewvc/esme/site/trunk/templates/single_narrative.html?rev=1139768&view=auto
==============================================================================
--- esme/site/trunk/templates/single_narrative.html (added)
+++ esme/site/trunk/templates/single_narrative.html Sun Jun 26 12:40:07 2011
@@ -0,0 +1 @@
+{% extends "skeleton.html" %}

Added: esme/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/esme/site/trunk/templates/skeleton.html?rev=1139768&view=auto
==============================================================================
--- esme/site/trunk/templates/skeleton.html (added)
+++ esme/site/trunk/templates/skeleton.html Sun Jun 26 12:40:07 2011
@@ -0,0 +1,51 @@
+<!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="/css/esme.css" rel="stylesheet" type="text/css">
+  <title>Apache ESME - {% block title %}{{ headers.title }}{% endblock %}</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <link rel="icon" type="image/png" href="/images/esme-logo/stanbol-favicon.png"/>
+</head>
+
+<body>
+  <div id="navigation">
+  <img alt="Apache ESME" width="220" height="101" src="/images/esme-logo/esme-powerd.gif"/>
+  {% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
+  </div>
+
+  <div id="content">
+    <h1 class="title">{% block title %}{{ headers.title }}{% endblock %}</h1>
+    {% block content %}{{ content|markdown }}{% endblock %}
+  </div>
+
+  <div id="footer">
+    <div class="copyright">
+      <p>
+        Copyright &copy; 2010 The Apache Software Foundation, Licensed under
+        the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+        <br />
+        Apache, ESME and the Apache feather and ESME logos are trademarks of The Apache Software Foundation.
+      </p>
+    </div>
+  </div>
+
+</body>
+</html>