Git Product home page Git Product logo

blog-cn's Introduction

blog-cn

文档规范

meta 信息

头部的 meta 信息可包含以下内容:

  • title 文章标题
  • author 文章作者, 格式: ['author-1', 'author-2']
  • date 文章发布日期, 格式: yyyy-mm-dd
  • summary 文章简介
  • tags 标签分类, 格式: ['tag-1', 'tag-2']
  • category 表示 blog 的类型,目前只有案例文章需要显示定义 category: case
  • url 表示本篇文章在 PingCAP 官网中指定的 url, 而不是 HUGO 生成器默认生成的 /blog/filename/ 格式的 url
  • aliases 表示可跳转到本篇文章在 PingCAP 官网中相应页面的 url list
  • customer 只在案例 markdown 里添加该 meta, value 为该案例的客户名称,eg. customer: 小米
  • customerCategory 只在案例 markdown 里添加该 meta, value 为该案例的客户所属领域名称,eg. customerCategory: 金融

其中 title author必填项

---
title: Blog Title
author: ['Author']
date: yyyy-mm-dd
summary: Blog Summary
tags: ['Tag1', 'Tag2']
category: case
url: /the-website-case-url/specified-in-this-article/
aliases: ['/the-website-url/redirected-to-this-article']
---

文档内容

  • 正文中用到的图片请统一放在 blogblog-cn repository 的 media 目录下
  • 正文中引用的图片命名避免用 1、2、3 之类的 避免冲突

blog-cn's People

Contributors

booooodv avatar caitinchen avatar cw1997 avatar ericsyh avatar exialin avatar g1eny0ung avatar gaoyangxiaozhu avatar ireneontheway avatar kemingy avatar lance6716 avatar langyuemeng avatar leoppro avatar lilin90 avatar marsishandsome avatar ngaut avatar ppiao avatar queenyjin avatar siyuhu95 avatar sticnarf avatar sykp241095 avatar taliaray avatar uncp avatar xuechunl avatar yikeke avatar yinixu9506 avatar yolanda18-star avatar yuxi903 avatar zhexuany avatar zhongzc avatar zyfan98 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.