前言

hugo主题美化-添加emoji


一、emoji表情符号素材网站(链接来源于网络资源)

https://www.lovelyemoji.com/emoji-biaoqing/

https://www.emojipedia.org/zh/

https://www.emojiall.com/zh-hans

二、使用步骤

1.在emoji素材网站复制emoji

2.在config.yml进行粘贴emoji (也可以在自己想改的相应文件进行修改)

代码如下(示例):

menu:
      main:
        - identifier: search
          name: 🔍 搜索
          url: search
          weight: 1
        - identifier: home
          name: 🏠 主页
          url: /
          weight: 2
        - identifier: posts
          name: 📚 文章
          url: posts
          weight: 3
        - identifier: tags
          name: 🧩 标签
          url: tags
          weight: 15
        - identifier: archives
          name: ⏱️ 时间轴
          url: archives/
          weight: 20
        - identifier: about
          name: 🙋🏻‍♂️ 关于
          url: about
          weight: 50

3.效果图

1.png


总结

本文仅仅简单介绍了hugo主题美化-添加emoji。