jekyll-theme

Why are site variables in a Jekyll remote_theme's `_config` file not accessible?

两盒软妹~` 提交于 2020-02-06 07:49:09
问题 According to this, "Jekyll will read-in a _config.yml at the root of the theme-gem and merge its data into the site’s existing configuration data." But I've created a theme with a config that looks like this: And I'm referencing the variables like this in my theme's css: (Notice empty frontmatter and liquid tag on last line.) And the result comes out like this in the rendered site: (Notice the emptystring where my liquid tag used to be.) If I put the variables in the _config of my site rather

Why is the 'post' layout missing from so many themes?

那年仲夏 提交于 2020-01-23 03:35:10
问题 I used the WordPress plugin "WordPress to Jekyll Exporter" to convert my WordPress blog to a Jekyll blog. All posts had front matter that included: layout: post But all the themes I've tested other than the default minima theme apparently do not have this post layout, because I get error messages like this from the Jekyll server for every post: Build Warning: Layout 'post' requested in _posts/2015-11-07-the-case-for-nested-methods-in-ruby.md does not exist. What's happening here? Are all the

Using jekyll with gitlab pages, it says when it's deploying the website with gitlab CI that theme could not be found, and I already installed it

倾然丶 夕夏残阳落幕 提交于 2019-12-25 01:53:42
问题 My objetive To have a repository with the jekyll site configuration files (but not the _site), and each time I push to the repository, a gitlab pipeline runs. With that pipeline, the site is build with Jekyll (I'm using this theme https://github.com/mmistakes/jekyll-theme-basically-basic) A quick view on the essential files which I'm troubling with Gemfile source "https://rubygems.org" # Hello! This is where you manage which Jekyll version is used to run. # When you want to use a different

Changing the font in Jekyll Minima (default) theme

倖福魔咒の 提交于 2019-12-11 13:46:08
问题 I've started experimenting with Jekyll a little bit, and looking at how it works. So far it's a bit confusing. First of all, the minima theme properties are bundled in a gem , and are hidden from initial view. So I've copied over minima-2.5.0/_sass/minima.scss to my created project directory, which is supposed to override the default config. Inside that variabe file, I see the following main font variable: $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,

Why is the 'post' layout missing from so many themes?

纵饮孤独 提交于 2019-12-04 18:33:41
I used the WordPress plugin "WordPress to Jekyll Exporter" to convert my WordPress blog to a Jekyll blog. All posts had front matter that included: layout: post But all the themes I've tested other than the default minima theme apparently do not have this post layout, because I get error messages like this from the Jekyll server for every post: Build Warning: Layout 'post' requested in _posts/2015-11-07-the-case-for-nested-methods-in-ruby.md does not exist. What's happening here? Are all the themes intended for web sites that are not blogs? Is there a simple fix for this? My higher level goal