Add instructions to add one to the ring. Link to the repository from the directory.

This commit is contained in:
DS 2024-09-27 16:53:39 -07:00
parent 554960fbef
commit 8f8366a285
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# Adding yourself to the webring
(Please only follow this if you're an Epesooj insider. Random PRs will be closed for now.)
Add your information to `webring_data.json`.
The schema is as follows:
- **`id`**: a unique id for your entry.
You will use this id when adding webring links on your own blog/page.
- **`title`**: the title you want to use on the webring directory.
- **`author`**: the name you want to use on the webring directory.
- **`url`**: the URL to redirect to whenever the webring needs to point a visitor to your entry.
Create a PR with your changes.
# Using the webring on your blog/page
Somewhere in your blog/page (footer recommended), add the following links.
Remember to replace `<YOUR_ID_HERE>` with the unique id for your entry on the webring.
Note: it's ok for you to add these links to your page before your PR gets approved and merged.
The webring will redirect to random pages when given an unknown id.
Whenever your PR gets approved and merged, your id will be recognised and you'll officially be part of the webring.
- Previous entry: `https://epesooj-webring.pages.dev/previous?id=<YOUR_ID_HERE>`
- Next entry: `https://epesooj-webring.pages.dev/previous?id=<YOUR_ID_HERE>`
- A link to the webring directory: `https://epesooj-webring.pages.dev`

View file

@ -41,6 +41,10 @@
.directory > div > span {
font-size: 0.8rem;
}
.source-link {
margin-top: 2rem;
font-size: 0.75rem;
}
</style>
</head>
<body>
@ -56,5 +60,7 @@
<nav class="directory" aria-labelledby="webring-directory">
{{WEBRING_ENTRIES}}
</nav>
<span class="source-link">The source for this webring can be viewed <a href="https://github.com/DanielSidhion/epesooj-webring">here</a>.</span>
</body>
</html>