Include patch description in data

Mon Mar 10 2025

tucker.mcknight@gmail.com


    

f6b6e1deaa059f6c0651d62d4d839f52a0876912

darcs pull https://repos.tuckerm.us/repos/eleventy-darcs/branches/main -h f6b6e1deaa059f6c0651d62d4d839f52a0876912
_data/repos.js:33
Before
          const hash = currentPatch[0].replace("patch ", "")const author = currentPatch[1].replace("Author: ", "")
After
          const hash = currentPatch[0].replace("patch ", "").trim()
          const author = currentPatch[1].replace("Author: ", "").trim()
_data/repos.js:36
Before
          const name = currentPatch[3]
After
          const name = currentPatch[3].replace("  * ", "").trim()
_data/repos.js:40
Before
After
          const description = currentPatch.slice(5, diffStart).map(str => str.replace("  ", "")).join("\n").trim()
_data/repos.js:45
Before
After
            description,
patch.njk:10
Before
After
<pre>{{patchInfo.patch.description}}</pre>