Skip to content

Commit 570428a

Browse files
authored
Merge pull request #371 from cmu-delphi/sgratzl/imagewebp
fix: improve webp conversion
2 parents fa5c215 + beb2a15 commit 570428a

27 files changed

+37
-25
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"editor.formatOnSave": true,
33
"editor.formatOnPaste": true,
44
"editor.formatOnSaveMode": "modifications",
5+
"prettier.prettierPath": "./node_modules/prettier",
56
"[scss]": {
67
"files.trimTrailingWhitespace": true,
78
"editor.formatOnSave": true,
@@ -16,5 +17,6 @@
1617
"files.trimTrailingWhitespace": true,
1718
"editor.formatOnSave": true,
1819
"editor.defaultFormatter": "esbenp.prettier-vscode"
19-
}
20+
},
21+
"prettier.enableDebugLogs": true
2022
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ This simplifies the deployment and ensures that we have a blog post even when th
112112

113113
The header of a blog file contains numerous attributes to be defined, including: name, publication date (`date`), tags, a short summary (at most 150 characters), and a list of authors. The author list `authors` is a list of people keys, see below for how to add people.
114114

115-
The `heroImage` is an optional hero image banner. The image is optional but its thumbnail version is not. However, the template post has good default value for this one. The hero image should be a JPG file with 1120x440 pixels. The thumbnail hero image should be a JPG file with 300x200 pixels. The files should be stored in `/content/blog/images`.
115+
The `heroImage` is an optional hero image banner. The image is optional but its thumbnail version is not. However, the template post has good default value for this one. The hero image should be a JPG file with 1120x440 pixels. The thumbnail hero image should be a JPG file with 300x300 pixels. The files should be stored in `/content/blog/images`.
116116

117117
The `related` list is a list of related blog links identified by their file name without the Rmd suffix.
118118

content/blog/2015-07-23-template-post.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ authors: # list of team member keys, see /content/about/team/index.md -> team
1111
- frida
1212
# uncomment to enable a big hero image
1313
# heroImage: blog-lg-img_hello-world.jpg # size: 1120x440 jpg format
14-
heroImageThumb: blog-thumb.jpg # size: 300x200 jpg format
14+
heroImageThumb: blog-thumb.jpg # size: 300x300 jpg format
1515
summary: |
1616
Blog summary, the first 150 characters are used for the blog list
1717
acknowledgements: |

content/blog/2015-07-23-template-post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- frida
1212
# uncomment to enable a big hero image
1313
# heroImage: blog-lg-img_hello-world.jpg # size: 1120x440 jpg format
14-
heroImageThumb: blog-thumb.jpg # size: 300x200 jpg format
14+
heroImageThumb: blog-thumb.jpg # size: 300x300 jpg format
1515
summary: |
1616
Blog summary, the first 150 characters are used for the blog list
1717
acknowledgements: |

content/blog/2021-03-10_c2b.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ authors:
1212
- roni
1313
- cscott
1414
heroImage: blog-lg-c2b.jpg # size: 1120x440 jpg format
15-
heroImageThumb: blog-thumb-c2b-1.jpg # size: 300x200 jpg format
15+
heroImageThumb: blog-thumb-c2b-1.jpg # size: 300x300 jpg format
1616
# related:
1717
summary: |
1818
In partnership with the Allegheny County Health Department,
1919
we explored solutions to pressing challenges
20-
during the pandemic.
21-
20+
during the pandemic.
21+
2222
acknowledgements: |
2323
Thank you to the Allegheny County Health Department (especially Antony Gnalian,
2424
Dr. LuAnn Brink, and Dr. Debra Bogen) for their invaluable feedback, efforts, and

content/blog/2021-03-10_c2b.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
- roni
1313
- cscott
1414
heroImage: blog-lg-c2b.jpg # size: 1120x440 jpg format
15-
heroImageThumb: blog-thumb-c2b-1.jpg # size: 300x200 jpg format
15+
heroImageThumb: blog-thumb-c2b-1.jpg # size: 300x300 jpg format
1616
# related:
1717
summary: |
1818
In partnership with the Allegheny County Health Department,
1919
we explored solutions to pressing challenges
20-
during the pandemic.
21-
20+
during the pandemic.
21+
2222
acknowledgements: |
2323
Thank you to the Allegheny County Health Department (especially Antony Gnalian,
2424
Dr. LuAnn Brink, and Dr. Debra Bogen) for their invaluable feedback, efforts, and
3.67 KB
Loading
5.92 KB
Loading
4.62 KB
Loading
7.22 KB
Loading

0 commit comments

Comments
 (0)