File tree Expand file tree Collapse file tree 4 files changed +32
-3
lines changed Expand file tree Collapse file tree 4 files changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ theme: jekyll-theme-chirpy
88# otherwise, the layout language will use the default value of 'en'.
99lang : ko-KR
1010
11- # Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
11+ # Change to your timezone › https://zones.arilyn.cc
1212timezone : Asia/Seoul
1313
1414# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
Original file line number Diff line number Diff line change 99{% endunless %}
1010
1111< p >
12- < audio class ="embed-audio " controls >
12+ < audio class ="embed-audio file " controls >
1313 {% assign extension = src | split: '.' | last %}
1414 {% assign types = extension | concat: types %}
1515
Original file line number Diff line number Diff line change 1+ {% assign size = 352 %}
2+ {% assign theme = '' %}
3+
4+ {% if include.compact %}
5+ {% assign size = 152 %}
6+ {% endif %}
7+
8+ {% if include.dark %}
9+ {% assign theme = '?theme=0' %}
10+ {% endif %}
11+
12+ < iframe
13+ class ="embed-audio spotify "
14+ src ="https://open.spotify.com/embed/track/{{ include.id | append: theme }} "
15+ height ="{{ size }} "
16+ frameBorder ="0 "
17+ allowfullscreen =""
18+ allowtransparency ="true "
19+ allow ="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture "
20+ loading ="lazy "
21+ >
22+ </ iframe >
Original file line number Diff line number Diff line change @@ -314,7 +314,14 @@ main {
314314
315315.embed-audio {
316316 width : 100% ;
317- display : block ;
317+
318+ & .file {
319+ display : block ;
320+ }
321+
322+ & .spotify {
323+ border-radius : 14px ;
324+ }
318325
319326 @extend %img-caption ;
320327}
You can’t perform that action at this time.
0 commit comments