Skip to content

Commit f377a9d

Browse files
committed
refactor syntax highlight
1 parent 48836a6 commit f377a9d

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

_includes/head.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
{% endif %}
2424

2525
{% if page.layout == "post" %}
26-
{% include syntax-highlight.html %}
26+
{% if site.syntax-highlight %}
27+
<link rel="stylesheet" type="text/css" href=" {{site.url}}/css/everforest.css" />
28+
{% endif %}
2729
<link rel="stylesheet" href="{{site.url}}/css/rrssb.css" />
2830
{% endif %}
2931

_includes/syntax-highlight.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)