| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> | 2 <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> |
| 3 <Default Extension="json" ContentType="application/json"/> | 3 {% for extension, content_type in defaults.items() -%} |
|
Sebastian Noack
2016/07/01 15:56:04
I wonder whether we should auto-generate the defau
Vasily Kuznetsov
2016/07/01 19:51:28
We could, but I thought it would be more work than
Sebastian Noack
2016/07/05 14:30:37
I don't have a strong opinion, but in the sense of
Vasily Kuznetsov
2016/07/07 16:23:48
I implemented your suggestion and now the content
| |
| 4 <Default Extension="html" ContentType="text/html"/> | 4 <Default Extension="{{ extension }}" ContentType="{{ content_type }}"/> |
| 5 <Default Extension="js" ContentType="application/x-javascript"/> | 5 {% endfor -%} |
| 6 <Default Extension="png" ContentType="image/png"/> | 6 {% for part_name, content_type in overrides.items() -%} |
| 7 <Default Extension="css" ContentType="text/css"/> | 7 <Override PartName="{{ part_name }}" ContentType="{{ content_type }}"/> |
| 8 <Default Extension="gif" ContentType="image/gif"/> | 8 {% endfor -%} |
| 9 <Default Extension="otf" ContentType="application/octet-stream"/> | |
| 10 <Default Extension="xml" ContentType="text/xml"/> | |
| 11 <Override PartName="/AppxManifest.xml" ContentType="application/vnd.ms-appx.ma nifest+xml"/> | |
| 12 <Override PartName="/AppxBlockMap.xml" ContentType="application/vnd.ms-appx.bl ockmap+xml"/> | |
| 13 </Types> | 9 </Types> |
| LEFT | RIGHT |