diff --git a/README.md b/README.md
index 1e99c2e5..f2abefde 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ Getting linting errors in CI?
[Install Prettier](https://prettier.io/docs/en/install.html) locally and run:
```
-prettier -w .
+npm run prettier
```
### Markdown references
diff --git a/_data/blogposts.js b/_data/blogposts.js
index a57407ef..acdf1d48 100644
--- a/_data/blogposts.js
+++ b/_data/blogposts.js
@@ -113,7 +113,12 @@ async function downloadIfNotFound(url, destination) {
);
const response = await fetch(url);
- const content = await response.text();
+ let content;
+ if (response.headers.get("Content-Type").startsWith("text")) {
+ content = await response.text();
+ } else {
+ content = await response.bytes();
+ }
fs.writeFileSync(destination, content);
} else {
diff --git a/_data/publications.js b/_data/publications.js
index d67d5eff..73685405 100644
--- a/_data/publications.js
+++ b/_data/publications.js
@@ -53,6 +53,7 @@ async function main() {
// parse the front matter and add to 'profiles'
let publications = generatePublications();
//console.log( publications );
+ //process.exit()
// sort without year first and then newest to oldest years
let ordered = publications.sort((a, b) => {
@@ -62,6 +63,8 @@ async function main() {
else if (a.year == "pending") return -1;
else if (b.year == "pending") return 1;
});
+ //console.log( ordered );
+ //process.exit()
let author_publications = {};
for (const publication of ordered) {
@@ -82,7 +85,7 @@ async function main() {
fs.readFileSync("_build/publications_cached.json")
);
- result[ordered] = ordered;
+ result["ordered"] = ordered;
let publication_years = [];
let publication_interests = [];
diff --git a/about/people/alumni/index.njk b/about/people/alumni/index.njk
index b8b0e8b7..b3463bf1 100644
--- a/about/people/alumni/index.njk
+++ b/about/people/alumni/index.njk
@@ -11,7 +11,7 @@ title: Alumni
Our alumni
We are fortunate to build on the efforts of those who came before us. The list below is
-imcomplete - we appreciate all those colleagues, mentors and co-conspirators who have
+incomplete - we appreciate all those colleagues, mentors and co-conspirators who have
helped us help build a better Internet.