Skip to content

Commit

Permalink
Added a generate script for the last_updated timestamp. (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegeyser authored and rviscomi committed Nov 7, 2019
1 parent f48f1eb commit 8f43861
Show file tree
Hide file tree
Showing 36 changed files with 165 additions and 116 deletions.
2 changes: 1 addition & 1 deletion src/content/en/2019/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Accessibility chapter of the 2019 Web Almanac covering ease of read
authors: [nektarios-paisios, obto, kleinab]
reviewers: [ljme]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T18:46:53.000Z
---

# Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Caching chapter of the 2019 Web Almanac covering cache-control, exp
authors: [paulcalvano]
reviewers: [obto, bkardell]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T22:37:21.000Z
---

# Intro
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Compression chapter of the 2019 Web Almanac covering HTTP compressi
authors: [paulcalvano]
reviewers: [obto, yoavweiss]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T22:37:21.000Z
---

# Intro
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/ecommerce.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Ecommerce chapter of the 2019 Web Almanac covering ecommerce platfo
authors: [samdutton, alankent]
reviewers: [voltek62]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-05T01:25:08.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Fonts chapter of the 2019 Web Almanac covering ecommerce platforms,
authors: [zachleat]
reviewers: [hyperpress, AymenLoukil]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T22:37:21.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: HTTP/2 chapter of the 2019 Web Almanac covering adoption and impact
authors: [bazzadp]
reviewers: [bagder, rmarx, dotjs]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T18:46:53.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/markup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Markup chapter of the 2019 Web Almanac covering elements used, cust
authors: [bkardell]
reviewers: [zcorpan, tomhodgins, matthewp]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-06T20:17:09.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Media chapter of the 2019 Web Almanac covering images, animations,
authors: [colinbendell, dougsillars]
reviewers: [ahmadawais, kornelski, eeeps]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-06T20:26:01.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/mobile-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Mobile Web chapter of the 2019 Web Almanac covering page loading, t
authors: [obto]
reviewers: [AymenLoukil, hyperpress]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-05T18:43:57.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/page-weight.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Page Weight chapter of the 2019 Web Almanac covering why page weigh
authors: [tammyeverts, khempenius]
reviewers: [paulcalvano]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-06T18:14:24.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Performance chapter of the 2019 Web Almanac covering First Contentf
authors: [rviscomi]
reviewers: [JMPerez,obto,sergeychernyshev,zeman]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-06T06:33:38.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/pwa.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: PWA chapter of the 2019 Web Almanac covering Service Workers, Web A
authors: [tomayac, jeffposnick]
reviewers: [hyperpress, ahmadawais]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-05T01:25:08.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/resource-hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Resource Hints chapter of the 2019 Web Almanac covering usage of dn
authors: [khempenius]
reviewers: [andydavies, bazzadp, yoavweiss]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T18:45:53.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: SEO chapter of the 2019 Web Almanac covering content, meta tags, in
authors: [ymschaap, rachellcostello, AVGP]
reviewers: [clarkeclark, andylimn, AymenLoukil, catalinred, mattludwig]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T18:46:53.000Z
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion src/content/en/2019/third-parties.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Third Parties chapter of the 2019 Web Almanac covering data of what
authors: [patrickhulce]
reviewers: [zcorpan, obto, jasti]
published: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-04T12:00:00+00:00:00
last_updated: 2019-11-05T15:45:32.000Z
---

## Introduction
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/accessibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"II","chapter_number":9,"title":"Accessibility","description":"Accessibility chapter of the 2019 Web Almanac covering ease of reading, media, ease of navigation, and compatibility with assistive technologies","authors":["nektarios-paisios","obto","kleinab"],"reviewers":["ljme"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"II","chapter_number":9,"title":"Accessibility","description":"Accessibility chapter of the 2019 Web Almanac covering ease of reading, media, ease of navigation, and compatibility with assistive technologies","authors":["nektarios-paisios","obto","kleinab"],"reviewers":["ljme"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T18:46:53.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/caching.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"IV","chapter_number":16,"title":"Caching","description":"Caching chapter of the 2019 Web Almanac covering cache-control, expires, TTLs, validitaty, vary, set-cookies, AppCache, Service Workers and opportunities","authors":["paulcalvano"],"reviewers":["obto","bkardell"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"IV","chapter_number":16,"title":"Caching","description":"Caching chapter of the 2019 Web Almanac covering cache-control, expires, TTLs, validitaty, vary, set-cookies, AppCache, Service Workers and opportunities","authors":["paulcalvano"],"reviewers":["obto","bkardell"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T22:37:21.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/compression.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"IV","chapter_number":15,"title":"Compression","description":"Compression chapter of the 2019 Web Almanac covering HTTP compression, algorithms, content types, 1st party and 3rd party compression and opportunities","authors":["paulcalvano"],"reviewers":["obto","yoavweiss"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"IV","chapter_number":15,"title":"Compression","description":"Compression chapter of the 2019 Web Almanac covering HTTP compression, algorithms, content types, 1st party and 3rd party compression and opportunities","authors":["paulcalvano"],"reviewers":["obto","yoavweiss"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T22:37:21.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
6 changes: 3 additions & 3 deletions src/templates/en/2019/chapters/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/ecommerce.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"III","chapter_number":13,"title":"Ecommerce","description":"Ecommerce chapter of the 2019 Web Almanac covering ecommerce platforms, payloads, images, third parties, performance, seo, and PWAs","authors":["samdutton","alankent"],"reviewers":["voltek62"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"III","chapter_number":13,"title":"Ecommerce","description":"Ecommerce chapter of the 2019 Web Almanac covering ecommerce platforms, payloads, images, third parties, performance, seo, and PWAs","authors":["samdutton","alankent"],"reviewers":["voltek62"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-05T01:25:08.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/fonts.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"I","chapter_number":6,"title":"Fonts","description":"Fonts chapter of the 2019 Web Almanac covering ecommerce platforms, payloads, images, third parties, performance, seo, and PWAs","authors":["zachleat"],"reviewers":["hyperpress","AymenLoukil"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"I","chapter_number":6,"title":"Fonts","description":"Fonts chapter of the 2019 Web Almanac covering ecommerce platforms, payloads, images, third parties, performance, seo, and PWAs","authors":["zachleat"],"reviewers":["hyperpress","AymenLoukil"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T22:37:21.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/http2.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"IV","chapter_number":20,"title":"HTTP/2","description":"HTTP/2 chapter of the 2019 Web Almanac covering adoption and impact of HTTP/2, HTTP/2 Push, HTTP/2 Issues, and HTTP/3","authors":["bazzadp"],"reviewers":["bagder","rmarx","dotjs"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"IV","chapter_number":20,"title":"HTTP/2","description":"HTTP/2 chapter of the 2019 Web Almanac covering adoption and impact of HTTP/2, HTTP/2 Push, HTTP/2 Issues, and HTTP/3","authors":["bazzadp"],"reviewers":["bagder","rmarx","dotjs"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T18:46:53.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
6 changes: 3 additions & 3 deletions src/templates/en/2019/chapters/javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
8 changes: 4 additions & 4 deletions src/templates/en/2019/chapters/markup.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- make changes to the markdown content directly (`src/content/<lang>/<year>/<chapter>.md`) because any changes to the chapter templates will be overwritten by the generation script
#}-->

{% set metadata = {"part_number":"I","chapter_number":3,"title":"Markup","description":"Markup chapter of the 2019 Web Almanac covering elements used, custom elements, value, products, and common use cases","authors":["bkardell"],"reviewers":["zcorpan","tomhodgins","matthewp"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-04T12:00:00+00:00:00 "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"I","chapter_number":3,"title":"Markup","description":"Markup chapter of the 2019 Web Almanac covering elements used, custom elements, value, products, and common use cases","authors":["bkardell"],"reviewers":["zcorpan","tomhodgins","matthewp"],"published":"2019-11-04T12:00:00+00:00:00","last_updated":"2019-11-06T20:17:09.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />

<meta property="og:title" content="{{ self.title() }}" />
Expand Down Expand Up @@ -39,9 +39,9 @@
"headline": "{{ metadata.get('title') }}",
"image": {
"@type": "ImageObject",
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_sm.jpg",
"height": 163,
"width": 326
"url": "https://almanac.httparchive.org/static/images/{{ year }}/{{ get_chapter_image_dir(metadata) }}/hero_lg.jpg",
"height": 433,
"width": 866
},
"publisher": {
"@type": "Organization",
Expand Down
Loading

0 comments on commit 8f43861

Please sign in to comment.