hexo/source/_posts/博客的说说页面之Memos.md

51 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 用Memos API实现hexo博客的动态说说页面
tags:
- memos
- Hexo
published: true
categories: 分享
abbrlink: 286ad0c6
excerpt: >-
ai:
这篇文章介绍了2023年12月1日的更新内容包括修复使用第三方S3储存显示图片的问题并提供了如何新建一个页面并修改Memos/index.md内容的简要指导。代码来源于网络。
date: 2023-06-13 15:57:00
cover:
---
2023.12.1 更新
修复显示使用第三方S3储存的图片
----
新建一个页面
```
hexo new page Memos
```
修改`Memos/index.md`内容为
```
---
title: Memos
comments: false
date: 2023-06-07 14:17:13
---
<div class='memo-nums'>
<p class='note note-info memo-nums-text'>
共发布了 <span id="memosCount">不知道多少</span> 条说说
</p>
</div>
<div id="bber"></div>
<script type="text/javascript">
var bbMemos = {
memos : 'https://memos.ee/',
limit : '20',
creatorId:'1',
domId: '',
}
</script>
<script src="https://blogcdn.loliko.cn/memos2/js/marked.js"></script>
<script src="https://blogcdn.loliko.cn/memos2/js/memos.js?v0.0.1"></script>
```
即可~
代码来源于网络~