cotes2020 / jekyll-theme-chirpy Goto Github PK
View Code? Open in Web Editor NEWA minimal, responsive, and feature-rich Jekyll theme for technical writing.
Home Page: https://chirpy.cotes.page
License: MIT License
A minimal, responsive, and feature-rich Jekyll theme for technical writing.
Home Page: https://chirpy.cotes.page
License: MIT License
Hi,
I am trying to use your theme, but tere is a issue on the script.
$ ./run.sh
Traceback (most recent call last):
File "_scripts/tools/init_all.py", line 10, in
import update_posts_lastmod
File "/srv/jekyll-theme-chirpy/.container/_scripts/tools/update_posts_lastmod.py", line 83
print "[INFO] update 'lastmod' for:" + post
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[INFO] update 'lastmod' for:" + post)?
Following your tutorial, but when in step of running bash run.sh
, some error happened as below:
$ bash run.sh
Traceback (most recent call last):
File "_scripts/py/init_all.py", line 10, in <module>
import update_posts_lastmod
File "/Users/fanghao/Projects/jekyll-theme-chirpy/.container/_scripts/py/update_posts_lastmod.py", line 26, in <module>
from ruamel.yaml import YAML
ModuleNotFoundError: No module named 'ruamel'
Already runned bundle install
successfully, thought I should run gem install ruamel
, but this also error out:
$ gem install ruamel
ERROR: Could not find a valid gem 'ruamel' (>= 0) in any repository
Steps to reproduce:
What might be causing this?
I've executed many times
tools/init.sh
andtools/build.sh
. Before executing tools/run.sh
These errors does not happen when I'm executing the bundle exec jekyll serve
command alone. However I know that your script is way better. So I want to fix this error.
Additional Question
is there a way to contact you via Discord? I have so many questions related to this template's "infrastructure" but don't want to spam the issues.
Which ruamel.yaml Chirpy depends on? ruamel.yaml has changed its API, and I'm trying to find a version that can be used. I'm using Python 3.5.2.
I've tried 0.16.5, 0.15.94, 0.14. Couldn't find the YAML class in them.
$ bash tools/init.sh
Traceback (most recent call last):
File "_scripts/py/init_all.py", line 12, in <module>
import update_posts_lastmod
File "/home/lucas/jekyll-theme-chirpy/_scripts/py/update_posts_lastmod.py", line 28, in <module>
from ruamel.yaml import YAML
ImportError: No module named ruamel.yaml
Describe the bug
The bug is unexpected behaviour when the user is on mobile and returns from navigation.
To Reproduce
Expected behavior
The view should not jump after going to navigation.
Screenshots
Desktop:
Smartphone:
Notes
This bug doesn't occur anywhere else on the page except when at the very bottom.
I have changed the layout in the About page to page/post etc but can't seem to get the Table of contents on the right panel like I do for posts.
I even tinkered around if condition in panel.html and set this to if true and still I can't seem to get the TOC.
{% if page.layout == 'post' and site.toc and page.toc %}
Halp!
How can I show emoji in this theme ?
请问如果将一个分类下的唯一的文章删除后,分类会消失吗
I only need the table of contents on the right side of a post. I grepped for 'trending tags' and if i remove one of them, jekyll won't serve.
get_path 函数在 Windows 下没有返回值,最后得到 NoneType。
I have converted my blogger template
to jekyll template
. On conversion, the layout of an example post will be like
---
layout: post
title: Binding html select using knockoutjs and asp.net mvc
date: '2013-11-25T18:42:00.001+05:30'
author: Naveen
categories:
- asp.net mvc
- javascript
- knockout.js
tags:
- asp.net mvc
- javascript
- knockout.js
modified_time: '2013-11-25T18:54:00.520+05:30'
---
URL: https://codeandcloud.github.io/
The site have these issues
When I run $ bash tools/init.sh
, terminal shows
$ bash tools/init.sh
[INFO] Success to update lastmod for 41 post(s).
warning: LF will be replaced by CRLF in _data/updates.yml.
The file will have its original line endings in your working directory
[master ec06b7d] [Automation] Updated the Lastmod for post(s).
1 file changed, 41 insertions(+), 41 deletions(-)
Updated the Lastmod for post(s).
Its missing
[INFO] Succeed! 3 category-pages created.
[INFO] Succeed! 4 tag-pages created.
Why are those pages not created? What am I doing wrong?
Thanks for this wonderful theme.
First. I am really greatful for your work. And the effort you put into managing issues 👍
Is your feature request related to a problem? Please describe.
I don't see the point of having the tags in the Toc without the number of how many posts with particular tag there are (After hoover)
The same thing goes to categories.
And maybe I'm bias, but I prefer sorting the articles by categories first AND THEN looking at tags for particular post
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The great example of this is HyG's blog theme:
Again I thank you for this amazing project :)
Hey,
after uploading to github pages the tags & categories are not working.
both return a "404: Page not found" error
The theme changer is working fine in Desktop,Using the theme changer icon at the bottom of left menu bar.
But if we surf the Website in Smartphones the theme changer is not working.For the default the light theme is appearing and on pressing theme changer icon i m not getting the dark mode
Android 9.0
browser-- chrome
I have worked with this theme for a while and getting most features to work properly, however on the site http://pinnaclenetworking.com I cannot get http://pinnaclenetworking.com/tabs/HelpDesk to appear in the menu..... I'm not exactly sure why.... The sidebar page seems to look for the tab folder and use what ever is there and lists them..... Is there a trick?
disqus:
comments: true # boolean type, the global switch for posts comments.
shortname: 'https-yaoqi17-github-io-1' # Fill with your Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
I fill this config, but disqus is unable to load. Would you give me a hand?
Hello. Thank you for providing a nice theme.
Everything works fine except one thing within the theme. One is the issue with categories.
I have read the readme file carefully, and have modified all the urls etc in the config.yml file to suit my github address.
And when I post something new, the category name I created is displayed correctly.
That is, 'https://(my_url)/tabs/categories/' works fine.
However, if I click on the generated category title, I get a 404 error page.
In other words, it doesn't connect to 'https://(my_url)/categories/(name_of_category)/'.
(There is no access to the 'Studying' category, too.)
I would really appreciate it if you could help me with this.
Thank you very much.
if we add more than 5 options in the menu bar the 6 option is Covering the social menu at the bottom.Could it be that the menu scroll down if there are more than 5 options in menu.For reference see the picture.
For example i m trying to add the contact option in the menu bar.....but it is covering the twitter icon
There should be a space between them
Thanks
Describe the bug
When I load the website at https://magedhelmy1.github.io/web/
everything is all over the place
To Reproduce
Steps to reproduce the behavior:
a) Git add .
b) git commit -am"..."
c) bash tools/init.sh
d) git push
Expected behavior
I am supposed to get something as similar as https://chirpy.cotes.info/
Screenshots
Desktop (please complete the following information):
This is in incognito mode
When running bash ./tools/run.sh on my Windows 10 within WSL Debian I get the following error:
jekyll 3.8.6 | Error: Liquid error (line 18): comparison of NilClass with String failed
Detailed info:
Liquid Exception: Liquid error (line 18): comparison of NilClass with String failed in tabs/categories.md
Regards,
Stefan
Hi, first thanks for sharing your work.
I'm trying to translate the date format, but it doesn't work, it remains in English.
build 完成后,中文标签和分类对应的文件夹是乱码的。
Is your feature request related to a problem? Please describe.
For posts that have < 200 chars first paragraphs, or posts with headings and bulleted points, or posts with headings and code snippets, current per-post content (i.e stripped excerpts) on home page get incomprehensible.
This is mainly because the current post content is take as {{ post.content | strip_html | truncate: 200 | replace: '&', '&' }}
in _layouts/home.html
.
Describe the solution you'd like
Use Jekyll {{ post.excerpt }}
syntax for getting the post summary: https://jekyllrb.com/docs/posts/#post-excerpts.
This would also allow use of excerpt_separator
in _config.yml
as needed.
Solution
In _layouts/home.html
line 18
<<< {{ post.content | strip_html | truncate: 200 | replace: '&', '&' }}
>>> {{ post.excerpt }}
I have tried and tested the solution at my personal site at github repo
Steps to reproduce
I just write a blog post and having the codes that luckily have the same format with category/tag definition line
---
categories: ['coding']
---
## I have a code example as below
[```]
blab blab categories: ['test', 'ok']
[```]
test.html
, ok.html
and coding.html
) generatedExpected behavior
Only one category coding.html
is generated.
Additional context
It also has an issue with category/tag name parsing, for example if the category in the code is
categories: ['test', 'ok'] },
a filenamed ok}.html
will be generated
Suggestion
I think we should check and parse categories/tags from first ten (or few) lines or content inside 2 ---
lines?
I want the numbers the time post has been viewed ?
If i am not wrong you provided a GA pageviews feature .But didnt find a way how can i enable the feature
This is on your website --
Currently this is on website --
Here is my website 0xprashant.github.io
If u need more information tell me
作者你好,
我准备借用你的模版弄个人博客,因为jekyll不是很熟练,所以请问能否加几个功能?
比如,
1: 首页底部统计整个网站的访问次数
2: 单篇文章的访问次数??
谢谢!
Hi!
I'm trying to customize the icon in the bottom left corner. I was playing with _config.yml
file, trying to uncomment LinkedIn link in the social:
part or simply removing twitter:
part from this config file.
Unfortunately nothing changed. Is it possible at all to replace some of those social website icons (buttons?) to something else or simply remove one of them?
Describe the bug
I am using Chirpy theme but, once I enter invalid URL, I get 404 page not formatted.
To Reproduce
Expected behavior
I would like to get the formatted 404 page.
Can we get a possibility in the configuration file to completely disable Dark Theme?
I know that we can remove it from CSS but having that option in Config file would be so much easier.
Thank you.
How can we include mathematical formulae's in the post?
Thank you
Hello! First of all I want say thank you for develop and share this template.
I created my own blog on www.virgul.co, when I follow Categories > click any category it redirect me to 404 page suddenly. But If I work on my local, It doesn't happend so everything is normal. Weird huh?
You can find my source code: https://github.com/virgulco/virgulco.github.io.git
Just tested the theme in local, and found the tags and categories button cannot be directed to the right page, but 404. Not quite familiar with Ruby. Hope the author can help to fix this issue.
The instructions in the readme say to
Go to the root of repo and run:
$ bundle install
I'm not very familiar with terminal, I don't know how to go to the root of a repo before running something.
Help please?
Also, consider updating the readme so that the instructions are a bit clearer.
subprocess.getoutput() cant not execute when the post contains Chinese character.
I am getting 404: Page not found whenever i try browsing any Category/* or tags/*
在 Mac 上运行 Jekyll serve,在本地查询预览。
点击 Categories 和 Tags 页面的内容找不到。
I have some problem for using your Jekyll theme chirpy. I forked your Repository and changed variable in _config.yml
url: 'https://eprj453.github.io'
eprj453 is my gibhub name. and added remote-theme variable like this
remote-theme: cotes2020/jekyll-theme-chirpy
then I accessed my GitHub.io and it worked.I can see and approach your demo post and my post at home(main page).But I can access to post with categories and tags. It raised 404 error.
I think I should built categories and tags in _config.yml or something else but can approach with categories and tag in your demo site, so it makes me confused.I search for google lots of time but I can’t find reasonable answer.
I hope your reply. thank you
I want to ask a quick question about the seo:
That is being add automatically by your script init.sh
In the post front matter.
How can i use the seo: for better seo of my site ??
What i need to specify in seo: row ?
Repeated blog post titles allows only the most recent blog post be shown
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to see both blog posts, regardless of title. If the setup of the blog posts' URLs were yyyy-mm-dd-title
, this problem might be avoided.
Additional context
Not sure if I should have posted under Bug Report - sorry if this is a repost.
Hi, it is really awesome repository, thx to all who contributed and developed.
I just wondering how I can make it multilanguage website? It does not necessary for translation all components like layout etc. I just want to do share my posts in different languages.
Is it possible? Any suggestion?
Is your feature request related to a problem? Please describe.
When writing blog posts, I find it useful to arrange posts file (*.md) in appropriate subfolders. This helps in keeping posts and associated files together for easy maintenance.
E.g: If I am writing a post about python and I have a few python files which I would like to include as code snippets via liquid syntax, I find it maintainable to keep all such python posts and files in subdirectories as _posts/python/
.
If we do this currently; pages, categories and tags of _posts
folder are populated but not from subfolders.
Describe the solution you'd like
Pages, categories and tags of _posts
folder and any subdirectories are populated.
Describe alternatives you've considered
We can run the build python scripts (init/run/build, etc) per directory as explicit input, but doing this for multiple such directories becomes problematic.
Possible solution
<<< path = os.path.join(POSTS_PATH, "*.md")
>>> path = os.path.join(POSTS_PATH, "**", "*.md")
<<< for file in glob.glob(os.path.join(path, '*.md')):
>>> for file in glob.glob(os.path.join(path, '**', '*.md')):
I have tried and tested the solution at my personal site at github repo
Hi, I can't see last posts info column on my right side pannel, what's wrong? I run bash init.sh already.
My repo: https://github.com/virgulco/virgulco.github.io Live: https://virgul.co
Thank you for your kindly support.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.