Skip to content

我的个人博客想写什么就写什么~

License

Notifications You must be signed in to change notification settings

zeusro/Zeusro.github.io

Repository files navigation

新建博文

make new post=critical-thinking make new post=oci-v2 date=2020-08-03

然后复制这一部分(本来想加到Makefile里面,结果搞不定)

---
layout:       post
title:        ""
subtitle:     ""
date:         
author:       "Zeusro"
header-img:   "img/oYYBAFHlDveICOlTAAWdBpjTP2sAAAvzgB9mBEABZ0e231.jpg"
header-mask:  0.3
# 目录
catalog:      true
# 多语言
multilingual: false
published:    true
tags:
    - 
---

TODO

  • 等我有空再研究下摘要要怎么做
{% raw %}
{% if post.excerpt %}{{post.excerpt }}{% else %}{{ post.content | strip_html | truncate:200 }}{% endif %} 
{% endraw %}
  • Makefile 多行变量输入要咋整?

说明

展开查看

    I don't fucking care what others say.

本地预览

# npm install grunt -g
# 编译less
grunt less
npm run watch

第一次使用

sudo gem uninstall --all
# 安装Ruby
sudo gem install github-pages bundler jekyll

备注

两个大括号用来引入 jekyll 的对象,其他语境需要使用,需要使用raw标记,这是liquid的语法.


{% raw %}
  In Handlebars, {{ this }} will be HTML-escaped, but
  {{{ that }}} will not.
{% endraw %}

鸣谢

感谢Huxpro开发的huxpro.github.io模板

About

我的个人博客想写什么就写什么~

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages