File tree 1 file changed +18
-20
lines changed
1 file changed +18
-20
lines changed Original file line number Diff line number Diff line change 1
1
const themeDir = __dirname + "/../../" ;
2
2
3
3
module . exports = {
4
- purge : {
5
- enabled : process . env . HUGO_ENVIRONMENT === "production" ,
6
- content : [
7
- themeDir + "layouts/**/*.html" ,
8
- themeDir + "content/**/*.html" ,
9
- "layouts/**/*.html" ,
10
- "config.toml" ,
11
- "content/**/*.html" ,
12
- "assets/js/search.js" ,
13
- "exampleSite/layouts/**/*.html" ,
14
- "exampleSite/config.toml" ,
15
- "exampleSite/content/**/*.html" ,
16
- ] ,
17
- } ,
4
+ content : [
5
+ themeDir + "layouts/**/*.html" ,
6
+ themeDir + "content/**/*.html" ,
7
+ "layouts/**/*.html" ,
8
+ "config.toml" ,
9
+ "hugo.toml" ,
10
+ "content/**/*.html" ,
11
+ "assets/js/search.js" ,
12
+ "exampleSite/layouts/**/*.html" ,
13
+ "exampleSite/config.toml" ,
14
+ "exampleSite/content/**/*.html" ,
15
+ ] ,
18
16
darkMode : "class" ,
19
17
theme : {
20
18
extend : {
21
19
typography : ( theme ) => ( {
22
20
DEFAULT : {
23
21
css : [
24
22
{
25
- ' code::before' : {
23
+ " code::before" : {
26
24
content : '""' ,
27
25
} ,
28
- ' code::after' : {
26
+ " code::after" : {
29
27
content : '""' ,
30
28
} ,
31
- }
32
- ]
29
+ } ,
30
+ ] ,
33
31
} ,
34
32
dark : {
35
33
css : [
@@ -78,10 +76,10 @@ module.exports = {
78
76
"a code" : {
79
77
color : theme ( "colors.white" ) ,
80
78
} ,
81
- ' code::before' : {
79
+ " code::before" : {
82
80
content : '""' ,
83
81
} ,
84
- ' code::after' : {
82
+ " code::after" : {
85
83
content : '""' ,
86
84
} ,
87
85
pre : {
You can’t perform that action at this time.
0 commit comments