Description: this article will talk about the the AND OR XOR operation
AND(&)
0&0 = 0 0&1 = 0 1&0 =0 1&1=1
同时为1时,结果才为1,否则为0
OR (|)
0|0 = 0; 0|1= 1; 1|0 =1; 1|1=1
只要一个为1,其值就为1
XOR (^)
0^0 =0 ; 0^1=1; 1^0=1; 1^1=0
相同为0不同为1
缺失模块。
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