├── .editorconfig
├── .eslintignore
├── .eslintrc.js
├── .ghost.json
├── .github
└── FUNDING.yml
├── .gitignore
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── gatsby-config.js
├── mediaConfig.js
├── netlify.toml
├── package.json
├── routesConfig.js
├── siteConfig.js
├── src
└── images
│ └── site-meta.png
├── starters.yml
├── static
├── favicon.ico
├── favicon.png
├── images
│ └── logo.svg
└── robots.txt
└── yarn.lock
/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 |
3 | root = true
4 |
5 | [*]
6 | charset = utf-8
7 | indent_style = space
8 | indent_size = 4
9 | end_of_line = lf
10 | insert_final_newline = true
11 | trim_trailing_whitespace = true
12 |
13 | [*.hbs]
14 | insert_final_newline = false
15 |
16 | [*.json]
17 | indent_size = 2
18 |
19 | [*.md]
20 | trim_trailing_whitespace = false
21 |
22 | [*.{yml,yaml}]
23 | indent_size = 2
24 |
25 | [Makefile]
26 | indent_style = tab
27 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | public/**
2 | plugins/**/*.js
3 | plugins/*/node_modules/*
4 | !plugins/*/src/*.js
5 | content/**
6 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | 'parser': 'babel-eslint',
3 | 'parserOptions': {
4 | 'ecmaVersion': 6,
5 | 'ecmaFeatures': {
6 | 'jsx': true,
7 | 'experimentalObjectRestSpread': true
8 | }
9 | },
10 | plugins: ['ghost', 'react'],
11 | extends: [
12 | 'plugin:ghost/node',
13 | 'plugin:ghost/ember',
14 | 'plugin:react/recommended'
15 | ],
16 | "settings": {
17 | "react": {
18 | "createClass": "createReactClass",
19 | "pragma": "React",
20 | "version": "16.0",
21 | "flowVersion": "0.53"
22 | },
23 | "propWrapperFunctions": ["forbidExtraProps"]
24 | },
25 | "rules": {
26 | "ghost/sort-imports-es6-autofix/sort-imports-es6": "off",
27 | "ghost/ember/use-ember-get-and-set": "off",
28 | "no-console": "off",
29 | "no-inner-declarations": "off",
30 | "valid-jsdoc": "off",
31 | "require-jsdoc": "off",
32 | "quotes": ["error", "backtick"],
33 | "consistent-return": ["error"],
34 | "arrow-body-style": [
35 | "error",
36 | "as-needed",
37 | { "requireReturnForObjectLiteral": true }
38 | ],
39 | "jsx-quotes": ["error", "prefer-double"],
40 | "semi": ["error", "never"],
41 | "object-curly-spacing": ["error", "always"],
42 | "comma-dangle": [
43 | "error",
44 | {
45 | "arrays": "always-multiline",
46 | "objects": "always-multiline",
47 | "imports": "always-multiline",
48 | "exports": "always-multiline",
49 | "functions": "ignore"
50 | }
51 | ],
52 | "react/prop-types": [
53 | "error",
54 | {
55 | "ignore": ["children"]
56 | }
57 | ]
58 | }
59 | };
60 |
--------------------------------------------------------------------------------
/.ghost.json:
--------------------------------------------------------------------------------
1 | {
2 | "development": {
3 | "apiUrl": "https://valdymas.medeinos.lt",
4 | "contentApiKey": "e3ec7b18ad58b7795bb82f2a15"
5 | },
6 | "production": {
7 | "apiUrl": "https://valdymas.medeinos.lt",
8 | "contentApiKey": "e3ec7b18ad58b7795bb82f2a15"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: [styxlab]
4 | open_collective: jamify-cloud
5 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Node template
2 |
3 | # Logs
4 | logs
5 | *.log
6 | npm-debug.log*
7 | yarn-debug.log*
8 | yarn-error.log*
9 |
10 | # Runtime data
11 | pids
12 | *.pid
13 | *.seed
14 | *.pid.lock
15 |
16 | # Directory for instrumented libs generated by jscoverage/JSCover
17 | lib-cov
18 |
19 | # Coverage directory used by tools like istanbul
20 | coverage
21 |
22 | # nyc test coverage
23 | .nyc_output
24 |
25 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26 | .grunt
27 |
28 | # Bower dependency directory (https://bower.io/)
29 | bower_components
30 |
31 | # node-waf configuration
32 | .lock-wscript
33 |
34 | # Compiled binary addons (https://nodejs.org/api/addons.html)
35 | build/Release
36 |
37 | # Dependency directories
38 | node_modules/
39 | jspm_packages/
40 |
41 | # Typescript v1 declaration files
42 | typings/
43 |
44 | # Optional npm cache directory
45 | .npm
46 |
47 | # Optional eslint cache
48 | .eslintcache
49 |
50 | # Optional REPL history
51 | .node_repl_history
52 |
53 | # Output of 'npm pack'
54 | *.tgz
55 |
56 | # Yarn Integrity file
57 | .yarn-integrity
58 |
59 | # dotenv environment variables file
60 | .env
61 |
62 | # IDE
63 | .idea/*
64 | *.iml
65 | *.sublime-*
66 |
67 | # OSX
68 | .DS_Store
69 | .vscode
70 |
71 | # Docs Custom
72 | .cache/
73 | public
74 | yarn-error.log
75 | .netlify/
76 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributors welcome!
2 |
3 | As the interest in this project is rising, I want to list some ideas on how you can easily make a contribution. Just pick one area where you feel most skilled and don't forget to [coordinate with me](https://atmolabs.org/contact/), so your contribution receives full recognition.
4 |
5 | # Write a blog article
6 |
7 | Once you start using `gatsby-theme-try-ghost` or one of its addons, you'll naturally build some knowledge about how to use it. You may also come across some hurdles, see things you like or dislike, find out new things etc. Why not share your experience with others?
8 |
9 | You can help this project tremendously by writing a blog article about your experience using this repo, or you make a speed comparison with other blog solutions, or show others how to overcome the hurdles you came across. I'm sure you have even more ideas, as you are most likely already running a blog!
10 |
11 | # Test in different scenarios
12 |
13 | Sourcing in your own content is a first test, as your content may contain elements which are not in our standard demo pages. The build should always succeed, but you may notice something on your site which doesn't quite come through as expected. It might be a wrong meta tag, it might be a displaced image or a colour glitch.
14 |
15 | Please open an [issue on Github](https://github.com/styxlab/gatsby-theme-try-ghost/issues), so this can be corrected in one of the next releases. If you know how to solve it yourself, you can of course also issue a pull request. There are also very different scenarios, where we rely on you reporting an issue. Make tests on different browsers, on desktop or mobile or with different screen sizes to name a few.
16 |
17 | # Improve existing plugins
18 |
19 | When you start using the plugins, you might feel that an important feature or configuration option is missing. Adding a new option to an existing plugin is usually easier than writing something from scratch. So, this is also a good place for first time contributors.
20 |
21 | For example, the [gatsby-rehype-prismjs](https://github.com/styxlab/gatsby-theme-try-ghost/tree/master/packages/gatsby-rehype-prismjs) plugin could be improved to better support dark mode, font sizing, code highlighting and code numbering. This is just *one* starting point, start by improving plugins you need most in *your own* projects.
22 |
23 | # Make a new plugin
24 |
25 | It's always rewarding to write a new plugin as you really see your own accomplishments. Again, choose something that is missing in your own project. Some obvious plugins that are currently missing are:
26 |
27 | - Social link plugin (social links can be more easily added and configured)
28 | - Google AMP pages
29 | - Search plugin (UI and backend)
30 | - About page (similar to [gatsby-theme-ghost-contact](https://github.com/styxlab/gatsby-theme-try-ghost/tree/master/packages/gatsby-theme-ghost-contact))
31 | - Gatsby images within content areas
32 |
33 | # Write unit tests
34 |
35 | In order to make this repository more robust and to being able to handle more contributions, unit tests would be a great addition. If you have some prior experience about writing unit tests you are very welcome to add unit tests to this repository.
36 |
37 | # Where to go from here?
38 |
39 | If you have picked your area, a specific task or an idea where you want to contribute, just [get in contact](https://atmolabs.org/contact/), so we can coordinate.
40 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 styxlab
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |