Skip to content

Commit

Permalink
11
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjoy committed Oct 29, 2024
1 parent adbbd98 commit 58fc0ee
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ export const navBarConfig: NavBarConfig = {
links: [
LinkPreset.Home,
LinkPreset.Archive,
LinkPreset.About,
{
name: 'Memos',
name: '说说',
url: '/memos', // Internal links should not include the base path, as it is automatically added
external: true, // Show an external link icon and will open in a new tab
external: false, // Show an external link icon and will open in a new tab
},
LinkPreset.About,
{
name: 'GitHub',
url: 'https://github.com/jkjoy', // Internal links should not include the base path, as it is automatically added
Expand Down
18 changes: 17 additions & 1 deletion src/pages/memos.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,23 @@ const { Content } = await aboutPost.render()
<div class="flex w-full rounded-[var(--radius-large)] overflow-hidden relative min-h-32">
<div class="card-base z-10 px-9 py-6 relative w-full ">
<Markdown class="mt-2">
## 说说
<div id="bber"></div>
<script type="module" src="https://immmmm.com/emaction.js?v=230811"></script>
<script src="https://fastly.jsdelivr.net/npm/marked/marked.min.js"></script>
<script src="https://fastly.jsdelivr.net/gh/Tokinx/ViewImage/view-image.min.js"></script>
<script src="https://fastly.jsdelivr.net/gh/Tokinx/Lately/lately.min.js"></script>
<script src="https://cdn.staticfile.org/twikoo/1.6.39/twikoo.all.min.js"></script>
<script type="text/javascript">
var bbMemos = {
memos : 'https://memos.ittst.top/',//修改为自己部署 Memos 的网址,末尾有 / 斜杠
limit : '',//默认每次显示 10 条
creatorId:'2' ,//早期默认为 101 用户,新安装是 1; https://demo.usememos.com/u/101
domId: '',//默认为 bber
twiEnv:'https://t.ittst.com',//启开 twikoo 评论,默认 https://metk.edui.fun/
}
</script>
<script src="https://immmmm.com/bb-lmm-mk.js?v=230811"></script>

</Markdown>
</div>
</div>
Expand Down

0 comments on commit 58fc0ee

Please sign in to comment.