-
Notifications
You must be signed in to change notification settings - Fork 1
Jekyll replacement #1
Comments
Interested to see how you feel about Gatsby. Trying to decide between the two myself as I overhaul my site. |
I like Gatsby for a lot of things, but it's still early days for me to replace Jekyll with it (at least on my personal site). If you have a fairly simple site I think it's a no-brainer to use. What I really like is how you can cleanup your Markdown files and remove a lot of custom tags and includes I'd typically use Jekyll filters for. I really like how Gatsby has transformers to take images written in standard Markdown (eg. GraphQL is really great and that's another reason that's drawn me to Gatsby. I like the idea of being able to pull in all sorts of content from different sources and then query for what I need in the page generation process. I don't really use React so that's not that big of a driver for me, but I do like the modern tooling behind Gatsby. Especially its focus on building performat pages... auto critical CSS, responsive images, etc. What I don't like so much about Gatsby is the extra effort you have to put into doing some simple things Jekyll and other static-site generators take for granted. Gatsby is hands-off on a lot of things leaving it up to you on how you want to implement things. Which is nice, but also a pain if you have no clue how to write the necessary Javascript to do what you want. For example, permalinks. I haven't really seen any Gatsby starters that handle them as well as Jekyll does. The examples I've seen are you either format your filenames in a certain way, or manually specify the path in front matter. There's some other minor things missing with remark (its Markdown parser of choice). From what I've learned remark has a lot of plugins to do many of the things I'm used to Kramdown supported, but they're not available to Gatsby yet. I'm definitely keeping an eye on Gatsby as things get more fleshed out. |
Thanks for the info! I may have to give it more of a look now since I'll
basically be starting from the ground up and fleshing out as I go along.
Another generator I've been looking at is Hugo which seems to be on the
up-and-up. Similar vision to Gatsby with focusing on performance and
scaling but a little different approach using Go. I feel like my biggest
hurdle right now is getting a new dev environment set up using Docker on
windows since I have no experience with it prior haha.
…On Sun, Oct 22, 2017 at 10:34 AM Michael Rose ***@***.***> wrote:
I like Gatsby for a lot of things, but it's still early days for me to
replace Jekyll with it (at least on my personal site). If you have a fairly
simple site I think it's a no-brainer to use.
What I really like is how you can cleanup your Markdown files and remove a
lot of custom tags and includes I'd typically use Jekyll filters for. I
really like how Gatsby has transformers to take images written in standard
Markdown (eg.  and can convert that into an <img>
tag with all the responsive goodness of srcset... generating all of the
appropriately sized images as well.
GraphQL is really great and that's another reason that's drawn me to
Gatsby. I like the idea of being able to pull in all sorts of content from
different sources and then query for what I need in the page generation
process.
I don't really use React so that big of it doesn't really appeal to me,
but I do like the modern tooling behind Gatsby. Especially its focus on
building performat pages... auto critical CSS, responsive images, etc.
What I don't like so much about Gatsby is the extra effort you have to put
into doing some simple things Jekyll and other static-site generators take
for granted. Gatsby is hands-off on a lot of things leaving it up to you on
how you want to implement things. Which is nice, but also a pain if you
have no clue how to write the necessary Javascript to do what you want.
For example, permalinks. I haven't really seen any Gatsby starters that
handle them as well as Jekyll does. The examples I've seen are you either
format your filenames in a certain way, or manually specify the path in
front matter.
There's some other minor things missing with remark (its Markdown parser
of choice). From what I've learned remark has a lot of plugins
<https://github.com/wooorm/remark/blob/master/doc/plugins.md> to do many
of the things I'm used to Kramdown supported, but they're not available to
Gatsby yet.
I'm definitely keeping an eye on Gatsby as things get more fleshed out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARl6mnybA_qC2s42XzzzKJoGaj5hQNbxks5su26ggaJpZM4PtpdQ>
.
|
Hugo is a solid choice and like Jekyll is fully featured and fleshed out. I'm not as big of a fan of its templating language,but would be willing to look past that because it's extremely fast at building HTML files. |
Gatsby 2.0.0-beta.4
Built in ~14 minutes, which is great considering the Jekyll version of this builds in ~18 minutes and only generates 5,180 images. Unfortunately trying to build paginated category and tag pages using front matter data in the 950 posts breaks the build with an out of memory error.
|
Using the following build script helps with OOM issues: {
"scripts": {
"build": "node --max_old_space_size=7168 node_modules/gatsby-cli build"
}
}
built in 3689.322 sec |
Migrated to Gatsby https://github.com/mmistakes/made-mistakes-gatsby |
Testing what Gatsby has to offer and how it compares to Jekyll.
Build Speed
Markdown
How well does Kramdown written Markdown convert via remark?
tableOfContents
in graphQLfigure
andfigcaption
elements (remark-captions?)Other
{% figure %}
,{% notice %}
, etc. ~> remark-shortcodes?The text was updated successfully, but these errors were encountered: