Skip to content

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Jul 28, 2022
1 parent 7b7be18 commit 9dac3b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58762,7 +58762,7 @@ const parseNoteFile = async (dirName, year, file) => {
.trim();
const date = new Date(dateInput);
const title = (contents.split("\n").find((line) => line.startsWith("title: ")) || "").replace("title: ", "") ||
(contents.split("\n").find((line) => line.startsWith("# ")) || "").split("# ")[1].trim() ||
((contents.split("\n").find((line) => line.startsWith("# ")) || "").split("# ")[1] || "").trim() ||
undefined;
const excerpt = (contents.split("\n").find((line) => line.startsWith("excerpt: ")) || "").replace("excerpt: ", "") ||
(contents.split("\n").find((line) => line.startsWith("description: ")) || "").replace("description: ", "") ||
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 9dac3b1

Please sign in to comment.