Closed keunes closed 3 years ago
Sorry, deleting the Gemfile
did the trick. Now on to moving over stuff I had adjusted, to the new site. And re-adding _config.yml
stuff from the theme.
Actually, I had to add the gem kramdown-parser-gfm
to my Gemfile
before the project could be built:
Dependency Error: Yikes! It looks like you don't have kramdown-parser-gfm or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- kramdown-parser-gfm' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2021-08-20-welcome-to-jekyll.markdown':
kramdown-parser-gfm
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
kramdown-parser-gfm
I believe that 'Welcome to Jekyll' post is there by default when creating a new site. Could this dependency be caused by the highlight or the link code?
{% highlight ruby %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
{% include elements/button.html link="https://github.com" text="GitHub" style="primary" size="sm" %}
[jekyll-docs]: https://jekyllrb.com/docs/home
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-talk]: https://talk.jekyllrb.com/
In order to make stuff easier in future (in case of theme updates), I wanted to create a new site that relies on the theme gem (rather than having the theme files in my site folder).
If this is what you are looking for, consider using it as a remote_theme
as it's mentioned in the docs.
Hello,
In order to make stuff easier in future (in case of theme updates), I wanted to create a new site that relies on the theme gem (rather than having the theme files in my site folder).
So I did:
I then updated
_config.yml
: Changedtheme: minima
intotheme: portfolYOU
And I updated
Gemfile
: 1 Commented outgem "jekyll"
2 Changedgem "minima", "~> 2.5"
intogem "portfolyou-jekyll-theme"
Then tried to ' bundle' the new configuration, but I get a dependency error:
Anything I'm doing wrong? Or are there theme dependencies not correct?