--- layout: layouts/base.njk title: Slash Pages withSidebar: true permalink: /slashes/ eleventyImport: collections: - pages ---

Slash Pages

Root-level pages on this site. Inspired by slashpages.net.

{# Dynamic pages (created via Indiekit) #}

Pages

{% if collections.pages.length > 0 %} {% else %}

No root pages yet. To create pages like /now, /uses, or /colophon, you need two plugins:

  • @rmdes/indiekit-post-type-page — registers the "page" post type with Indiekit, using root-level URL paths (/slug instead of /type/YYYY/MM/DD/slug)
  • @rmdes/indiekit-endpoint-posts — publishing UI that sends the h=page Micropub type so pages are created at root level

Once both plugins are installed, "Page" appears as a post type in the Indiekit admin UI, and pages are published directly at /slug.

{% endif %}
{# Activity pages — only show when their plugin backend is available #} {% set hasActivityPages = (funkwhaleActivity and funkwhaleActivity.source == "indiekit") or (githubActivity and githubActivity.source != "error") or (lastfmActivity and lastfmActivity.source == "indiekit") or (newsActivity and newsActivity.source == "indiekit") or (youtubeChannel and youtubeChannel.source == "indiekit") or (blogrollStatus and blogrollStatus.source == "indiekit") or (podrollStatus and podrollStatus.source == "indiekit") %} {% if hasActivityPages %}

Activity Feeds

{% endif %} {# Inspiration section #}

Want more slash pages?

Check out slashpages.net for inspiration on pages like /now, /uses, /colophon, /blogroll, and more.