Browse Source

fix small bugs and typos

main
James Fenn 1 month ago
parent
commit
41efe1daba
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      _data/git.js
  2. +1
    -1
      pages/community.md

+ 3
- 2
_data/git.js View File

@@ -58,9 +58,10 @@ async function getRepoProject(repo) {
}

// clean up readme text & fix relative URLs
readme = readme.split("=====").pop();
readme = readme.split(/={5,}/g).pop();
readme = readme.split("</p>").pop();
readme = readme.replace(/\[([A-Za-z0-9.`'" ]*)\]\((\.[A-Za-z0-9\/\-\.\?\=]*)\)/g, "[$1](" + rawUrl + "/$2)");
readme = readme.replace(/\!\[([A-Za-z0-9.`'"\/ ]*)\]\((\.[A-Za-z0-9\/\-\.\?\=]*)\)/g, "![$1](" + rawUrl + "/$2)");
readme = readme.replace(/\[([A-Za-z0-9.`'"\/ ]*)\]\((\.[A-Za-z0-9\/\-\.\?\=]*)\)/g, "[$1](" + fileUrl + "/$2)");

// read metadata
let meta = {};


+ 1
- 1
pages/community.md View File

@@ -25,7 +25,7 @@ I also manage a Discord server where participants can ask questions and discuss

### Code of Conduct

Unless otherwise stated, all of my projects and spaces for discussion are subject to the guidelines of the [Contributor Covenant](https://www.contributor-covenant.org/). I believe that setting these expectations is necessary to create a safe and inclusive community.
Unless stated otherwise, all of my projects and spaces for discussion are subject to the guidelines of the [Contributor Covenant](https://www.contributor-covenant.org/). I believe that setting these expectations is necessary to create a safe and inclusive community.

Instances of behavior that violates this conduct may be reported to [conduct@jfenn.me](mailto:conduct@jfenn.me).



Loading…
Cancel
Save