Comments via Flarum embed (earne.link Discussion) #19

Merged
earnest ma merged 3 commits from earne/comments-flarum into main 4 months ago
  1. 1
      config.toml
  2. 1
      content/blog/status-update-april-2022-2022-04-18.md
  3. 2
      content/contact.md
  4. 3
      layouts/blog/single.html
  5. 5
      layouts/partials/comment.html

@ -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: 14
---
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,5 @@
{{ 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>
</div>
{{ end }}
Loading…
Cancel
Save