diff --git a/posts/algorithms/extrema-circular-buffer.html b/posts/algorithms/extrema-circular-buffer.html new file mode 100644 index 0000000..fc7108a --- /dev/null +++ b/posts/algorithms/extrema-circular-buffer.html @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + Barrett Ruth + + +
+ +
+ barrett@ruth:~$ /algorithms + +
+
+
+
+
+
+

extrema circular buffer

+ +
+ +
+
+ + + + diff --git a/scripts/index.js b/scripts/index.js index ae96124..d4fdfe8 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -18,7 +18,11 @@ const postMapping = new Map([ ["Trading", [{ name: "InteractiveBrokers TWS" }, { name: "valuation" }]], [ "Algorithms", - [{ name: "two pointers", link: "two-pointers" }, { name: "convex hull" }], + [ + { name: "extrema circular buffer", link: "extrema-circular-buffer" }, + { name: "two pointers", link: "two-pointers" }, + { name: "convex hull" }, + ], ], ]); diff --git a/scripts/post.js b/scripts/post.js index 1c6c1c5..9f5aa75 100644 --- a/scripts/post.js +++ b/scripts/post.js @@ -39,6 +39,7 @@ document.addEventListener("DOMContentLoaded", () => { document.querySelectorAll("article h2").forEach((h2) => { const mdHeading = document.createElement("span"); mdHeading.textContent = "# "; + mdHeading.style.fontStyle = "normal"; mdHeading.style.color = getTopicColor(urlToTopic()); h2.prepend(mdHeading); });