cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [2/3] docs commit: Merges blog post page changes to latest
Date Fri, 07 Aug 2015 00:43:42 GMT
Merges blog post page changes to latest


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/67cba9f9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/67cba9f9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/67cba9f9

Branch: refs/heads/cordova-website
Commit: 67cba9f92166eb6c379745b6c552947731da9215
Parents: ac4381f 219d7b1
Author: RubenRios <rurios@microsoft.com>
Authored: Thu Aug 6 12:44:29 2015 -0700
Committer: RubenRios <rurios@microsoft.com>
Committed: Thu Aug 6 12:44:29 2015 -0700

----------------------------------------------------------------------
 .gitignore                        |  1 +
 _config.yml                       | 41 +-------------------
 _dev.yml                          | 38 ++++++++++++++++++
 _prod.yml                         |  4 ++
 gulpfile.js                       | 40 +++++++++++++------
 tools/bin/gen_languages.py        | 24 ++++++++++--
 tools/bin/toc.py                  | 14 +++++--
 www/_data/toc/en-5-0-0-manual.yml |  5 +++
 www/_data/toc/en-edge-manual.yml  |  5 +++
 www/_includes/header.html         | 56 +++++++++++++++------------
 www/_layouts/blog.html            |  6 +++
 www/_layouts/docs.html            | 40 +++++++++++--------
 www/_layouts/post.html            |  8 +---
 www/blog/index.html               | 64 +++++++++++++++----------------
 www/static/css-src/docs.scss      | 70 ++++++++++++++++++++++++++++++++--
 www/static/js/docs.js             |  2 +-
 16 files changed, 278 insertions(+), 140 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/67cba9f9/www/_layouts/post.html
----------------------------------------------------------------------
diff --cc www/_layouts/post.html
index 65253f2,e516056..7e739d2
--- a/www/_layouts/post.html
+++ b/www/_layouts/post.html
@@@ -1,31 -1,11 +1,27 @@@
  ---
- layout: cordova
+ layout: blog
  ---
- 
 -<div class="site container">
 -    <h2>{{ page.title }}</h2>
 -    <div class="meta">Posted by: <a href="{{ page.author.url }}">{{ page.author.name
}}</a></div>
 -    <p class="meta">{{ page.date | date_to_string }}</p>
 -    <div class="post">
 -    {{ content }}
 -    </div>
 -</div>
 +<div class="blog">
 +  <div id="content" class="container">
 +     <div class="row">         
 +        <div class="blogHeader">
 +          <h1>Blog</h1>
 +          <div>
 +            <img src="{{ site.baseurl }}/static/img/subscribe.png">
 +            <a href="{{ site.baseurl }}{{ site.rss_path }}">Subscribe</a>
 +          </div>
 +        </div>                 
 +        <div class="post">
 +            <header>
 +              <div class="title">{{ page.title }}</div>
 +              <div class="author">By: {{ page.author.name }}</div>
 +              <div class="date">{{ page.date | date_to_string }}</div>
 +            </header>
 +            <section>
 +              <div>
 +                {{ content }}
 +              </div>
 +            </section>          
 +        </div>           
 +     </div>      
-   </div>
- </div>
- 
- 
++  </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/67cba9f9/www/blog/index.html
----------------------------------------------------------------------
diff --cc www/blog/index.html
index bce3ab8,ccab47e..7935aca
--- a/www/blog/index.html
+++ b/www/blog/index.html
@@@ -4,38 -4,37 +4,38 @@@ title: Apache Cordova Blo
  ---
  
  <div class="blog">
 -  <div id="content" class="container fill">
 -    <div class="col-sm-8 blog-list">
 -      <div class="blogHeader">
 -        <h1>Blog</h1>
 -        <div>
 -          <img src="{{ site.baseurl }}/static/img/subscribe.png">
 -          <a href="{{ site.baseurl }}{{ site.rss_path }}">Subscribe</a>
 +  <div id="content" class="container">
 +     <div class="row">
-     <div class="col-sm-8 blog-list">  
-       <div class="blogHeader">
-         <h1>Blog</h1>
-         <div>
-           <img src="{{ site.baseurl }}/static/img/subscribe.png">
-           <a href="{{ site.baseurl }}{{ site.rss_path }}">Subscribe</a>
++        <div class="col-sm-8 blog-list">  
++          <div class="blogHeader">
++            <h1>Blog</h1>
++            <div>
++              <img src="{{ site.baseurl }}/static/img/subscribe.png">
++              <a href="{{ site.baseurl }}{{ site.rss_path }}">Subscribe</a>
++            </div>
++          </div>
++          <ul class="posts">
++              {% for post in site.posts %}
++              <li>
++                <header>
++                  <div class="adorner"></div>
++                  <div>
++                    <div class="title"><a href="{{ site.baseurl }}{{ post.url }}">{{
post.title }}</a></div>
++                    <div><span class="date">{{ post.date | date_to_string }}</span><span>
- by </span><span class="author"><a href="{{ post.author.url }}">{{ post.author.name
}}</a></span></div>
++                  </div>
++                </header>
++                <section class="post-excerpt">
++                  <p>{{ post.content | strip_html | truncatewords:80 }}</p>
++                  <div><a href="{{ site.baseurl }}{{ post.url }}">More...</a></div>
++                </section>
++              </li>
++              {% endfor %}
++          </ul>
++          <a href="http://feed1.w3.org/check.cgi?url={{ site.baseurl }}{{ site.rss_path
}}"><img src="{{ site.baseurl }}/static/img/valid-rss-rogers.png" alt="[Valid RSS]"
title="Validate my RSS feed" /></a>
++        </div>  
++        <div class="col-sm-4 social-container">    
++            {% include twitterFeed.html %}        
          </div>
-       </div>        
 -      </div>
--      <ul class="posts">
--          {% for post in site.posts %}
--          <li>
--            <header>
--              <div class="adorner"></div>
-               <div> 
 -              <div>
--                <div class="title"><a href="{{ site.baseurl }}{{ post.url }}">{{
post.title }}</a></div>
--                <div><span class="date">{{ post.date | date_to_string }}</span><span>
- by </span><span class="author"><a href="{{ post.author.url }}">{{ post.author.name
}}</a></span></div>
--              </div>
--            </header>
--            <section class="post-excerpt">
--              <p>{{ post.content | strip_html | truncatewords:80 }}</p>
--              <div><a href="{{ site.baseurl }}{{ post.url }}">More...</a></div>
--            </section>
--          </li>
--          {% endfor %}
--      </ul>
--      <a href="http://feed1.w3.org/check.cgi?url={{ site.baseurl }}{{ site.rss_path }}"><img
src="{{ site.baseurl }}/static/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate
my RSS feed" /></a>
-     </div>  
-     <div class="col-sm-4 social-container">    
-         {% include twitterFeed.html %}        
--    </div>
-      </div>      
 -
 -    <div class="col-sm-4 social-container">
 -        {% include twitterFeed.html %}
 -    </div>
++     </div> 
    </div>
- </div>
+ </div>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message