-
Add this tag to your site's <head>
<link rel="subnet" href="https://jparavisini.github.io/subnet"> -
Add yourself to the nodes list
Edit subnet.json and add your entry to the
nodesarray:{ "url": "https://yoursite.com", "name": "Your Name", "feed": "https://yoursite.com/feed.xml" } -
Add the widget to your site (optional)
Drop this snippet anywhere on your site to show recent posts from the hub:
<script src="https://jparavisini.github.io/subnet/widget.js" async></script> <subnet-widget hubs="https://jparavisini.github.io/subnet" count="5" display="feed"> <noscript><a href="https://jparavisini.github.io/subnet">Subnet</a></noscript> </subnet-widget>The widget renders semantic HTML inside a Shadow DOM (
section,h2,ul,li,time,nav). Style it from your own CSS with custom properties:subnet-widget { --subnet-fg: #333; --subnet-bg: #fafafa; --subnet-border: #e0e0e0; --subnet-radius: 6px; --subnet-padding: 1rem; --subnet-link: #0055aa; --subnet-font-size: 0.9em; }
Once a member approves your PR and the link tag is live, you'll appear on the hub automatically.