-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.json
1 lines (1 loc) · 30.9 KB
/
content.json
1
{"meta":{"title":"NV's Life","subtitle":"I am grateful for everything","description":"Kpop, Travelling, Reading and Enjoying!","author":"Nhung Vu","url":"http://yoursite-url","root":"/"},"pages":[{"title":"","date":"2021-08-04T12:00:59.877Z","updated":"2021-08-04T12:00:59.877Z","comments":true,"path":"404.html","permalink":"http://yoursite-url/404.html","excerpt":"","text":""},{"title":"About","date":"2016-04-20T19:48:33.000Z","updated":"2016-04-20T19:48:33.000Z","comments":true,"path":"about/index.html","permalink":"http://yoursite-url/about/index.html","excerpt":"","text":"Talk To Me I always say to myself : if my life is peaceful and plain sailing all the time , it means to die in the electrocardiogram … Just Me 有一种状态 叫一个人 它总是挑战语言的贫乏 只能在某首歌中找寻灵感; 有一种氨基酸 叫多巴胺 你不知道它何时会在你体内产生; 有一种上瘾 叫抽烟 其实你抽的只是心情 又或是寂寞; 有一种态度 叫纹身 其实我们只是想与众不同; 有一种经历 叫旅行 年轻只有一次 不出去走走 或许以为眼前的就是世界; 有一种人生 叫心电图 如果你总是一帆风顺 那么你就挂了; 有一种悠闲 叫 " 老板给我杯Cappuccino " 香香甜甜 浓郁中带着苦涩 醇和而隽永 … The Longest Way … 活在当下 然后忘记 继续往前走 … 即便是一个人 … On the way to meet myself … Follow With Interest Blogs Neo Peng:https://zhile.io 李卫民:https://www.funtl.com/zh/guide duanxz:https://www.cnblogs.com/duanxz/tag Java1234_小锋:http://blog.java1234.com/index.html Deserts:https://deserts.io Super Snail:https://www.dusign.net KIERAN’S BLOG:https://go.kieran.top Mr.Seven:https://itimetraveler.github.io Contact me Email:[email protected] Treat me to coffee If you feel that what I have written is of some value to you, I am glad that you are willing to invite me to drink coffee…"},{"title":"Archives","date":"2017-03-20T11:49:56.000Z","updated":"2017-03-20T11:49:56.000Z","comments":true,"path":"archive/index.html","permalink":"http://yoursite-url/archive/index.html","excerpt":"","text":""},{"title":"Categories","date":"2021-08-04T12:01:00.023Z","updated":"2021-08-04T12:01:00.023Z","comments":true,"path":"categories/index.html","permalink":"http://yoursite-url/categories/index.html","excerpt":"","text":""},{"title":"Tags","date":"2021-08-04T12:01:00.576Z","updated":"2021-08-04T12:01:00.576Z","comments":true,"path":"tags/index.html","permalink":"http://yoursite-url/tags/index.html","excerpt":"","text":""}],"posts":[{"title":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","date":"2020-04-16T17:34:17.000Z","updated":"2020-04-16T17:34:17.000Z","comments":true,"path":"cn/Hexo-Theme-LiveMyLife/","link":"","permalink":"http://yoursite-url/cn/Hexo-Theme-LiveMyLife/","excerpt":"","text":"移植 Hux Blog 的主题,感谢 Huxpro 设计了如此完美的主题。 由 Vincent 创建的 LiveMyLife 的主题修改来源 YenYuHsuan,参考主题 dusign、Utone,感谢 dusign、Utone。 仓库 Github 仓库地址:https://github.com/V-Vincen/hexo-theme-livemylife Gitee 仓库地址:https://gitee.com/V_Vincen/hexo-theme-livemylife 预览 LiveMyLife 博客 ➾ 快速开始 为了方便起见,我发布了整个项目,因此您可以按照下面的说明进行操作,然后就可以轻松自定义您自己的博客! 让我们开始!!! 安装 Node.js 和 Git 123#For Macbrew install nodebrew install git Windows:下载 & 安装 Node.js。-> Node.js Windows:下载 & 安装 Git。-> Git 安装 Hexo 1$ npm install -g hexo-cli 什么是 Hexo? Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用 Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。 设置你的博客 1$ hexo init blog 更多的命令 -> Hexo Commands 主题使用 初始化 123456cd blogrm -rf scaffolds source themes _config.landscape.yml _config.yml package.json yarn.lock #just keep node_modulesgit clone https://github.com/V-Vincen/hexo-theme-livemylife.gitmv hexo-theme-livemylife/* ./rm -rf hexo-theme-livemylifenpm install 设置主题 修改 theme 属性值,在 _config.yml 配置文件中。 1234# Extensions## Themes: https://hexo.io/themes/## Plugins: https://hexo.io/plugins/theme: livemylife 启动服务 12hexo generate # or hexo ghexo server # or hexo s 启动本地服务器。 默认访问地址 http://localhost:4000/。 更多命令 -> Hexo Commands 配置 使用您自己的信息修改 _config.yml 配置文件,尤其是以下部分: 网址信息配置 将以下信息替换为您自己的信息。 12345# Sitetitle: Live My Lifesubtitle: 淡而无味也是一种味道author: Mr.Vincenttimezone: 语言国际化 (i18n) 若要让您的网站以不同语言呈现,您可使用国际化(internationalization)功能。-> 文档:How to Use Internationalization(i18n) 12345678910111213141516171819202122232425262728293031# Internationalization (i18n) Settinglanguage: # At present, only en、cn and tw are supported. You can customize the language,refer to `languages/en.yml`. - en - cnlangselect: enable: true # If open, it will automatically generation lang-select button.This button can jump in articles in different languages, but the articles must have the same name. options: # langselect button display options en: English cn: 简体中文 # tw: 正體中文i18n_dir: :lang permalink: :lang/:title/ new_post_name: :lang/:title.md# hexo-generator-i18n config## Docs: https://github.com/xcatliu/hexo-generator-index-i18nindex_generator: per_page: 10 pagination_dir: page path: '' order_by: -datearchive_generator: enabled: false per_page: 10 yearly: true monthly: true daily: false order_by: -date English 预览: Chinese 预览: CDN 配置 JsDelivr JsDelivr是一种免费,快速,可靠和自动化的CDN,可用于开源。如何使用 Jsdelivr?-> 文档:免费 CDN 提速 Github 静态资源访问 1234567# CDN Setting# Docs: https://www.jsdelivr.com/?docs=gh# If Github Pages deploy,you can ues jsdelivr settings#jsdelivr: jsdelivr_url: https://cdn.jsdelivr.net/gh/ github_username: V-Vincen 注意: Hexo-theme-livemylife 主题中有大量的 css、js 和 images,为了提高访问速度,主题中所有资源文件都使用了 JsDelivr CDN(内容分发)。但仅适用于 Github Pages 部署方式。-> 文档:How to apply JsDelivr CDN in Hexo-theme-livemylife Theme 站点设置 将自定义图片放在 img 目录中。 1234567# Site settingsSEOTitle: JavaDev | 一如Java深似海email: [email protected]: "It's an IT blog..."keyword: "Java,v-vincen,v-vincen,livemylife,IT blog,Blog"header-img: img/header_img/newhome_bg.jpgarchives-img: img/header_img/archive_bg2.jpg 网站图标设置 1favicon: img/avatar/favicon.jpg 签名设置 将您的签名图片复制到 <root>/img/signature 并修改配置文件 _config.yml。 12signature: true # show signaturesignature-img: img/signature/<your-signature> 如何制作签名 -> Free Online Signature 波浪设置 12# Wave settingswave: true 案例: 社交网络服务设置 如果您不想显示它,则可以直接将其删除。 123456789# SNS settings# RSS: truegithub_username: V-Vincentwitter_username: V_Vincen_instagram_username: V_Vincen_# facebook_username: yourAccount# linkedin_username: yourAccount# zhihu_username: yourAccountweibo_username: WVincen 侧边栏设置 将您的头像复制到 <root>/img/avatar 并修改配置文件 _config.yml。 12345678910111213141516171819202122232425262728293031sidebar: true # whether or not using Sidebar.sidebar-about-description: "I don't know where I am going ,but I am on my way..."sidebar-avatar: img/avatar/vincnet.jpg # use absolute URL, seeing it's used in both `/` and `/about/`widgets:- visitor # busuanzi: https://busuanzi.ibruce.info/- featured-tags- short-about- recent-posts- friends-blog- archive- category# widget behavior## Archivearchive_type: 'monthly'show_count: true## Featured Tagsfeatured-tags: true # whether or not using Feature-Tagsfeatured-condition-size: 0 # A tag will be featured if the size of it is more than this## Friendsfriends: [ { title: "V_Vincen", href: "https://v-vincen.life/" },{ title: "Teacher Ye", href: "http://teacherye.com/" }] 评论系统设置 Hexo-Theme-LiveMyLife 主题暂时支持三种评论方式。我使用 gitalk 为默认评论系统。 Gitalk Gitalk 是基于 GitHub Issue 和 Preact 的现代化的评论组件。 有关详细的配置方法,请参考 Gitalk 官方文档。 1234567891011121314# Gitalk Settings# Doc: https://github.com/gitalk/gitalk/blob/master/readme-cn.mdgitalk: owner: # 'GitHub repo owner' admin: # ['GitHub repo owner and collaborators, only these guys can initialize github issues'] repo: # 'GitHub repo' clientID: # 'GitHub Application Client ID' clientSecret: # 'GitHub Application Client Secret' perPage: 10 # Pagination size, with maximum 100. pagerDirection: last # Comment sorting direction, available values are last and first. createIssueManually: false # By default, Gitalk will create a corresponding github issue for your every single page automatically when the logined user is belong to the admin users. You can create it manually by setting this option to true language: en # Localization language key, en, zh-CN and zh-TW are currently available. maxCommentHeight: 250 # An optional number to limit comments' max height, over which comments will be folded.Default 250. proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # GitHub oauth request reverse proxy for CORS. For example, the demo url is 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token'.You should deploy your own proxy url as in this issue https://github.com/gitalk/gitalk/issues/429. Gitment Gitment 是一个基于 GitHub Issues 的评论系统,可以在前端使用它,而无需任何服务器端实现。有关详细的配置方法,请参见 Gitment 官方文档。 12345678910## Gitment Settings## Doc: https://github.com/imsun/gitmentgitment: owner: # Your GitHub ID. Required. repo: # The repository to store your comments. Make sure you're repo's owner. Required. client_id: # GitHub client ID. Required. client_secret: # GitHub client secret. Required. desc: # An optional description for your page, used in issue's body. Default ''. perPage: 10 # An optional number to which comments will be paginated. Default 20. maxCommentHeight: 250 # An optional number to limit comments' max height, over which comments will be folded. Default 250. Disqus 如果你想要使用 Disqus 评论系统,则必须有代理。 12# Disqus settingsdisqus_username: your-disqus-ID 站点分析设置 如何配置站点分析? -> 文档:Analytics and Sitemap Settings 123456# Analytics settings# Google Analyticsga_track_id: UA-xxxxxx-xx # Format: UA-xxxxxx-xx# Baidu Analyticsba_track_id: ba_track_id 站点地图设置 如何配置站点地图? -> 文档:Analytics and Sitemap Settings 123456789# Google sitemapsitemap: path: sitemap.xml# Baidu sitemapbaidusitemap: path: baidusitemap.xmlbaidu_push: true 置顶图标设置 我使用的置顶图标是键头,你可以在 sourcre/css/images 目录下替换你自己想要的图标。 文章标签 您可以选择是否显示博文标签。 1home_posts_tag: true 案例: Markdown 渲染器 我使用的 markdown 渲染引擎插件是 hexo-renderer-markdown-it。 12345678910# Markdown-it config## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wikimarkdown: render: html: true xhtmlOut: false breaks: true linkify: true typographer: true quotes: '“”‘’' 安装 Mathjax(数学公式渲染器) 要安装 Mathjax,请单击 How to Use Mathjax 以获取详细的教程。 Anchorjs(锚点)设置 如果你想要更改文章目录标题前部的锚点 “❡”,则可以到 layout/_partial/anchorjs.ejs 目录下进行更改。如何使用 anchorjs,请参阅 AnchorJS 以获取详细示例。 12# Anchorjs Settingsanchorjs: true # if you want to customize anchor. check out line:26 of `anchorjs.ejs` 123456789async("//cdn.bootcss.com/anchor-js/1.1.1/anchor.min.js",function(){ anchors.options = { visible: 'hover', placement: 'left', icon: '❡' // icon: 'ℬ' }; anchors.add().remove('.intro-header h1').remove('.subheading').remove('.sidebar-container h5'); }) 博文置顶 12# article toptop: true Hexo-theme-livemylife 主题添加了文章顶部功能,只要在您的 markdown 笔记中添加属性sticky: number 配置,文章按此数字排序。 案例: 文章字数统计设置 WordCount 是 Hexo 的文章字数统计插件. 有关详细的配置方法,请参见 WordCount 文档。 123# Dependencies: https://github.com/willin/hexo-wordcount# Docs: https://www.npmjs.com/package/hexo-wordcountwordcount: true Busuanzi(不蒜子)设置 Busuanzi 是一个网站流量统计插件。如何使用 Busuanzi,有关详细示例,请参见 Busuanzi 文档。 123## Dependencies: https://busuanzi.ibruce.info/## Docs: https://ibruce.info/busuanzi: true 顶部滚动进度条设置 12# top scroll progressscroll: true 著作权声明设置 123tip: enable: true copyright: Say what you think... # If the copyright is blank, the default value will be used. 社交分享博文设置 12#Docs: https://github.com/overtrue/share.jsshare: true Viewer(图片预览)设置 Viewer 是一个简单的 jQuery 图片预览插件. 让我们首先看一个 demo。有关详细配置,请参见 Viewer 官方文档。 如果要修改 Viewer 的 options 设置,则可以到 sourcre/js/viewer/pic-viewer.js 目录下修改。 12# Viewer configviewer: true 主题模式设置 Hexo-Theme-LiveMyLife 主题暂时支持两种主题模式。 1234# ThemeColor configthemecolor: enable: true mode: dark # themecolor mode light or dark, default light 明亮主题模式预览: 黑暗主题模式预览: 鼠标点击效果设置 1234567891011121314151617181920212223# Mouseclick configmouseclick: enable: true content: - The first step is as good as half over... - Laugh and grow fat... - Man proposes God disposes... - When all else is lost the future still remains... - Wasting time is robbing oneself... - Sharp tools make good work... - Cease to struggle and you cease to live... - A friend in need is a friend indeed... - Faith can move mountains... color: - '#9933CC' - '#339933' - '#66CCCC' - '#FF99CC' - '#CCCCFF' - '#6666CC' - '#663399' - '#66CC99' - '#FF0033' 鼠标点击效果预览: 背景绸带效果设置 1ribbonDynamic: true 背景绸带效果预览: 背景线画布效果设置 1bglinecanvas: true # The special effects will take up a lot of cpu resorces, please open it carefully. 背景线画布效果预览: 搜索设置 123456789101112# Dependencies: https://github.com/V-Vincen/hexo-generator-zip-searchsearch: enable: true path: search.json zipPath: search.flv versionPath: searchVersion.json field: post # if auto, trigger search by changing input # if manual, trigger search by pressing enter key or search button trigger: auto # show top n results per article, show all results by setting to -1 top_n_per_article: 1 Gitter(聊天室) Gitter 是一个聊天和网络平台,通过消息、内容和发现,帮助管理、发展和连接社区。 详细配置方法请查看 Gitter 官方文档。 1234## Docs:https://gitter.im/?utm_source=left-menu-logo##gitter: room: your-community/your-room 部署 替换为你自己的仓库地址。 1234deploy: type: git repo: https://github.com/<yourAccount>/<repo> # or https://gitee.com/<yourAccount>/<repo> branch: <your-branch> Hexo 常用命令 1234hexo new post "<post name>" # you can change post to another layout if you wanthexo clean && hexo generate # generate the static filehexo server # run hexo in local environmenthexo deploy # hexo will push the static files automatically into the specific branch(gh-pages) of your repo! 有一个好的体验 ^_^ 如果你喜欢该主题,请 Star!不胜感激你的 Follow!比心!","categories":[{"name":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","permalink":"http://yoursite-url/categories/Hexo-Theme-LiveMyLife/"}],"tags":[{"name":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","permalink":"http://yoursite-url/tags/Hexo-Theme-LiveMyLife/"}]},{"title":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","date":"2020-04-16T17:34:17.000Z","updated":"2020-04-16T17:34:17.000Z","comments":true,"path":"en/Hexo-Theme-LiveMyLife/","link":"","permalink":"http://yoursite-url/en/Hexo-Theme-LiveMyLife/","excerpt":"","text":"Ported Theme of Hux Blog, Thank Huxpro for designing such a flawless theme. This LiveMyLife theme created by Vincent modified from the original Porter YenYuHsuan , refer to the Themes of dusign、Utone, Thanks dusign、Utone. Repo Github Repo: https://github.com/V-Vincen/hexo-theme-livemylife Gitee Repo: https://gitee.com/V_Vincen/hexo-theme-livemylife View LiveMyLife Blog ➾ Quick Start I publish the whole project for your convenience, so you can just follow the instruction down below, then you can easily customiz your own blog! Let’s begin!!! Install Node.js and Git 123#For Macbrew install nodebrew install git Windows: Download & install Node.js. -> Node.js Windows: Download & install Git. -> Git Install Hexo 1$ npm install -g hexo-cli What is Hexo? Hexo is a fast, simple and powerful blog framework. You write posts in Markdown (or other markup languages) and Hexo generates static files with a beautiful theme in seconds. Setup your blog 1$ hexo init blog More Commands -> Hexo Commands Theme Usage Init 123456cd blogrm -rf scaffolds source themes _config.landscape.yml _config.yml package.json yarn.lock #just keep node_modulesgit clone https://github.com/V-Vincen/hexo-theme-livemylife.gitmv hexo-theme-livemylife/* ./rm -rf hexo-theme-livemylifenpm install Set Theme Modify the value of theme: in _config.yml 1234# Extensions## Themes: https://hexo.io/themes/## Plugins: https://hexo.io/plugins/theme: livemylife Start the Server 12hexo generate # or hexo ghexo server # or hexo s Starts a local server. By default, this is at http://localhost:4000/. More Commands -> Hexo Commands Configuration Modify _config.yml file with your own info, Especially the section: Site Replace the following information with your own. 12345# Sitetitle: Live My Lifesubtitle: 淡而无味也是一种味道author: Mr.Vincenttimezone: Internationalization (i18n) You can use internationalization to present your site in different languages. -> Docs:How to Use Internationalization(i18n) 12345678910111213141516171819202122232425262728293031# Internationalization (i18n) Settinglanguage: # At present, only en、cn and tw are supported. You can customize the language,refer to `languages/en.yml`. - en - cnlangselect: enable: true # If open, it will automatically generation lang-select button.This button can jump in articles in different languages, but the articles must have the same name. options: # langselect button display options en: English cn: 简体中文 # tw: 正體中文i18n_dir: :lang permalink: :lang/:title/ new_post_name: :lang/:title.md# hexo-generator-i18n config## Docs: https://github.com/xcatliu/hexo-generator-index-i18nindex_generator: per_page: 10 pagination_dir: page path: '' order_by: -datearchive_generator: enabled: false per_page: 10 yearly: true monthly: true daily: false order_by: -date English preview: Chinese preview: CDN Settings JsDelivr is A free CDN for Open Source fast、reliable and automated. How to use Jsdelivr? -> Docs:免费 CDN 提速 Github 静态资源访问 1234567# CDN Setting# Docs: https://www.jsdelivr.com/?docs=gh# If Github Pages deploy,you can ues jsdelivr settings#jsdelivr: jsdelivr_url: https://cdn.jsdelivr.net/gh/ github_username: V-Vincen Note: The theme of Hexo-theme-livemylife has a large number of css、js and images, in order to improve access speed, the theme for all of the resource files are made JsDelivr CDN. But only for Github Pages deployment. -> Docs:How to apply JsDelivr CDN in Hexo-theme-livemylife Theme Site Settings Put customized pictures in img directory. 1234567# Site settingsSEOTitle: JavaDev | 一如Java深似海email: [email protected]: "It's an IT blog..."keyword: "Java,v-vincen,v-vincen,livemylife,IT blog,Blog"header-img: img/header_img/newhome_bg.jpgarchives-img: img/header_img/archive_bg2.jpg Favicon Settings 1favicon: img/avatar/favicon.jpg Signature Settings Copy your signature image to <root>/img/signature and modify the _config.yml. 12signature: true # show signaturesignature-img: img/signature/<your-signature> How to create signature -> Free Online Signature Wave Settings 12# Wave settingswave: true Example: SNS Settings If you don’t want to display it, you can delete it directly. 123456789# SNS settings# RSS: truegithub_username: V-Vincentwitter_username: V_Vincen_instagram_username: V_Vincen_# facebook_username: yourAccount# linkedin_username: yourAccount# zhihu_username: yourAccountweibo_username: WVincen Sidebar Settings Copy your avatar image to <root>/img/avatar and modify the _config.yml: 12345678910111213141516171819202122232425262728293031sidebar: true # whether or not using Sidebar.sidebar-about-description: "I don't know where I am going ,but I am on my way..."sidebar-avatar: img/avatar/vincnet.jpg # use absolute URL, seeing it's used in both `/` and `/about/`widgets:- visitor # busuanzi: https://busuanzi.ibruce.info/- featured-tags- short-about- recent-posts- friends-blog- archive- category# widget behavior## Archivearchive_type: 'monthly'show_count: true## Featured Tagsfeatured-tags: true # whether or not using Feature-Tagsfeatured-condition-size: 0 # A tag will be featured if the size of it is more than this## Friendsfriends: [ { title: "V_Vincen", href: "https://v-vincen.life/" },{ title: "Teacher Ye", href: "http://teacherye.com/" }] Comment Settings Hexo-Theme-LiveMyLife temporarily supports three Comments. I use gitalk comment system. Gitalk Gitalk is a modern comment component based on GitHub Issue and Preact. See Gitalk for detailed configuration method. 1234567891011121314# Gitalk Settings# Doc: https://github.com/gitalk/gitalk/blob/master/readme-cn.mdgitalk: owner: # 'GitHub repo owner' admin: # ['GitHub repo owner and collaborators, only these guys can initialize github issues'] repo: # 'GitHub repo' clientID: # 'GitHub Application Client ID' clientSecret: # 'GitHub Application Client Secret' perPage: 10 # Pagination size, with maximum 100. pagerDirection: last # Comment sorting direction, available values are last and first. createIssueManually: false # By default, Gitalk will create a corresponding github issue for your every single page automatically when the logined user is belong to the admin users. You can create it manually by setting this option to true language: en # Localization language key, en, zh-CN and zh-TW are currently available. maxCommentHeight: 250 # An optional number to limit comments' max height, over which comments will be folded.Default 250. proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # GitHub oauth request reverse proxy for CORS. For example, the demo url is 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token'.You should deploy your own proxy url as in this issue https://github.com/gitalk/gitalk/issues/429. Gitment Gitment is a comment system based on GitHub Issues, which can be used in the frontend without any server-side implementation. See Gitment for detailed configuration method. 12345678910## Gitment Settings## Doc: https://github.com/imsun/gitmentgitment: owner: # Your GitHub ID. Required. repo: # The repository to store your comments. Make sure you're repo's owner. Required. client_id: # GitHub client ID. Required. client_secret: # GitHub client secret. Required. desc: # An optional description for your page, used in issue's body. Default ''. perPage: 10 # An optional number to which comments will be paginated. Default 20. maxCommentHeight: 250 # An optional number to limit comments' max height, over which comments will be folded. Default 250. Disqus If you want use Disqus, you must have a circumvention (proxy, clime over the firewall) technology. 12# Disqus settingsdisqus_username: your-disqus-ID Analytics Settings How to config analytics? -> Docs:Analytics and Sitemap Settings 123456# Analytics settings# Google Analyticsga_track_id: UA-xxxxxx-xx # Format: UA-xxxxxx-xx# Baidu Analyticsba_track_id: ba_track_id Sitemap Settings How to config sitemap? -> Docs:Analytics and Sitemap Settings 123456789# Google sitemapsitemap: path: sitemap.xml# Baidu sitemapbaidusitemap: path: baidusitemap.xmlbaidu_push: true Go to top icon Setup My icon is using point, you can change to your own icon at sourcre/css/images. Post tag You can decide to show post tags or not. 1home_posts_tag: true Example: Markdown render My markdown render engine plugin is hexo-renderer-markdown-it. 12345678910# Markdown-it config## Docs: https://github.com/celsomiranda/hexo-renderer-markdown-it/wikimarkdown: render: html: true xhtmlOut: false breaks: true linkify: true typographer: true quotes: '“”‘’' Install Mathjax To install Mathjax, please click How to Use Mathjax for a detailed tutorial. Anchorjs Settings And if you want to change the header anchor ‘❡’, you can go to layout/_partial/anchorjs.ejs to change it. How to use anchorjs, see AnchorJS for detailed examples. 12# Anchorjs Settingsanchorjs: true # if you want to customize anchor. check out line:26 of `anchorjs.ejs` 123456789async("//cdn.bootcss.com/anchor-js/1.1.1/anchor.min.js",function(){ anchors.options = { visible: 'hover', placement: 'left', icon: '❡' // icon: 'ℬ' }; anchors.add().remove('.intro-header h1').remove('.subheading').remove('.sidebar-container h5'); }) Article Top 12# article toptop: true Hexo-theme-livemylife has added the article top function, just add sticky: number configuration to your markdown notes, articles are sorted by this number. Example: WordCount Settings A Word Count Plugin for Hexo. See WordCount for detailed configuration method. 123# Dependencies: https://github.com/willin/hexo-wordcount# Docs: https://www.npmjs.com/package/hexo-wordcountwordcount: true Busuanzi Settings Busuanzi is a website traffic statistics plugin. How to use Busuanzi, see Busuanzi for detailed examples. 123## Dependencies: https://busuanzi.ibruce.info/## Docs: https://ibruce.info/busuanzi: true Top scroll progress 12# top scroll progressscroll: true Tip 123tip: enable: true copyright: Say what you think... # If the copyright is blank, the default value will be used. Social Share Post 12#Docs: https://github.com/overtrue/share.jsshare: true Viewer Config Viewer is a simple jQuery image viewing plugin. Let us first look at a demo. See Viewer for detailed configuration. If you want to modify the options of Viewer, you can go to sourcre/js/viewer/pic-viewer.js to change it. 12# Viewer configviewer: true Theme Color Config Hexo-Theme-LiveMyLife temporarily supports two themes color. 1234# ThemeColor configthemecolor: enable: true mode: dark # themecolor mode light or dark, default light Light theme preview: Dark theme preview: Mouseclick Config 1234567891011121314151617181920212223# Mouseclick configmouseclick: enable: true content: - The first step is as good as half over... - Laugh and grow fat... - Man proposes God disposes... - When all else is lost the future still remains... - Wasting time is robbing oneself... - Sharp tools make good work... - Cease to struggle and you cease to live... - A friend in need is a friend indeed... - Faith can move mountains... color: - '#9933CC' - '#339933' - '#66CCCC' - '#FF99CC' - '#CCCCFF' - '#6666CC' - '#663399' - '#66CC99' - '#FF0033' Mouseclick preview: Ribbon Config 1ribbonDynamic: true Ribbon preview: BgLineCanvas Config 1bglinecanvas: true # The special effects will take up a lot of cpu resorces, please open it carefully. BgLineCanvas preview: Search Settings 123456789101112# Dependencies: https://github.com/V-Vincen/hexo-generator-zip-searchsearch: enable: true path: search.json zipPath: search.flv versionPath: searchVersion.json field: post # if auto, trigger search by changing input # if manual, trigger search by pressing enter key or search button trigger: auto # show top n results per article, show all results by setting to -1 top_n_per_article: 1 Gitter Gitter is a chat and network platform that helps manage, develop and connect communities through messages, content and discovery. See Gitter for detailed configuration method. 1234## Docs:https://gitter.im/?utm_source=left-menu-logo##gitter: room: your-community/your-room Deployment Replace to your own repo! 1234deploy: type: git repo: https://github.com/<yourAccount>/<repo> # or https://gitee.com/<yourAccount>/<repo> branch: <your-branch> Hexo Basics Some hexo command: 1234hexo new post "<post name>" # you can change post to another layout if you wanthexo clean && hexo generate # generate the static filehexo server # run hexo in local environmenthexo deploy # hexo will push the static files automatically into the specific branch(gh-pages) of your repo! Have fun ^_^ Please Star this Project if you like it! Follow would also be appreciated! Peace!","categories":[{"name":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","permalink":"http://yoursite-url/categories/Hexo-Theme-LiveMyLife/"}],"tags":[{"name":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","permalink":"http://yoursite-url/tags/Hexo-Theme-LiveMyLife/"}]},{"title":"Hello","slug":"TestPost","date":"2020-04-16T17:34:17.000Z","updated":"2020-04-16T17:34:17.000Z","comments":true,"path":"undefined/TestPost/","link":"","permalink":"http://yoursite-url/undefined/TestPost/","excerpt":"","text":"Hello World","categories":[{"name":"Hello","slug":"Hello","permalink":"http://yoursite-url/categories/Hello/"}],"tags":[{"name":"Hi","slug":"Hi","permalink":"http://yoursite-url/tags/Hi/"}]}],"categories":[{"name":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","permalink":"http://yoursite-url/categories/Hexo-Theme-LiveMyLife/"},{"name":"Hello","slug":"Hello","permalink":"http://yoursite-url/categories/Hello/"}],"tags":[{"name":"Hexo-Theme-LiveMyLife","slug":"Hexo-Theme-LiveMyLife","permalink":"http://yoursite-url/tags/Hexo-Theme-LiveMyLife/"},{"name":"Hi","slug":"Hi","permalink":"http://yoursite-url/tags/Hi/"}]}