mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 10:29:21 +03:00
rename code highlighting file
This commit is contained in:
parent
c3ac7c6c14
commit
51d628d810
@ -6,7 +6,7 @@
|
||||
|
||||
if (window.theme) {
|
||||
/* the {theme} in the path will be dynamically changed */
|
||||
const PATH = `assets/css/prism-one-{theme}.min.css`;
|
||||
const PATH = `assets/css/code-highlight-{theme}.min.css`;
|
||||
const $head = document.getElementsByTagName('head')[0];
|
||||
const getPath = (theme) => PATH.replace(`{theme}`, theme);
|
||||
const createLink = (theme, media) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user