hexo添加访客地图

hexo添加访客地图

 

无需修改主题源码

获取访客地图的html代码

登录ClustrMaps

点击Create Your Widget

输入自己的域名

截屏2023-09-15 14.46.04.png

随便选择一种

截屏2023-09-15 14.52.47.png

复制这一串代码

截屏2023-09-15 14.54.55.png

创建 widget.yml

blogroot/source/_data/新建 widget.yml文件

bottom:
    - class_name: user-map
      id_name: user-map
      name: 访客地图
      icon: fas fa-heartbeat
      order:
      html: #刚刚复制的html代码

运行hexo三连

截屏2023-09-15 15.00.57.png

© 版权声明
THE END
喜欢就支持一下吧
点赞2 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容