[hibernate-dev] [in.relation.to] Only display post summary in list pages
Gunnar Morling
gunnar at hibernate.org
Tue Mar 20 11:21:57 EDT 2018
Great initiative, always wanted to have this! Can you send a PR for
debezium.github.io, too ;)
2018-03-20 16:02 GMT+01:00 Guillaume Smet <guillaume.smet at gmail.com>:
> On Tue, Mar 20, 2018 at 2:23 PM, Yoann Rodiere <yoann at hibernate.org>
> wrote:
>
> > It's definitely better. There are a few drawbacks, such as the summary
> not
> > displaying for older, non-asciidoctor posts, but the list was barely
> usable
> > without your change, so I think it's still an improvement.
> >
>
> I improved the extraction routine for the older posts. It extracts the very
> first paragraph when it can.
>
>
> > +1 to merge, thanks for working on this!
> >
> > One improvement we could work on is to add an ellipsis when the summary
> is
> > too long, to handle those few posts where there isn't any title. Say we
> > would only keep the first 500 characters, something like that, and add
> > "(...)" at the end if we had to truncate the summary.
> > We may be able to hack something in CSS (I'm not sure, but maybe), but in
> > this case I'd rather try to something in Ruby, if possible. Do you think
> it
> > would be possible?
> >
>
>
> My position on this is that we should take it into account when writing our
> blog posts.
>
> But from now on, if the preamble is longer than 5 paragraphs, I now extract
> the first 3. It fixes the issue with Gunnar's post on the front page.
>
> --
> Guillaume
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list