Lowercase titles while rendering
CSS lowercasing doesn't work in ereaders, so we have to do it manually
This commit is contained in:
parent
1ddc5f4e7c
commit
98ac5a8884
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ class Seance {
|
||||||
pics.push(`${picFolder}/${postSlug}.${ext}`)
|
pics.push(`${picFolder}/${postSlug}.${ext}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
let c = cheerio.load(`${featurePicTag}<h1>${post.title}</h1>${post.html}`)
|
let c = cheerio.load(`${featurePicTag}<h1>${post.title.toLowerCase()}</h1>${post.html}`)
|
||||||
|
|
||||||
// hunt for other pics
|
// hunt for other pics
|
||||||
// TODO: make asynchronous
|
// TODO: make asynchronous
|
||||||
|
|
Loading…
Reference in a new issue