gitalk: enable: true github_id: # GitHub repo owner repo: # Repository name to store issues client_id: # GitHub Application Client ID client_secret: # GitHub Application Client Secret admin_user: # GitHub repo owner and collaborators, only these guys can initialize gitHub issues distraction_free_mode: true # Facebook-like distraction free mode # Gitalk's display language depends on user's browser or system environment # If you want everyone visiting your site to see a uniform language, you can set a force language value # Available values: en | es-ES | fr | ru | zh-CN | zh-TW language: zh-CN
#添加豆瓣电影 douban: user: mythsman builtin: false #book: #title: 'This is my book title' #quote: 'This is my book quote' movie: title: 'This is my movie title' quote: 'This is my movie quote' #game: #title: 'This is my game title' #quote: 'This is my game quote' timeout: 10000
如果只想生成某一个页面(比如只生成电影页面),把其他的配置项注释掉即可。
user: 填写豆瓣 ID。登陆豆瓣后点击个人主页,此时 url 中最后一段即是用户 ID,一般情况下会是一段数字,如果设置了个人域名的话,则个人域名即为 ID。 builtin: 是否将生成页面的功能嵌入 hexo s 和 hexo g 中。 timeout: 爬取数据的超时时间。
cd themes/next git clone https://github.com/theme-next/theme-next-fancybox3 source/lib/fancybox
主题配置文件修改:
1 2 3
# FancyBox is a tool that offers a nice and elegant way to add zooming functionality for images. # For more information: https://fancyapps.com/fancybox fancybox: true