Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing and data viz for CDN #430

Merged
merged 8 commits into from Nov 10, 2019
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/config/2019.json
Expand Up @@ -103,8 +103,7 @@
{
"part": "IV",
"chapter": "17",
"title": "CDN",
"todo": true
"title": "CDN"
},
{
"part": "IV",
Expand Down
1,829 changes: 1,406 additions & 423 deletions src/content/en/2019/cdn.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/content/en/2019/javascript.md
Expand Up @@ -7,7 +7,7 @@ authors: [housseindjirdeh]
reviewers: [obto, paulcalvano, mathiasbynens]
discuss: 1756
published: 2019-11-11T00:00:00.000Z
last_updated: 2019-11-11T21:46:11.000Z
last_updated: 2019-11-11T00:00:00.000Z
---

## Introduction
Expand Down
Binary file added src/static/images/2019/17_CDN/fig1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig11.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig13.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig15.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig17.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig18.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig19.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig20.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig22.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig26.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2019/17_CDN/fig27.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,677 changes: 1,677 additions & 0 deletions src/templates/en/2019/chapters/cdn.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/templates/en/2019/chapters/javascript.html
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":1,"title":"JavaScript","description":"JavaScript chapter of the 2019 Web Almanac covering how much JavaScript we use on the web, compression, libraries and frameworks, loading, and source maps.","authors":["housseindjirdeh"],"reviewers":["obto","paulcalvano","mathiasbynens"],"discuss":"1756","published":"2019-11-11T00:00:00.000Z","last_updated":"2019-11-11T21:46:11.000Z "} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac probing into the use of ' + metadata.get('description',metadata.get('title')) + ' on the web.') }}{% endblock %} {% block meta %}
{% set metadata = {"part_number":"I","chapter_number":1,"title":"JavaScript","description":"JavaScript chapter of the 2019 Web Almanac covering how much JavaScript we use on the web, compression, libraries and frameworks, loading, and source maps.","authors":["housseindjirdeh"],"reviewers":["obto","paulcalvano","mathiasbynens"],"discuss":"1756","published":"2019-11-11T00:00:00.000Z","last_updated":"2019-11-11T00:00:00.000Z"} %} {% block description %}{{ metadata.get('description',metadata.get('title') + ' chapter of the ' + year + ' Web Almanac probing into the use of ' + metadata.get('description',metadata.get('title')) + ' on the web.') }}{% endblock %} {% block meta %}
<meta name="description" content="{{ self.description() }}" />
<meta property="og:title" content="{{ self.title() }}" />
<meta property="og:url" content="https://almanac.httparchive.org{{ url_for(request.endpoint, **get_view_args(lang=language.lang_code, year=year)) }}" />
Expand Down
11 changes: 11 additions & 0 deletions src/templates/sitemap.xml
Expand Up @@ -33,6 +33,17 @@

</url>

<url>
<loc>
https://almanac.httparchive.org/en/2019/cdn
</loc>

<lastmod>
2019-11-11
</lastmod>

</url>

<url>
<loc>
https://almanac.httparchive.org/en/2019/cms
Expand Down