-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于加入一言 #1009
Comments
你看的什么文档,首页加入一言是在_config.fluid.yml 中搜索一以下内容进行配置,fluid的配置是很灵活的,尽量不会让你修改源码实现功能
|
是这样的,我想要在显示一言的同时能在第二行显示来源,然后翻了 这个。 由于不知道应该怎么修改 layout.ejs,我只修改了typed.ejs,加入了如下内容: fetch('https://v1.hitokoto.cn')
.then(response => response.json())
.then(data => {
typing('『' + data.hitokoto + '』'+'<h2>'+'</h2>' +'<h5>'+ '——' + '「' + data.from + '」' + '</h5>')
}) 但是在第二行出现的时候,打字机效果的光标出现在了第二行之下。请问该如何修改啊? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想要给主页加入一言。
官方文档中说:
修改layout目录下的layout.ejs,在<span class="h2" id="subtitle">和<% if(is_post()) { %>之间插入如下代码......
可是 layout.ejs中并没有以上代码,我试了几个地方,也不知道应该加在哪里。求助。
The text was updated successfully, but these errors were encountered: