commit | 28fa66337ee3227f6f21ccc8d7f5bef7516d25f3 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Sep 13 16:18:43 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Sep 13 16:23:53 2018 +0900 |
tree | 8f0df09d6f87de0d0aec40f76020c1a57a0833ab | |
parent | b8ed90eb8b7897c3c62964bf857e6e77faedcc78 [diff] |
News index: Fix display of post summary The template is using 'page.summary' which does not exist, and thus ends up using an extract of the post's content, rather than the defined summary. Change it to 'post.summary'. Also, don't truncate the summary at 160 characters; this can cause the summary to be cut off unexpectedly. Instead, let's rely on the reviewers to check that news posts have a summary entry with a reasonable length. Change-Id: I970ddffba27132c5a48602f49618b2a5d5a1ca5f
Homepage for Gerrit Code Review.