Skip to content

Commit

Permalink
Merge branch 'master' into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Aug 25, 2017
2 parents b5c6339 + 95249c9 commit 5765396
Show file tree
Hide file tree
Showing 103 changed files with 3,538 additions and 7,640 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Websites built with Gatbsy:
* [Damir.io](http://damir.io/) [(source)](https://github.com/dvzrd/gatsby-sfiction)
* [Ruben's Blog](https://vagr9k.me/) [(source)](https://github.com/Vagr9K/Blog)
* [Kostas Bariotis' Blog](https://kostasbariotis.com/) [(source)](https://github.com/kbariotis/kostasbariotis.com)
* [Travellers.cafe](https://travellers.cafe/)

## Docs

Expand Down
8 changes: 8 additions & 0 deletions cds-takeaways.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* preload at top of page for resources ala flipkart
* marketing points — cost of aquisition, boosts from switching
to PWA.
* sites to copy — NASA website + polymer shop but for Packard cars
* On GraphQL errors — print the query plus where it came from and give
them the link to debug it in GraphiQL
* AggressiveSplitPlugin — limit max chunk size to 250kb.
* SW render-dom-stream and stream HTML to browser.
35 changes: 35 additions & 0 deletions data-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
new SourceDirectory({
parsers: [
{
typeName: 'blogPosts',
plugin: 'gatsby-source-markdown',
selector: '(*.md|*.markdown}',
},
{
typeName: '',
plugin: 'gatsby-source-markdown',
selector: '(*.md|*.markdown}',
},
]
})

Just copy Jekyll?

/content -> markdown
/data -> yaml, csv, toml, json

With each parsers already setup. For data, the default is that each data
file is it's own type derived from the name of the file.

So file sources that have many things in one file — type === fileName
For file sources where each thing is a file — type is directory based.

Look by default for pages in /pages
but this is again just a plugin so you can add other directory sources
if desired.

composable themes? So have a base gatsby theme that has this minimal
jekyll-esque setup?

Other themes can build on top of it or of course there could be other
base themes.
Loading

0 comments on commit 5765396

Please sign in to comment.