This is the source code for https://ethfud.com, an educational site to help combat misinformation.
- Clone the repo (or fork the repo to your account)
- Install dependencies:
bundle install
- Create a feature branch off of the
dev
branch - Start the local server:
bundle exec jekyll serve
- Go to http://localhost:4400/ to view changes
To build the site use bundle exec jekyll build
.
Resources:
- In the
/claims
folder, create a new markdown file using the claim as the filename. For example, a page about a claim that Ethereum was premined would have a page titledethereum-premine.md
.
- A template can be found at
claims/_template.md
. - An example file can be found at
claims/_example.md
.
- At the top of the page add the following "frontmatter". This is page metadata used when building the site.
---
layout: claim
title:
permalink: claims/
validity:
---
- Fill out the frontmatter. Here's an example of what it would look like for
ethereum-premine.md
:
---
layout: claim
title: Ethereum was premined by Vitalik and the Ethereum Foundation
permalink: claims/ethereum-premine
validity: fud
---
- layout: Keep this as
claim
, this is the template used when building the page. - title: The title of the page.
- permalink: The URL path for the page you're creating. Keep the
claims/
prefix. - validity: The options are
true
,falsy
(partially true/false), andfud
.
- Fill out the rest of the page with your content using markdown. Try to reference official sources where possible.
# H1
## H2
### H3
#### H4
##### H5
###### H6
[link](/t/test/)
[link](https://example.com)
bold text
**bold text**
italic text
*italic text*
bold and italic text
__*bold and italic text*__
inline code
`inline code`
code block
```
code block
```
- this is an
- unordered
- list
- this is an
- unordered
- list
- this is an:
ordered list
- continued after code block
1. this is an:
```
ordered list
```
1. continued after code block
header 1 | header 2 |
---|---|
row 1, col 1 | row 1, col 2 |
row 2, col 1 | row 2, col 2 |
row 3, col 1 | row 3, col 2 |
header 1 | header 2
--------------|--------------
row 1, col 1 | row 1, col 2
row 2, col 1 | row 2, col 2
row 3, col 1 | row 3, col 2
Expandable content (click to open)
Peek a boo!- I
- see
- you
- see
<details markdown="1">
<summary>Expandable content (click to open)</summary>
Peek a boo!
- I
- see
- you
</details>
![](/assets/img/logo.png)
{:class="caption"} this is a caption
{:class="caption"}
this is a caption