Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow visitors to leave comments by using Commento. #4

Merged
merged 1 commit into from Jan 1, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -0,0 +1,18 @@
<style>
h2 {
@apply text-2xl
mt-4
text-brown-800
font-bold
leading-tight;
}
</style>

<svelte:head>
<script src="https://cdn.commento.io/js/commento.js">
</script>
</svelte:head>

<h2>Comments, Feedback, Thoughts</h2>
<div id="commento" />
@@ -17,6 +17,7 @@
import { DateTime } from "luxon";
import LinkPreviewMetaTags from "../../components/link-preview/index.svelte";
import GhostPost from "../../components/ghost/post.svelte";
import Comments from "../../components/comments.svelte";
// @ts-ignore: Not sure how to define `post` as an optional object
export let post;
@@ -163,4 +164,5 @@
<GhostPost>
{@html post.html}
</GhostPost>
<Comments />
</div>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.