You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2014/02/08 11:46:56 UTC

svn commit: r1565954 - in /struts/site/branches/jekyll-powered: _config.yml _layouts/default.html _posts/ _source/css/ _source/index.html _source/js/ content/index.html content/js/ content/js/community.js source/ source/index.html

Author: lukaszlenart
Date: Sat Feb  8 10:46:55 2014
New Revision: 1565954

URL: http://svn.apache.org/r1565954
Log:
Cleans up after structure changing

Added:
    struts/site/branches/jekyll-powered/content/js/
    struts/site/branches/jekyll-powered/content/js/community.js
    struts/site/branches/jekyll-powered/source/
      - copied from r1565949, struts/site/branches/jekyll-powered/_source/
Removed:
    struts/site/branches/jekyll-powered/_layouts/default.html
    struts/site/branches/jekyll-powered/_posts/
    struts/site/branches/jekyll-powered/_source/css/
    struts/site/branches/jekyll-powered/_source/index.html
    struts/site/branches/jekyll-powered/_source/js/
    struts/site/branches/jekyll-powered/source/index.html
Modified:
    struts/site/branches/jekyll-powered/_config.yml
    struts/site/branches/jekyll-powered/content/index.html

Modified: struts/site/branches/jekyll-powered/_config.yml
URL: http://svn.apache.org/viewvc/struts/site/branches/jekyll-powered/_config.yml?rev=1565954&r1=1565953&r2=1565954&view=diff
==============================================================================
--- struts/site/branches/jekyll-powered/_config.yml (original)
+++ struts/site/branches/jekyll-powered/_config.yml Sat Feb  8 10:46:55 2014
@@ -2,6 +2,6 @@ name: Apache Struts
 markdown: redcarpet
 markdown_ext: md
 pygments: true
-source: _source
+source: source
 destination: content
 encoding: UTF-8

Modified: struts/site/branches/jekyll-powered/content/index.html
URL: http://svn.apache.org/viewvc/struts/site/branches/jekyll-powered/content/index.html?rev=1565954&r1=1565953&r2=1565954&view=diff
==============================================================================
--- struts/site/branches/jekyll-powered/content/index.html (original)
+++ struts/site/branches/jekyll-powered/content/index.html Sat Feb  8 10:46:55 2014
@@ -1,6 +1,52 @@
-<div id="home">
-  <h1>Blog Posts</h1>
-  <ul class="posts">
-    
-  </ul>
-</div>
\ No newline at end of file
+<!DOCTYPE html>
+<!--
+This isn't a real template - it's meta template which can be used to create new templates
+-->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <meta charset="UTF-8"/>
+  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+  <meta name="Date-Revision-yyyymmdd" content="20140206"/>
+  <meta http-equiv="Content-Language" content="en"/>
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+
+  <title>Welcome to the Apache Struts project</title>
+
+  <link rel="stylesheet" href="/css/syntax.css">
+  <link rel="stylesheet" href="/css/main.css">
+
+  <link rel="stylesheet" href="/css/apache-maven-fluido-1.3.0.min.css"/>
+  <link rel="stylesheet" href="/css/site.css"/>
+  <link rel="stylesheet" href="/css/print.css" media="print"/>
+
+  <script type="text/javascript" src="/js/community.js"></script>
+</head>
+<body>
+
+  <header>
+    <nav>
+      Navigation
+    </nav>
+  </header>
+
+  <article>
+    <section>
+
+      # Blog Posts
+
+test
+
+
+    </section>
+  </article>
+
+  <aside>
+    Sidebar
+  </aside>
+
+  <footer>
+    Footer
+  </footer>
+
+</body>
+</html>
\ No newline at end of file

Added: struts/site/branches/jekyll-powered/content/js/community.js
URL: http://svn.apache.org/viewvc/struts/site/branches/jekyll-powered/content/js/community.js?rev=1565954&view=auto
==============================================================================
--- struts/site/branches/jekyll-powered/content/js/community.js (added)
+++ struts/site/branches/jekyll-powered/content/js/community.js Sat Feb  8 10:46:55 2014
@@ -0,0 +1,30 @@
+/* Facebook */
+(function (d, s, id) {
+    var js, fjs = d.getElementsByTagName(s)[0];
+    if (d.getElementById(id)) return;
+    js = d.createElement(s);
+    js.id = id;
+    js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+    fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));
+
+/* Google Plus */
+(function () {
+    var po = document.createElement('script');
+    po.type = 'text/javascript';
+    po.async = true;
+    po.src = '//apis.google.com/js/plusone.js';
+    var s = document.getElementsByTagName('script')[0];
+    s.parentNode.insertBefore(po, s);
+})();
+
+/* Twitter */
+!function (d, s, id) {
+    var js, fjs = d.getElementsByTagName(s)[0];
+    if (!d.getElementById(id)) {
+        js = d.createElement(s);
+        js.id = id;
+        js.src = "//platform.twitter.com/widgets.js";
+        fjs.parentNode.insertBefore(js, fjs);
+    }
+}(document, "script", "twitter-wjs");