文章写作介绍Front-matter 是平时写文章时使用的 markdown 格式文件顶部以 ——- 分隔区域的内容,这部分内容包含一些关键信息,主要用于指定文章或者页面的属性特征,其中又分为两种,文章配置和页面配置,首先介绍一下文章页配置 :
一、Post Front-matter-文章页顶部区域可选内容
字段名
说明
title
【必需】文章标题
date
【必需】文章创建日期
updated
【可选】文章更新日期
tags
【可选】文章标签
categories
【可选】文章分类
keywords
【可选】文章关键字
description
【可选】文章描述
top_img
【可选】文章顶部图片
cover
【可选】文章缩略图(如果没有设置 top_img,文章页顶部将显示缩略图;可设为 false、图片地址或留空)
comments
【可选】显示文章评论模块(默认 true)
toc
【可选】显示文章 TOC(默认为设置中 toc 的 enable 配置)
toc_number
【可选】显示 toc_number(默认为设置 ...
图片无损压缩工具使用方法(一)简要介绍
JPG-C
官网:http://zzy.my/blog/post/Jpg-C
VIKY3.4
下载链接:https://www.52pojie.cn/thread-1805974-1-1.html
特点:两款工具均可在保留原画质的基础上大幅减小图片体积,程序体积小、便于使用(例如压缩5MB以下图片后转换为PDF)。
(二)高压缩比工具(压缩率最高可达99%)
Caesium Image Compressor(推荐)
官网:https://saerasoft.com/caesium(直接下载可能因Github链接速度慢)
在线版本:https://caesium.app/
备用下载(2.8.4版本):https://wwzj.lanzoul.com/ijzdf2wgmr1g
压缩选项(示例界面):
JPEG:图片质量80、色度二次采样自动、渐进式
PNG:图片质量80、优化级别3
WebP:可添加/移除参数
极速图片压缩器
官网(在线版):https://www.zgcoder.com/topspeed-image- ...
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 StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment

















