ybbarng
1995b25ba3
Get siteMetadata via GraphQL
...
It is important that decoupling between node code and browser code.
The 'gatsby-config.js' file must be kept in node code, but it exposed
into browser code because of the Disqus module.
To decouple this, all of the siteMetadata information is served via
GraphQL.
This commit has this change.
2018-02-06 17:45:30 +09:00
Alexander Shelepenok
35c31a25fa
Merge pull request #50 from marktani/master
...
Fixed two typos.
2018-02-03 21:32:43 +03:00
Nilan Marktanner
7c696b3da2
Fixed two typos.
2018-02-03 19:09:59 +01:00
wpioneer
ee8abe910e
Update contributors list
2018-01-31 02:12:19 +03:00
Alexander Shelepenok
313dba728a
Merge pull request #49 from marktani/patch-1
...
fix twitter link in post details
2018-01-30 21:50:45 +03:00
Nilan Marktanner
6a9e8e8641
fix twitter link in post details
2018-01-30 19:39:56 +01:00
wpioneer
9cf753b94b
Added Google Fonts support
2018-01-21 18:54:33 +03:00
wpioneer
69d2834bee
Update badges
2018-01-21 03:36:29 +03:00
wpioneer
1e24cfbee1
Update badges
2018-01-21 03:35:42 +03:00
wpioneer
35d5d7c244
New version
2018-01-21 03:03:59 +03:00
wpioneer
4bab6c4260
Update README.md
2018-01-21 03:00:20 +03:00
wpioneer
a35d413b35
Update eslint config
2018-01-21 02:59:25 +03:00
wpioneer
b0d55f18df
Update .prettierignore
2018-01-21 02:58:37 +03:00
wpioneer
45cec1fa3f
Update dependencies
2018-01-21 02:57:29 +03:00
wpioneer
707aa76352
Update LICENSE
2018-01-21 02:56:20 +03:00
wpioneer
d76983c37c
New release
2017-10-31 00:26:01 +03:00
wpioneer
603c4ac134
Add url-loader
2017-10-31 00:25:25 +03:00
wpioneer
ee6a7c8c50
Up gatsby version
2017-10-30 22:10:02 +03:00
wpioneer
30feb43939
Add .prettierignore
2017-10-30 22:02:16 +03:00
wpioneer
c532df86b7
Add prettier
2017-10-30 21:36:07 +03:00
wpioneer
f015acca40
Upgrade dependencies
2017-10-30 21:33:01 +03:00
wpioneer
ce4665435e
Ignore yarn.lock
2017-10-30 21:21:12 +03:00
wpioneer
bb3b0ff582
Add .prettierrc
2017-10-30 21:19:06 +03:00
wpioneer
8969d717c2
Update contributors list
2017-10-30 21:15:09 +03:00
Alexander Shelepenok
b5daed447e
Merge pull request #43 from marcelabomfim/master
...
Disqus support
2017-10-30 19:15:44 +02:00
Alexander Shelepenok
4ad32fb854
Merge pull request #45 from ybbarng/master
...
Fixes a crash when a post has no tag
2017-10-30 17:57:38 +02:00
Alexander Shelepenok
498d871326
Merge branch 'master' into master
2017-10-30 17:48:08 +02:00
Alexander Shelepenok
598ff4be53
Merge pull request #44 from codejet/codejet-patch-1
...
Fix tiny typo
2017-10-30 17:36:53 +02:00
Alexander Shelepenok
79029ca7bc
Merge pull request #42 from wichopy/fix-links-component
...
Fix hrefs for github, twitter and vk links in Links component.
2017-10-30 17:35:05 +02:00
ybbarng
d207f68e43
Fixes a crash when a post has no tag
...
This commit avoids undefined.map() or null.map() is calling.
When there is no tag in a post, there are two cases in frontmatter.
1)
title: title
categories: Technical
...
2)
title: title
tags:
categories: Technical
...
Let's look at `post.node.frontmatter.tags` in both situations.
`FILE1 = /gatsby-node.js`
`FILE2 = /src/components/PostTemplateDetails/index.jsx`
In the first case, it is `undefined` in `FILE1`.
Cheking `undefined` is already implemented at FILE1#126, so undefined.map()
is not called.
But it is `null` in `FILE2#22`
and a crash will be occurred because it tries to run `null.map()`.
In the second case, it is `null` in `FILE1` and `FILE2`.
In this case, there will be two crashes in both files because both codes
try to run `null.map()`.
This commit avoids these crashes.
2017-10-30 23:25:49 +09:00
Oliver Schmidt
2d8910b310
Fix tiny typo
2017-10-25 16:53:09 +02:00
Marcela Bomfim
90c7ab5af8
Updating Disqus dependency version
2017-10-19 18:09:06 -02:00
Marcela Bomfim
a95ee0d052
Updating README.md with Disqus and new contributor
2017-10-10 13:28:24 -03:00
Marcela Bomfim
a0fcc33115
Adding Disqus comments on post template
2017-10-10 11:53:14 -03:00
william chou
e0b3792288
Fix hrefs for github, twitter and vk links in Links component.
2017-09-13 23:47:56 -04:00
A. Shelepenok
dbba39f0ab
Merge pull request #39 from alxshelepenok/1.8.12-refactoring
...
refactoring
2017-08-21 22:36:16 +03:00
wpioneer
dede3478bc
change mass_threshold
2017-08-21 22:35:02 +03:00
wpioneer
068f01aa3c
disable check react/require-default-props
2017-08-21 22:18:06 +03:00
wpioneer
29c019ccdb
disable check react/require-default-props
2017-08-21 22:12:35 +03:00
wpioneer
4971a3b214
update .codeclimate.yml, .eslintrc
2017-08-21 03:11:59 +03:00
wpioneer
32534e10e0
fix similar code issues
2017-08-21 01:28:46 +03:00
wpioneer
32c63d4aaf
Add codeclimate config
2017-08-20 21:42:05 +03:00
A. Shelepenok
5cc516ffb5
Merge pull request #38 from alxshelepenok/1.8.12
...
Version 2.0
2017-08-20 21:32:41 +03:00
wpioneer
fae299831e
Add Codeclimate badge to readme.md
2017-08-20 21:29:55 +03:00
wpioneer
191a852ac9
Remove .project file, add codeclimate badge, update .gitattributes
2017-08-20 21:26:17 +03:00
wpioneer
a2f8738ea6
🔖 Upgrade to Gatsby 1.8.12
2017-08-20 14:43:49 +03:00
wpioneer
88481e75f0
Update public email, add repository
2017-06-08 03:07:27 +03:00
Alexander S
c8e68a2138
Merge pull request #33 from abisz/linting
...
Linting
2017-03-08 22:49:29 +02:00
Simon Reinsperger
b52d4a7123
merge
2017-03-08 17:59:10 +01:00
Simon Reinsperger
9ace1405f8
refactor: fixes linting errors components/SiteSidebar/index.jsx
2017-03-08 17:53:24 +01:00