Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix(css): fix css code style
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Jan 29, 2020
1 parent 7f2df7a commit 1404509
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions assets/css/_page/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@
}
}

@import "../_aplayer/dark.scss";

.echarts {
width: 100%;
height: 30rem;
Expand Down
4 changes: 1 addition & 3 deletions layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,14 @@
{{ $res := resources.Get "css/lib/aplayer/APlayer.min.css" | resources.Minify }}
{{ $aplayer_css = printf "<link rel=\"stylesheet\" href=\"%s\">" $res.RelPermalink }}
{{ end }}
{{ $res := resources.Get "css/lib/aplayer/APlayer.dark.scss" | resources.ToCSS | resources.Minify }}
{{ $aplayer_dark_css := printf "<link rel=\"stylesheet\" href=\"%s\">" $res.RelPermalink }}
{{ $aplayer_js := "" }}
{{ if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.aplayer_js }}
{{ $aplayer_js = .Site.Params.cdn.aplayer_js }}
{{ else }}
{{ $res := resources.Get "js/lib/aplayer/APlayer.min.js" | resources.Minify }}
{{ $aplayer_js = printf "<script src=\"%s\"></script>" $res.RelPermalink }}
{{ end }}
{{ $aplayer := delimit (slice $aplayer_css $aplayer_dark_css $aplayer_js) "" }}
{{ $aplayer := delimit (slice $aplayer_css $aplayer_js) "" }}
<!-- MetingJS https://github.com/metowolf/MetingJS -->
{{ $meting := "" }}
{{ if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.meting_js }}
Expand Down

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

0 comments on commit 1404509

Please sign in to comment.