-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- | ||
layout: "memos" | ||
--- | ||
|
||
这里使用 [memo-feeds](https://github.com/Wsine/memo-feeds) 项目构造了一条时间线来作为我的临时情绪表达,表达欲还是很重要的,希望不要被大家批斗得太厉害。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
{{ define "main" }} | ||
<link href="https://cdn.jsdelivr.net/gh/eallion/mastodon-embed-feed-timeline/dist/mastodon-timeline.min.css" rel="stylesheet" /> | ||
|
||
{{ .Content }} | ||
|
||
<div id="mt-container" class="mt-container"> | ||
<div class="mt-body" role="feed"> | ||
<div class="mt-loading-spinner"></div> | ||
</div> | ||
</div> | ||
<!-- <link href="https://cdn.jsdelivr.net/gh/eallion/mastodon-embed-feed-timeline/dist/mastodon-timeline.min.css" rel="stylesheet" /> --> | ||
<!-- <div id="mt-container" class="mt-container"> --> | ||
<!-- <div class="mt-body" role="feed"> --> | ||
<!-- <div class="mt-loading-spinner"></div> --> | ||
<!-- </div> --> | ||
<!-- </div> --> | ||
<!----> | ||
<!-- <script src="https://cdn.jsdelivr.net/gh/eallion/mastodon-embed-feed-timeline/dist/mastodon-timeline.min.js"></script> --> | ||
<!-- <script> --> | ||
<!-- // You can initialize the script here --> | ||
<!-- const myTimeline = new MastodonTimeline({ --> | ||
<!-- instanceUrl: "https://o3o.ca", --> | ||
<!-- timelineType: "profile", --> | ||
<!-- userId: "110845", --> | ||
<!-- profileName: "@wsine", --> | ||
<!-- }); --> | ||
<!-- </script> --> | ||
|
||
<script src="https://cdn.jsdelivr.net/gh/Wsine/memo-feeds@main/dist/static/memo-feeds.js"></script> | ||
<memo-feeds memo-url="https://memo-feeds.wsine.workers.dev"></memo-feeds> | ||
|
||
<script src="https://cdn.jsdelivr.net/gh/eallion/mastodon-embed-feed-timeline/dist/mastodon-timeline.min.js"></script> | ||
<script> | ||
// You can initialize the script here | ||
const myTimeline = new MastodonTimeline({ | ||
instanceUrl: "https://o3o.ca", | ||
timelineType: "profile", | ||
userId: "110845", | ||
profileName: "@wsine", | ||
}); | ||
</script> | ||
{{ end }} |