Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

fix: correct updated schema in URL #55

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layouts/partials/style.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

{{/* Assume that ubuntu and retro do not exist in gogh. */}}
{{ $themeData := getJSON "https://raw.githubusercontent.com/Gogh-Co/Gogh/master/data/themes.json" }}
{{ range $t := $themeData.themes }}
{{ range $t := $themeData }}
{{if eq $t.name $.Site.Params.Terminal.scheme }}
{{ $terminal_style = printf "body{background:%s}body #terminal{color:%s}body #user{color:%s}body #dir{color:%s}body .Typewriter__cursor{color:%s}a{color:%s}" $t.background $t.cursor $t.color_03 $t.color_05 $t.cursor $t.cursor | safeCSS }}
{{ end }}
Expand Down
Loading