[hibernate-dev] [in.relation.to] Only display post summary in list pages
Sanne Grinovero
sanne at hibernate.org
Tue Mar 20 13:18:15 EDT 2018
Very nice!
This should also mitigate some of the SEO problems.
I see e.g. Emmanuel tends to have long unstructured starts
- http://staging.in.relation.to/emmanuel-bernard/index.html
Maybe you could improve it by forcing a "cut" before images, code snippets
and such?
Thanks,
Sanne
On 20 March 2018 at 15:02, Guillaume Smet <guillaume.smet at gmail.com> wrote:
> 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