1
Fork 0

Use cobalt-builtin excerpt method

This commit is contained in:
Jan-Erik Rediger 2022-01-31 11:59:25 +01:00 committed by Jan-Erik Rediger
parent d15bea31e9
commit 1876850940
6 changed files with 17 additions and 24 deletions

View file

@ -1,9 +1,6 @@
source: "./" source: "./"
destination: _site destination: _site
include_drafts: false include_drafts: false
default:
excerpt_separator: "<!-- more -->"
is_draft: false
pages: pages:
default: {} default: {}
posts: posts:

View file

@ -8,10 +8,10 @@ data:
tags: tags:
- mozilla - mozilla
- rust - rust
synopsis: | excerpt: |
It took us several more weeks to put everything into place, It took us several more weeks to put everything into place,
but we're finally shipping the Rust parts of the Glean Android SDK with GeckoView but we're finally shipping the Rust parts of the Glean Android SDK with GeckoView
and consume that in Android Components and consume that in Android Components.
--- ---
(“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.) (“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.)

View file

@ -8,11 +8,11 @@ data:
tags: tags:
- mozilla - mozilla
- rust - rust
synopsis: | excerpt: |
Shortly after we shipped Glean through GeckoView in a Fenix Nightly release Shortly after we shipped Glean through GeckoView in a Fenix Nightly release
we received a crash report pointing to code that we haven't touched in a long time. we received a crash report pointing to code that we haven't touched in a long time.
And yet the change of switching from a standalone Glean library And yet the change of switching from a standalone Glean library
to shipping Glean in GeckoView uncovered a crashing bug, that quickly rose to be the top crasher for Fenix for more than a week to shipping Glean in GeckoView uncovered a crashing bug, that quickly rose to be the top crasher for Fenix for more than a week.
--- ---
(“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.) (“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.)

View file

@ -7,11 +7,11 @@ data:
route: blog route: blog
tags: tags:
- mozilla - mozilla
synopsis: | excerpt: |
A year ago I posted Glean in 2021 as a way to look into the future A year ago I posted Glean in 2021 as a way to look into the future
and set out a vision and plan for the project. and set out a vision and plan for the project.
Today I'm looking back at 2021, if we were able to follow up on my plans back then Today I'm looking back at 2021, if we were able to follow up on my plans back then
and look at all the other things we did for Glean and look at all the other things we did for Glean.
--- ---
(“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.) (“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.)

View file

@ -5,10 +5,10 @@ published_date: "2021-12-31 23:59:59 +0100"
layout: post.liquid layout: post.liquid
data: data:
route: blog route: blog
synopsis: | excerpt: |
It has become a tradition for me to look at the year that's about to end. It has become a tradition for me to look at the year that's about to end.
I did so in 2020, 2019, 2018, 2017, 2016, 2015 and 2014. I did so in 2020, 2019, 2018, 2017, 2016, 2015 and 2014.
Let's look at 2021 now Let's look at 2021 now.
--- ---
It has become a tradition for me to look at the year that's about to end. It has become a tradition for me to look at the year that's about to end.

View file

@ -25,11 +25,7 @@ data:
{%- endfor %} {%- endfor %}
{%- endif -%} {%- endif -%}
</div> </div>
{%- if post.data and post.data.synopsis %} <p>{{ post.excerpt }}</p>
<p>{{ post.data.synopsis | strip}}…</p>
{%- else %}
<p>{{ post.content | strip_html | truncatewords: 50, '…' }}</p>
{%- endif -%}
</article> </article>
<hr> <hr>