WebMay 11, 2024 · 2. Add pjax plugin and a custom script. Inside the folder /js on the theme add jquery.pjax.js and the following script my-pjax.js. jQuery(document).ready(function($) { $(document).pjax('span.a-pjax a, #recent-posts-2 a', '#pjax-container', {fragment:'#main'}) }); 3. Load jQuery, pjax and our custom script. In functions.php. Loads only on the ... WebAug 21, 2024 · Butterfly:添加全局吸底 Aplayer 播放器 - Shiro 书架. 以下步骤在 Butterfly主题上可以正常生效。. 如果你使用的是其他主题,可以根据情况自行适配。. 配置播放器 解决与 hexo-tag-aplayer 的兼容问题 如 …
hexo-butterfly-categories-card-txg - npm package Snyk
WebMy personal blog based on hexo-theme-butterfly. Contribute to ImCa0/ImCaO-blog-hexo development by creating an account on GitHub. WebNov 11, 2024 · 首先安装 hexo-tag-aplayer 插件, 官方github ;. 博客根目录安装:. npm install --save hexo-tag-aplayer. 由于需要全局都插入aplayer和meting资源,为了防止插入重复的资源,需要把 asset_inject 设为 false. 在hexo的配置文件中. aplayer: meting: true asset_inject: false. 在主题配置文件中 ... molly and drug tests
Aplayer(Metingjs)+Pjax全局音乐(现在我的博客已经不用这玩 …
WebMay 23, 2024 · 如何在Hexo博客Butterfly主题开启Aplayer和“音乐”页面. 前言:若应用后发生错误,请clone我github仓库的 这个部分 。. 这是Butterfly主题2024/3/30的版本,我 … WebJul 31, 2024 · 如果使用 Pjax,則在 class 裏需添加 no-destroy,這樣防止切換頁面時 Aplayer 被銷毀 把 aplayer代碼 插入到主題配置文件的 inject.bottom 去 1 molly and elton