cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [01/10] docs commit: Fixed truncation on the blog posts pages
Date Thu, 20 Aug 2015 01:33:17 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 769333297 -> c268bc06f


Fixed truncation on the blog posts pages


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

Branch: refs/heads/cordova-website
Commit: 9af67597c38c24fb53c87a15d1764813a8d66499
Parents: 7ce8ade
Author: Brad Gashler <bgashler1@users.noreply.github.com>
Authored: Tue Aug 18 16:18:03 2015 -0700
Committer: Brad Gashler <bgashler1@users.noreply.github.com>
Committed: Tue Aug 18 16:18:03 2015 -0700

----------------------------------------------------------------------
 www/_layouts/post.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/9af67597/www/_layouts/post.html
----------------------------------------------------------------------
diff --git a/www/_layouts/post.html b/www/_layouts/post.html
index 41fd7a9..c948e23 100644
--- a/www/_layouts/post.html
+++ b/www/_layouts/post.html
@@ -32,7 +32,7 @@ layout: blog
                                 <br>
                                 <a class="title" href="{{ site.baseurl }}{{ page.previous.url
}}">{{ page.previous.title }}</a>
                                 <div class="date"> {{ page.previous.date | date_to_string
}} - By {{ page.previous.author.name }} </div>
-                                <div class="content"> {{ page.previous.content | strip_html
| truncatewords:20 }} </div>
+                                <div class="content"> {{ page.previous.content | strip_html
| truncate:130 }} </div>
                             {% endif %}
                         </div>
                         <div class="col-sm-6">
@@ -42,7 +42,7 @@ layout: blog
                                 <br>
                                 <a class="title" href="{{ site.baseurl }}{{ page.next.url
}}">{{ page.next.title }}</a>
                                 <div class="date"> {{ page.next.date | date_to_string
}} - By {{ page.next.author.name}} </div>
-                                <div class="content"> {{ page.next.content | strip_html
| truncatewords:20 }} </div>
+                                <div class="content"> {{ page.next.content | strip_html
| truncate:130 }} </div>
                             {% endif %}
                         </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