Giter Club home page Giter Club logo

blog's Introduction

Hango Blog介绍

Hango Blog基于Beautiful Jekyll改造而来,旨在提供Hango项目的官方教程和相关博客。

本地调试GIthub Pages

安装

本地运行

ubuntu系统为例

  • 进入本地 hango-io.github.io项目文件夹
  • source ~/.bashrc
  • 执行bundle exec jekyll serve,可在本地4000端口访问界面。

详情参见使用 Jekyll 在本地测试 GitHub Pages 站点

添加Blog

  1. 进入_posts/[category]文件夹下,添加posts文件,文件名称必须是"YYYY-MM-DD-Title.md"的格式

  2. 添加文件头,如下

    ---
    layout: post	# 固定内容,表明文件形式是博客文章
    title: 高性能云原生网关Hango1.0架构	# 自定义,标题
    subtitle: 基于Istio以及Envoy构建的高性能云原生API网关 Hango # 自定义,副标题
    cover-img: /assets/img/path.jpg	# 自定义,博客页面置顶的图片
    thumbnail-img: /assets/img/thumb.png	# 自定义,网站主页处该博客的配图
    share-img: /assets/img/path.jpg	# 自定义,分享该博客的链接封面图
    tags: [overview]	# 自定义,博客的提示标签,可以多个,逗号分割
    categories: overview	# 表明博客所属分类,在[overview, plugin, release-notes, others]中选择一个
    ---
    
    目录]
    
    [正文]
  3. 文章创建完成后,本地刷新服务器即可查看,文章地址一般是https://localhost:4000/[category]/[title]

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.