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:
-
---
- 等我有空再研究下摘要要怎么做
{% 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模板