春风十里


  • 首页

  • 分类

  • 归档

  • 标签

  • 关于

Hexo使用NexT主题设置主页显示文章摘要方法

发表于 2017-04-25 | 分类于 教程

缘起

最近使用Hexo搭建了自己的博客,使用了简洁而强大的NexT主题。在写博客的过程中发现主页文章显示为全文模式,看起来很不美观。从网络上搜集了几种方法,今天做个总结分享出来。

方法分享

这里介绍一下NexT主题下设置在首页只显示文章的摘要的方法。

1. 在文章中使用<!--more-->进行手动截断

在写博客的时候在文章中使用<!--more-->进行手动截断,如下图所示:

阅读全文 »

Markdown语法学习

发表于 2017-04-25 | 分类于 学习笔记

学习markdown的使用方法

关于markdown的简介

这是一种非常方便的记录文档的方式

markdown语法的使用

来写一段测试用的文本,这段文字中,粗体的部分是 非常重要 的;而 斜体 的部分代表有 特殊描述 。

假如说一段内容是非常非常重要的,那么需要特别醒目的标注方法,这个时候可以使用代码块。

阅读全文 »

Hello World

发表于 2017-04-25

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

123
Jiang Ding

Jiang Ding

即使是菜鸟,也要爱分享

23 日志
5 分类
40 标签
GitHub 微博
相关链接
  • 一页繁华的博客
© 2017 - 2021 Jiang Ding
由 Hexo 强力驱动
主题 - NexT.Mist