Skip to content

Commit

Permalink
03-23-2024-docusarus-webmentions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
manila committed Mar 23, 2024
1 parent 907b9da commit 59be681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blog/03-23-2024-docusarus-webmentions.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: post
title: "Docusarus Webmentions"
title: "Docusaurus Webmentions"
date: 2024-03-23
authors: [manila]
tags: [indieweb]
slug: blog/docusarus-webmentions
slug: blog/docusaurus-webmentions
---

A [Webmention](https://www.w3.org/TR/webmention/) is a way to notify websites when a link to a website is posted on a different website.
Expand All @@ -29,7 +29,7 @@ The purest form of this is where a website owner hosts a webmention endpoint tha

One thing to keep in mind when using webmention.io is that it is pull-based, so your website will need to check for new webmentions. This is usually not a problem though since you'll only want to check for webmentions of page when that page is loaded.

For my current site which uses Docusarus I do this with React, here is how I fetch webmentions:
For my current site which uses Docusaurus I do this with React, here is how I fetch webmentions:

```JavaScript
import React, {useState, useEffect} from 'react';
Expand Down

0 comments on commit 59be681

Please sign in to comment.