Young's Blog


  • 首页

  • 关于

  • 分类

  • 标签

  • 归档

  • 搜索
close

测试

时间: 2017-10-02   |   分类: Tech     |   阅读

第一篇: 测试

在雨橙柠大佬的带带我下,我了解了hexo。这是我的第一篇hexo博客,我也不知道写啥。

如何使用github+hexo搭建博客:简书文章1、简书文章2、CSDN文章。

什么是LF和CRLF?

记录遇到的坑和解决办法:

查看hexo各插件:

npm ls --depth 0,然后依次安装缺失的插件。

贴图:

在source下新建一个figure文件夹,这样hexo g && hexo d的时候就会把它移动到public目录。插图时只要插/figure/xxx即可。

设置tags:

hexo n page tags 然后修改source/tags/index.md为:

1
2
3
4
title: tags
date: xxxx-xx-xx xx:xx:xx
type: "tags"
comments: false

配置_config.yml:

站点配置文件:设置language和themes。 主题配置文件:设置menu和scheme(for NexT)。

设置archive/archives:

  • 在站点配置文件里添加:
archive_generator:
  per_page: 10
  yearly: true
  monthly: true
  daily: false
  order_by: -date
  • 在主题配置文件里面修改archive或archives的顺序。

测试放图

图片:

test fig

#test#
中秋快乐
About me
  • 文章目录
  • 站点概览
Young

Young

11 日志
4 分类
7 标签
RSS 订阅
GitHub
  • 第一篇: 测试
  • 记录遇到的坑和解决办法:
    • 查看hexo各插件:
    • 贴图:
    • 设置tags:
    • 配置_config.yml:
    • 设置archive/archives:
    • 测试放图
© 2017 - 2022 Young
Powered by - Hugo v0.92.1
Theme by - NexT.Gemini

 
0%