Open kitian616 opened 6 years ago
Hi, thank you for your theme. I'm trying to use it but it gives me this error. Can you help?
~/chuleh.github.io [new-theme●] » bundle exec jekyll serve Configuration file: /Users/chuleh/chuleh.github.io/_config.yml Source: /Users/chuleh/chuleh.github.io Destination: /Users/chuleh/chuleh.github.io/_site Incremental build: disabled. Enable with --incremental Generating... Build Warning: Layout 'default' requested in 404.html does not exist. Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/blog.scss': File to import not found or unreadable: colors/. Load path: /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-text-theme-1.5.0/_sass on line 4 jekyll 3.8.2 | Error: File to import not found or unreadable: colors/. Load path: /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-text-theme-1.5.0/_sass on line 4
@chuleh Hi, thank you for your theme. I'm trying to use it but it gives me this error. Can you help?
~/chuleh.github.io [new-theme●] » bundle exec jekyll serve Configuration file: /Users/chuleh/chuleh.github.io/_config.yml Source: /Users/chuleh/chuleh.github.io Destination: /Users/chuleh/chuleh.github.io/_site Incremental build: disabled. Enable with --incremental Generating... Build Warning: Layout 'default' requested in 404.html does not exist. Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/blog.scss': File to import not found or unreadable: colors/. Load path: /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-text-theme-1.5.0/_sass on line 4 jekyll 3.8.2 | Error: File to import not found or unreadable: colors/. Load path: /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-text-theme-1.5.0/_sass on line 4
TeXt don't have a default layout, use 404 instead.
I don't know how you write your config, in TeXt color-theme is default to default
, but you got a .
.
Hi Tian Qi,
I'm trying to use you theme but run into issues. The so called common way of installing works. However I want to use the ruby gem method. It feel as if there is something missing in your instruction. I've got two questions:
1) how do you set up site using your theme (using ruby gem method) from scratch? 2) how do you modify an exsisting site to (using the ruby gem method) to use your theme?
It seems your "Setup Your Site" section is missing something, could that be? When I start with an empty, new minimal jekyll site I get similar problems as @chuleh.
When I try to modify an exsisting site (copying the content of test) I get this:
jan@nyx:~/webdev$ cd the.nerderlands.net
jan@nyx:~/webdev/the.nerderlands.net$ bundle exec jekyll serve
Unable to find a spec satisfying tzinfo-data (>= 0) in the set. Perhaps the lockfile is corrupted?
Run `bundle install` to install missing gems.
jan@nyx:~/webdev/the.nerderlands.net$ bundle install
Unable to find a spec satisfying tzinfo-data (>= 0) in the set. Perhaps the lockfile is corrupted?
jan@nyx:~/webdev/the.nerderlands.net$ bundle exec jekyll serve
Unable to find a spec satisfying tzinfo-data (>= 0) in the set. Perhaps the lockfile is corrupted?
Run `bundle install` to install missing gems.
谢谢
Oh I found the problem,...
Your Gemfile should contain:
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
instead of:
gem "tzinfo-data"
看着很不舒服,能否改成普通的分割线
@chunchengwei
markdown的分割线显示出来是 三个点
看着很不舒服,能否改成普通的分割线
一般情况下,TeXt 不会再去修改现有的样式,你可以自行更改。
嗯嗯,我已经改了。有需要的可以参考一下:
不知道怎么添加文件,就直接给出了博客的链接
修改文件:_sass/common/classes/_horizontal-rules.scss
我的修改成了如下:
@mixin horizontal-rules() {
// border-bottom: 1px dashed #8c8b8b;
border-bottom: 1px dashed $text-color-l;
&::after {
content: '\002702';
display: inline-block;
position: relative;
top: 21px;
left: 40px;
padding: 0 3px;
background: #ffffff;
color: $text-color-l;
font-size: map-get($base, font-size-h3);
}
}
.horizontal-rules {
@include horizontal-rules();
}
@chunchengwei 嗯嗯,我已经改了。有需要的可以参考一下:
修改后的效果如下:
不知道怎么添加文件,就直接给出了博客的链接
修改方法
修改文件:_sass/common/classes/_horizontal-rules.scss
我的修改成了如下:
@mixin horizontal-rules() { // border-bottom: 1px dashed #8c8b8b; border-bottom: 1px dashed $text-color-l; &::after { content: '\002702'; display: inline-block; position: relative; top: 21px; left: 40px; padding: 0 3px; background: #ffffff; color: $text-color-l; font-size: map-get($base, font-size-h3); } } .horizontal-rules { @include horizontal-rules(); }
👍👍👍
Thank you for making such a nice theme.
I am trying to adapt it to my purpose of keeping everything in a docs
folder and using the site mainly for capturing notes in pages. Unfortunately I cannot figure out the folder structure and _config.yml
contents.
My directory structure is as follows:
Gemfile
Gemfile.lock
index.html
archive.html
404.html
about.md
_config.yml
_data/
├- licenses.yml
├- locale.yml
├- navigation.yml
└ variables.yml
docs/
|--pages
|--articles
|--posts
Is it possible?
@amzpka Thank you for making such a nice theme.
I am trying to adapt it to my purpose of keeping everything in adocs
folder and using the site mainly for capturing notes in pages. Unfortunately I cannot figure out the folder structure and_config.yml
contents.My directory structure is as follows:
Gemfile Gemfile.lock index.html archive.html 404.html about.md _config.yml _data/ ├- licenses.yml ├- locale.yml ├- navigation.yml └ variables.yml docs/ |--pages |--articles |--posts
Is it possible?
refer to THIS
@chunchengwei 嗯嗯,我已经改了。有需要的可以参考一下:
修改后的效果如下:
不知道怎么添加文件,就直接给出了博客的链接
修改方法
修改文件:_sass/common/classes/_horizontal-rules.scss
我的修改成了如下:
@mixin horizontal-rules() { // border-bottom: 1px dashed #8c8b8b; border-bottom: 1px dashed $text-color-l; &::after { content: '\002702'; display: inline-block; position: relative; top: 21px; left: 40px; padding: 0 3px; background: #ffffff; color: $text-color-l; font-size: map-get($base, font-size-h3); } } .horizontal-rules { @include horizontal-rules(); }
这个修改在分割线上显示的剪刀怎么只上一半。。。
我想要本地预览一下写好的网页——
但是我在根目录,如JayeFu.github.io/
下执行bundle exec jekyll serve
,会报错
Could not find gem 'rake (~> 10.0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
但是当我执行gem install rake
的时候,会显示
Successfully installed rake-12.3.3
Parsing documentation for rake-12.3.3
Done installing documentation for rake after 0 seconds
1 gem installed
请问这是什么原因呢?蟹蟹~~
@JayeFu 我想要本地预览一下写好的网页—— 但是我在根目录,如
JayeFu.github.io/
下执行bundle exec jekyll serve
,会报错Could not find gem 'rake (~> 10.0)' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
但是当我执行
gem install rake
的时候,会显示Successfully installed rake-12.3.3 Parsing documentation for rake-12.3.3 Done installing documentation for rake after 0 seconds 1 gem installed
请问这是什么原因呢?蟹蟹~~
我的方法是把所有~>
改成>=
这个方法应该具有一定的普适性
Could you tell me how I can set up index.html to be a landing page like yours: https://tianqi.name/jekyll-TeXt-theme/
@james-york check this file out:
https://github.com/kitian616/jekyll-TeXt-theme/blob/master/docs/landing.html
@2403772980ygy @james-york check this file out:
https://github.com/kitian616/jekyll-TeXt-theme/blob/master/docs/landing.html
Thanks, I will!
Hi 我在执行 bundle exec jekyll server 的报了如下的错误:
▶ bundle exec jekyll server
......
Generating...
Jekyll Feed: Generating feed for posts
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Error: File to import not found or unreadable: skins/. on line 1:1 of main.scss >> @import ^
------------------------------------------------
Jekyll 4.0.1 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
不知道是为什么。
Hi, I followed your instructions to install via the Gemfile method, and I can run the site locally, but I get a completely blank page output on Github Pages. Am I missing something? The source code is here. Thanks!
Edit: Nevermind, I found the problem. I had to use the remote_theme:
line instead of theme:
line in the _config.yml
file.
Hi, I am trying to add new categories, but one thing is hard to understand. There is "archive.html" under the main folder, but there is not "about.html". How the address points to non-existing file? Only "about.md" exists.
@wonzin about.html
is auto-generated from about.md
by Jekyll
Just setup my website with Jekyll TeXt theme 2.x, also did some customization. It turns out pretty nice! Just show off -:) CodeByCase
https://tianqi.name/jekyll-TeXt-theme/docs/en/quick-start
A customizable Jekyll theme for your blog or site