Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

BUG: broken link highlight.js #236

Closed
VincentTam opened this issue Mar 8, 2021 · 2 comments
Closed

BUG: broken link highlight.js #236

VincentTam opened this issue Mar 8, 2021 · 2 comments

Comments

@VincentTam
Copy link
Collaborator

Bug Report

Describe the bug

The link to highlight.js is broken and it needs an update.

<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/highlight.min.js"></script>

{{- if .Site.Params.highlightjs -}}<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/styles/{{ .Site.Params.highlightjsTheme | default "default" }}.min.css">{{- end -}}

To Reproduce

  1. Enable highlightjs in config.toml.
  2. Generate the site.
  3. View the site in any modern web browser and open the web dev tool.
  4. See error 404 in the Network tab in the web dev tool.

Expected behavior

No 404 error shown

Screenshots

Screenshot from 2021-03-08 12-31-01

Environment

Additional context

@pacollins
Copy link
Owner

@VincentTam - Did #239 not resolve this?

@pacollins
Copy link
Owner

Just tested locally and no longer have this error. Feel free to reopen if it is still an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants