This repo stores the website for the Neptune Cash cryptocurrency.
Contributions are welcome :)
If you want to contribute, please create an issue to discuss your proposed changes before starting work on a pull request
New articles can be published by adding them in the MDX format, this format enables adding interactive components and other elements to the posts.
The structure of files in the articles folder is for organization purposes only. All articles, no
matter their location can be accessed at /article/:slug
Articles can be configured with frontmatter, all fields are described below.
| field name | description | example data |
|---|---|---|
| title | article title | Intro to Neptune |
| description | article description | Best source of info to get started with Neptune |
| author | article author(s) | John Doe & Jane Doe |
| type | article type | learn / blog |
| weight | article weight (optional, used for ordering) | 5 |
| pinned | article will be shown at the top if set to true (optional) | true |
| hidden | article will not be visible in /learn or /blog if set to true (optional) |
false |
| imagegen | internal unused field used when migrating articles to fill thumbnails | A Merkle tree diagram |
| field name | description | example data |
|---|---|---|
| src | image source, can be a relative path | /article-images/learn/ai/merkle-tree.jpeg |
| caption | image caption, showed below image in the article page | Merkle tree diagram |
By default, newest articles are shown first on the /learn, and /blog pages, you can change that
using the weight and pinned fields as explained above, the ordering processes as follows
- Pinned articles
- Article weight (higher = shown higher)
- Article post date