summaryrefslogtreecommitdiffstats
path: root/exampleSite/content/post/aplayer-test.md
diff options
context:
space:
mode:
authordsrkafuu2022-02-25 00:14:55 +0800
committerdsrkafuu2022-02-25 00:14:55 +0800
commit4af9fdd9415a8842f210f1089ffadabb1945ca3c (patch)
tree1658e9c7595574af65193a381f2f95d7137a3a51 /exampleSite/content/post/aplayer-test.md
parent253850bb1f3b0faae8472f31a28725fec8684ffa (diff)
downloadhugo-theme-fuji-4af9fdd9415a8842f210f1089ffadabb1945ca3c.tar.gz
hugo-theme-fuji-4af9fdd9415a8842f210f1089ffadabb1945ca3c.tar.bz2
hugo-theme-fuji-4af9fdd9415a8842f210f1089ffadabb1945ca3c.zip
fix: aplayer base url
Diffstat (limited to 'exampleSite/content/post/aplayer-test.md')
-rw-r--r--exampleSite/content/post/aplayer-test.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/exampleSite/content/post/aplayer-test.md b/exampleSite/content/post/aplayer-test.md
index c4dfd1c..a50409c 100644
--- a/exampleSite/content/post/aplayer-test.md
+++ b/exampleSite/content/post/aplayer-test.md
@@ -7,7 +7,7 @@ aplayer = true
showLicense = false
+++
-{{< aplayer urls="/theme/hugo-theme-fuji/aplayer/berlin.mp3" names="Berlin" artists="Crowander" covers="/theme/hugo-theme-fuji/aplayer/crowander.jpg" >}}
+{{< aplayer urls="/aplayer/berlin.mp3" names="Berlin" artists="Crowander" covers="/aplayer/crowander.jpg" >}}
This post is for in-post APlayer test, above is previous post-player.
@@ -17,17 +17,18 @@ Music files are all downloaded from [Free Music Archive](https://freemusicarchiv
## Single file
-{{< aplayer urls="/theme/hugo-theme-fuji/aplayer/fluid.mp3" names="Fluid" artists="Crowander" covers="/theme/hugo-theme-fuji/aplayer/crowander.jpg" >}}
+{{< aplayer urls="/aplayer/fluid.mp3" names="Fluid" artists="Crowander" covers="/aplayer/crowander.jpg" >}}
## Multiple files
You can open the playlist to check other musics.
-{{< aplayer
- urls="/theme/hugo-theme-fuji/aplayer/berlin.mp3, /theme/hugo-theme-fuji/aplayer/fluid.mp3, /theme/hugo-theme-fuji/aplayer/morning.mp3"
- names="Berlin, Fluid, Morning"
- artists="Crowander, Crowander, Crowander"
- covers="/theme/hugo-theme-fuji/aplayer/crowander.jpg, /theme/hugo-theme-fuji/aplayer/crowander.jpg, /theme/hugo-theme-fuji/aplayer/crowander.jpg"
+{{<
+ aplayer
+ urls="/aplayer/berlin.mp3, /aplayer/fluid.mp3, /aplayer/morning.mp3"
+ names="Berlin, Fluid, Morning"
+ artists="Crowander, Crowander, Crowander"
+ covers="/aplayer/crowander.jpg, /aplayer/crowander.jpg, /aplayer/crowander.jpg"
>}}
Spaces between multiple items can be omited.