mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-04-19 07:28:05 +02:00
Change color theme
This commit is contained in:
parent
b8f5293094
commit
9ca07881ec
3 changed files with 8 additions and 10 deletions
5
build.js
5
build.js
|
@ -49,17 +49,16 @@ const includeReadme = ({
|
|||
const $ = cheerio.load(indexTemplate);
|
||||
$('#md').append(converter.makeHtml(markdown));
|
||||
$('a').each((i, elem) => {
|
||||
// console.log(elem);
|
||||
$(elem).attr(
|
||||
'id',
|
||||
`${camelCase(
|
||||
camelCase(
|
||||
$(elem)
|
||||
.attr('href')
|
||||
.replace(/\/|\.|:|#/g, ''),
|
||||
{
|
||||
pascalCase: true,
|
||||
},
|
||||
)}-${i}`,
|
||||
),
|
||||
);
|
||||
});
|
||||
console.log('Writing index.html');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue