From 231964080b26b3b3cab91b2c6144a784d3bef99d Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Sun, 14 Jun 2020 00:06:35 +0800 Subject: In-post APlayer now support multiple files --- layouts/partials/scripts-end.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'layouts/partials/scripts-end.html') diff --git a/layouts/partials/scripts-end.html b/layouts/partials/scripts-end.html index 862e0e2..2e1de5f 100644 --- a/layouts/partials/scripts-end.html +++ b/layouts/partials/scripts-end.html @@ -7,20 +7,25 @@ -{{ with .Params.playerURL }} +{{ with .Params.player }} - {{ with .Params.player }} -- cgit v1.2.3 From a3376d1ad133455b73ca893e222c1aec89ae6d44 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 15 Jun 2020 23:50:54 +0800 Subject: Update searching based on Fuse.js --- layouts/partials/scripts-end.html | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'layouts/partials/scripts-end.html') diff --git a/layouts/partials/scripts-end.html b/layouts/partials/scripts-end.html index e5426ad..1cd0c62 100644 --- a/layouts/partials/scripts-end.html +++ b/layouts/partials/scripts-end.html @@ -1,13 +1,34 @@ + +{{ if eq .Section "search" }} + + + + +{{ else if eq .Section "archives" }} +{{ else }} - +{{ end }} + {{ with .Params.player }} + {{ if eq .Section "search" }} - - - - + + {{ else if eq .Section "archives" }} {{ else }} @@ -37,6 +18,7 @@ - {{ if eq .Section "search" }} @@ -10,9 +9,7 @@ {{ end }} - - {{ with .Params.player }} -- cgit v1.2.3 From 1e3b01af7a026e215365c3c4625acd64a74215fe Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 18 Jun 2020 13:54:45 +0800 Subject: Update dependency --- layouts/partials/scripts-end.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'layouts/partials/scripts-end.html') diff --git a/layouts/partials/scripts-end.html b/layouts/partials/scripts-end.html index 83ce1d6..37311b7 100644 --- a/layouts/partials/scripts-end.html +++ b/layouts/partials/scripts-end.html @@ -1,8 +1,7 @@ {{ if eq .Section "search" }} - - + {{ else if eq .Section "archives" }} {{ else }} -- cgit v1.2.3