Comments via Flarum embed (earne.link Discussion)

pull/19/head
earnest ma 10 months ago
parent 72f85846ab
commit 71a6e2dfb8
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
  1. 6
      assets/more.css
  2. 1
      config.toml
  3. 1
      content/blog/status-update-april-2022-2022-04-18.md
  4. 2
      content/contact.md
  5. 3
      layouts/blog/single.html
  6. 6
      layouts/partials/comment.html

@ -35,3 +35,9 @@ h5:before {
h6:before {
content: "###### ";
}
#forum-frame {
border: none;
width: 100%;
height: 700px;
}

@ -10,6 +10,7 @@ author = "earnest ma"
description = "earnest ma (earne)'s personal website and blog"
favicon = "/favicon.ico"
gitRepoURL = "https://git.earne.link/earnestma/site"
forumURL = "https://discuss.earne.link"
[permalinks]
blog = "/:year/:month/:day/:slug"

@ -2,6 +2,7 @@
title: "Status Update, April 2022"
date: 2022-04-18
categories: ["Status Update"]
forum_id: 13
---
Here's the status update for the month, sorry it's late! Also, happy Easter Monday and [Nonbinary Parents Day](https://en.pronouns.page/calendar/2022-04-18). 💛🤍💜🖤

@ -16,7 +16,7 @@ Emails are welcome! The address is `me` AT `earne` DOT `link`. I will do my best
### Chat
Message me on [Discord](/discord) (*or most other platforms I have linked*)
Message me on [earne.link Discussion](https://discuss.earne.link/t/earnest), [Discord](/discord), *or most other platforms I have linked*.
- DM me on Mastodon ([@earnestma@tech.lgbt](https://tech.lgbt/@earnestma))
- IRC: My nick is usually `earne` on libera.chat and tilde.chat

@ -26,8 +26,7 @@
<br><hr>
<div align="center">
<p>If you enjoyed reading this post, please consider <a href="/support">supporting me</a> 💜</p>
<p><a href="/contact#email"><button>Reply via email</button></a></p>
{{ partial "comment.html" . }}
</div>
<div align="center">

@ -0,0 +1,6 @@
{{ if and .Site.Params.forumURL .Params.forum_id }}
<div id="comment-section">
<p><a href="{{ .Site.Params.forumURL }}/d/{{ .Params.forum_id }}" target="_blank"><button>Discuss!</button></a></p>
<iframe id="forum-frame" src="{{ .Site.Params.forumURL }}/embed/{{ .Params.forum_id }}"></iframe>
</div>
{{ end }}
Loading…
Cancel
Save