Skip to content

Commit fa9dde1

Browse files
committed
Add initial gatsby blog with example blog posts.
See https://github.com/orgs/metafacture/projects/1
1 parent d566126 commit fa9dde1

28 files changed

+22469
-1
lines changed

.gitignore

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (http://nodejs.org/api/addons.html)
33+
build/Release
34+
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
38+
39+
# Typescript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# dotenv environment variable files
55+
.env*
56+
57+
# gatsby files
58+
.cache/
59+
public
60+
61+
# Mac files
62+
.DS_Store
63+
64+
# Yarn
65+
yarn-error.log
66+
.pnp/
67+
.pnp.js
68+
# Yarn Integrity file
69+
.yarn-integrity

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cache
2+
package.json
3+
package-lock.json
4+
public

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"arrowParens": "avoid",
3+
"semi": false
4+
}

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
11
# Metafacture Blog
22

3-
This project is the source for the new metafacture blog.
3+
This project is the source for the new metafacture blog.
4+
This project was created with the gatsby template [gatsby-starter-blog](https://github.com/gatsbyjs/gatsby-starter-blog).
5+
6+
7+
## Start developing
8+
9+
```
10+
cd metafacture-blog
11+
gatsby develop
12+
```
13+
14+
The site is now running at `http://localhost:8000`!
15+
16+
## Build
17+
18+
To create a production build and output the built static files into the public directory, run:
19+
20+
```
21+
cd metafacture-blog
22+
gatsby build
23+
```
24+
25+
If you want to view the production build locally, run:
26+
27+
```
28+
gatsby serve
29+
```
30+
31+
Once this starts, you can view your site at http://localhost:9000.

content/blog/hello-world/index.md

Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
---
2+
title: Hello World
3+
date: "2015-05-01T22:12:03.284Z"
4+
description: "Hello World"
5+
authors: [{lastname: "Bar",
6+
firstname: "Foo"}]
7+
---
8+
9+
This is my first post on my new fake blog! How exciting!
10+
11+
I'm sure I'll write a lot more interesting things in the future.
12+
13+
Oh, and here's a great quote from this Wikipedia on
14+
[salted duck eggs](https://en.wikipedia.org/wiki/Salted_duck_egg).
15+
16+
> A salted duck egg is a Chinese preserved food product made by soaking duck
17+
> eggs in brine, or packing each egg in damp, salted charcoal. In Asian
18+
> supermarkets, these eggs are sometimes sold covered in a thick layer of salted
19+
> charcoal paste. The eggs may also be sold with the salted paste removed,
20+
> wrapped in plastic, and vacuum packed. From the salt curing process, the
21+
> salted duck eggs have a briny aroma, a gelatin-like egg white and a
22+
> firm-textured, round yolk that is bright orange-red in color.
23+
24+
![Chinese Salty Egg](./salty_egg.jpg)
25+
26+
You can also write code blocks here!
27+
28+
```js
29+
const saltyDuckEgg = "chinese preserved food product"
30+
```
31+
32+
| Number | Title | Year |
33+
| :----- | :--------------------------------------- | ---: |
34+
| 1 | Harry Potter and the Philosopher’s Stone | 2001 |
35+
| 2 | Harry Potter and the Chamber of Secrets | 2002 |
36+
| 3 | Harry Potter and the Prisoner of Azkaban | 2004 |
37+
38+
[View raw (TEST.md)](https://raw.github.com/adamschwartz/github-markdown-kitchen-sink/master/README.md)
39+
40+
This is a paragraph.
41+
42+
This is a paragraph.
43+
44+
# Header 1
45+
46+
## Header 2
47+
48+
Header 1
49+
========
50+
51+
Header 2
52+
--------
53+
54+
# Header 1
55+
56+
## Header 2
57+
58+
### Header 3
59+
60+
#### Header 4
61+
62+
##### Header 5
63+
64+
###### Header 6
65+
66+
# Header 1
67+
## Header 2
68+
### Header 3
69+
#### Header 4
70+
##### Header 5
71+
###### Header 6
72+
73+
# Header 1
74+
75+
## Header 2
76+
77+
### Header 3
78+
79+
#### Header 4
80+
81+
##### Header 5
82+
83+
###### Header 6
84+
85+
# Header 1 #
86+
## Header 2 ##
87+
### Header 3 ###
88+
#### Header 4 ####
89+
##### Header 5 #####
90+
###### Header 6 ######
91+
92+
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
93+
94+
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
95+
96+
> ## This is a header.
97+
>
98+
> 1. This is the first list item.
99+
> 2. This is the second list item.
100+
>
101+
> Here's some example code:
102+
>
103+
> Markdown.generate();
104+
105+
> ## This is a header.
106+
> 1. This is the first list item.
107+
> 2. This is the second list item.
108+
>
109+
> Here's some example code:
110+
>
111+
> Markdown.generate();
112+
113+
- Red
114+
- Green
115+
- Blue
116+
117+
* Red
118+
* Green
119+
* Blue
120+
121+
- Red
122+
- Green
123+
- Blue
124+
125+
```markdown
126+
- Red
127+
- Green
128+
- Blue
129+
130+
* Red
131+
* Green
132+
* Blue
133+
134+
- Red
135+
- Green
136+
- Blue
137+
```
138+
139+
- `code goes` here in this line
140+
- **bold** goes here
141+
142+
```markdown
143+
- `code goes` here in this line
144+
- **bold** goes here
145+
```
146+
147+
1. Buy flour and salt
148+
1. Mix together with water
149+
1. Bake
150+
151+
```markdown
152+
1. Buy flour and salt
153+
1. Mix together with water
154+
1. Bake
155+
```
156+
157+
1. `code goes` here in this line
158+
1. **bold** goes here
159+
160+
```markdown
161+
1. `code goes` here in this line
162+
1. **bold** goes here
163+
```
164+
165+
Paragraph:
166+
167+
Code
168+
169+
<!-- -->
170+
171+
Paragraph:
172+
173+
Code
174+
175+
---
176+
177+
---
178+
179+
---
180+
181+
---
182+
183+
---
184+
185+
* * *
186+
187+
***
188+
189+
*****
190+
191+
- - -
192+
193+
---------------------------------------
194+
195+
This is [an example](http://example.com "Example") link.
196+
197+
[This link](http://example.com) has no title attr.
198+
199+
This is [an example][id] reference-style link.
200+
201+
[id]: http://example.com "Optional Title"
202+
203+
This is [an example](http://example.com "Example") link.
204+
205+
[This link](http://example.com) has no title attr.
206+
207+
This is [an example] [id] reference-style link.
208+
209+
[id]: http://example.com "Optional Title"
210+
211+
_single asterisks_
212+
213+
_single underscores_
214+
215+
**double asterisks**
216+
217+
**double underscores**
218+
219+
*single asterisks*
220+
221+
_single underscores_
222+
223+
**double asterisks**
224+
225+
__double underscores__
226+
227+
This paragraph has some `code` in it.
228+
229+
This paragraph has some `code` in it.
230+
231+
![Alt Text](https://placehold.it/200x50 "Image Title")
232+
233+
![Alt Text](https://placehold.it/200x50 "Image Title")
668 KB
Loading

content/blog/my-second-post/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: My Second Post!
3+
date: "2015-05-06T23:46:37.121Z"
4+
authors: [{lastname: "Hitch",
5+
firstname: "Hanna"}]
6+
---
7+
8+
Wow! I love blogging so much already.
9+
10+
Did you know that "despite its name, salted duck eggs can also be made from
11+
chicken eggs, though the taste and texture will be somewhat different, and the
12+
egg yolk will be less rich."?
13+
([Wikipedia Link](https://en.wikipedia.org/wiki/Salted_duck_egg))
14+
15+
Yeah, I didn't either.

0 commit comments

Comments
 (0)