Skip to content

markyun/markyun.github.io

Repository files navigation

ASCII-ART Bolg

关于我

// On this page, you’ll find  about me.
const my = {
  name: 'markyun',
  tags: ['Web Developer','Photog','Cycling enthusiast', 'INFJ'],
  adress: 'Jiangsu - Nanjing',
  email: '[email protected]',
  introduce: 'Hi, I’m a frontend developer. This is my spot on the web for writing, projects, tutorials and anything else I want to put out there. check out the blog, or of my weekly.',
  github: 'https://github.com/markyun',
  blog: 'https://markyun.github.io/',
  wiki: 'https://markyun.github.io/wiki/',
  webcia_weekly: 'https://markyun.github.io/weekly/',
  RSSReader: 'https://markyun.github.io/rss/',
}

Web Developer/ Photog/ Work at NanJing

本博客主题来源于 hugo-ladder , 中文即阶梯的含义。读书为输入,写作为输出,都是获取知识的阶梯。模板文档中包括了 hugo 所有的安装流程信息,例如如何免费构建独立的博客网站。本站适配了 🌐 多语言 | 🌙 暗色模式 | 📱 移动端适配,你可以通过直接访问网站,来获得原生体验。

另外还有 WebCIA Weekly (Web 情报局) 推荐关注 https://markyun.github.io/weekly/

基础使用

新建博客: hugo new site NewBolgSite

新建文章: hugo new blog/xxx-文章名.md

启动博客: hugo server -D

编译博客:hugo -D


---
title: Git 仓库的分支 (Branch) 规范
date: 2018-11-27 19:31:30
tags: ["Git", "代码管理", "规范"]
series: ["代码管理"]
category: ["blog"]
featured: true
---

title 文章题目
date 发布日期
tags 标签分类,用于描述文章的主题、关键词。通过标签,可以根据兴趣和需求,快速找到相关的文章
series 系列文章,用于将同一系列相关的文章组织在一起。会在下方推荐阅读中推荐同系列文章
category 类别分类、比如技术、生活、旅行等
featured 是否在主页面中展示,true or false

最小配置

Clone your repository.

Build and run hugo server by hugo server -D and open in browser http://localhost:1313/.

baseURL: 'https://username.github.io' # set https://username.github.io
homepage: 'https://username.github.io' # set https://username.github.io
defaultContentLanguage: 'en' #default language
params:
  brand: HOME # set the brand of your site
  avatarURL: /images/avatar.png # avatar, replace your avatar in the /static/images/
  author: Hugo Ladder # name
  authorDescription: # description
  info:  this is a info # information of your blog site
  favicon: /images/avatar.png # blog site icon,replace your avatar in the /static/images/
  options:
    showDarkMode: true # is show dark mode button
    enableMultiLang: true # is show multi language button

新的图标可以通过修改配置文件添加,params.social 字段标明 名称,图标,自定义地址,图标可以在这个网站找到 feathericons.com。

Modifying the default configuration. Then push it to your repository.

Special Thanks