Skip to content

Commit

Permalink
Merge pull request #1 from rohandebsarkar/pr/veedata/509
Browse files Browse the repository at this point in the history
Chnaged `code syntax highlighting` themes to use jsdelivr CDN
  • Loading branch information
veedata authored Jan 8, 2022
2 parents 8dae833 + 9c85d2e commit 3649c1c
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 1,257 deletions.
4 changes: 2 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:100,300,400,500,700|Material+Icons">

<!-- Code Syntax Highlighting -->
<link rel="stylesheet" href="{{ site.highlight_theme_light | prepend: '/assets/css/jekyll-pygments-themes/' | append: '.css' | relative_url }}" media="none" id="highlight_theme_light" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_light | append: '.css' }}" media="none" id="highlight_theme_light" />

<!-- Styles -->
{% if site.icon != empty -%}
Expand All @@ -23,7 +23,7 @@

<!-- Dark Mode -->
{% if site.enable_darkmode %}
<link rel="stylesheet" href="{{ site.highlight_theme_dark | prepend: '/assets/css/jekyll-pygments-themes/' | append: '.css' | relative_url }}" media="none" id="highlight_theme_dark" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jwarby/jekyll-pygments-themes@master/{{ site.highlight_theme_dark | append: '.css' }}" media="none" id="highlight_theme_dark" />

<script src="{{ '/assets/js/theme.js' | relative_url }}"></script>
<script src="{{ '/assets/js/dark_mode.js' | relative_url }}"></script>
Expand Down
58 changes: 0 additions & 58 deletions assets/css/jekyll-pygments-themes/autumn.css

This file was deleted.

46 changes: 0 additions & 46 deletions assets/css/jekyll-pygments-themes/borland.css

This file was deleted.

34 changes: 0 additions & 34 deletions assets/css/jekyll-pygments-themes/bw.css

This file was deleted.

61 changes: 0 additions & 61 deletions assets/css/jekyll-pygments-themes/colorful.css

This file was deleted.

61 changes: 0 additions & 61 deletions assets/css/jekyll-pygments-themes/default.css

This file was deleted.

Loading

0 comments on commit 3649c1c

Please sign in to comment.