hello word!

welcome to my blog

https://zlogs.net

基本配置

1
2
3
4
5
6
7
title: Hello World
date: 2019-09-28 20:00:00
updated: 2019-09-29 20:00:00
categories: [hexo使用]
tags: [测试]
keywords: [my test]
description: my first test blog
1
2
3
4
5
6
置顶
top: True

需要安装
npm uninstall --save hexo-generator-index
npm install --save hexo-generator-index-pin-top
1
2
不渲染
layout: false
1
2
3
4
5
6
7
8
9
10
11
12
不在首页显示
visible: false

需要修改
./themes/next/layout/index.swig

{%- for post in page.posts.toArray() %}
// {%- if post.visible != false %}
{{ partial('_macro/post.swig', {post: post, is_index: true}) }}
// {%- endif %}
{%- endfor %}

测试加密

详见 加密设置

1
2
3
4
message:  密码提示
password: 密码
wrong_pass_message: 错误提示 Oh, this is an invalid password. Check and try again, please.
wrong_hash_message: 错误提示 Oh, these decrypted content cannot be verified, but you can still have a look.

测试视频

1
2
3
4
5
6
7
8
9
10

测试视频1--bilibili

<iframe src="//player.bilibili.com/player.html?aid=62374558&cid=108411071&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>


测试视频2-Youtube

<iframe width="560" height="315" src="https://www.youtube.com/embed/qwh2z6bJDRw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

测试视频1–bilibili

测试视频2-Youtube