作业的完整代码我放在Github上,可以在我的github中查看。
4-3:数到20:使用一个for循环打印数字1~20(含)。
1 | for i in range(20): |
运行:
more >>
二十七杯酒
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true