summaryrefslogtreecommitdiff
path: root/views/partials/micropub-endpoint-help.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials/micropub-endpoint-help.php')
-rw-r--r--views/partials/micropub-endpoint-help.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/partials/micropub-endpoint-help.php b/views/partials/micropub-endpoint-help.php
new file mode 100644
index 0000000..35705ca
--- /dev/null
+++ b/views/partials/micropub-endpoint-help.php
@@ -0,0 +1,3 @@
+ <p>You will need to <a href="/creating-a-micropub-endpoint">create a Micropub endpoint</a> for your website which can create posts on your site. Once you've created the Micropub endpoint, you can indicate its location using the markup below.</p>
+ <p><pre><code>&lt;link rel="micropub" href="https://<?= (property_exists($this, 'meParts') ? $this->meParts['host'] : 'example.com') ?>/micropub"&gt;</code></pre></p>
+ <p><pre><code>Link: &lt;https://<?= (property_exists($this, 'meParts') ? $this->meParts['host'] : 'example.com') ?>/micropub&gt;; rel="micropub"</code></pre></p>