bitbrain / jekyll-dash Goto Github PK
View Code? Open in Web Editor NEW馃寬 Light and dark blog theme for Jekyll, inspired by Dash UI for Atom.
Home Page: https://bitbra.in
License: Apache License 2.0
馃寬 Light and dark blog theme for Jekyll, inspired by Dash UI for Atom.
Home Page: https://bitbra.in
License: Apache License 2.0
Can I use it like Avatar1.png in Dark Theme and Avatar2.png in Light Theme?
Oh, and the automatic distribution of the blog I asked last time worked well
Thanks :D
When releasing a new version of this theme I manually have to re-run my blog to apply the latest changes. Find a way to automatically trigger a build when a new theme version is available.
Describe the solution you'd like
There is an interesting solution mentioned here https://github.community/t/triggering-by-other-repository/16163 however, this seems to be based on Github tokens and I need a solution that is available to everyone.
If anyone has any ideas on how to achieve this, that's appreciated. Also, if you want to learn how Jekyll Dash is currently getting released, read up on this article I have written: https://bitbra.in/2021/10/05/workflow-of-releasing-gem-based-jekyll-theme.html
When I run jekyll serve localy, I get the following error:
Liquid Exception: no implicit conversion of nil into String in /_layouts/post.html
jekyll 3.8.5 | Error: no implicit conversion of nil into String
I do not know much about ruby, but after some googling I found that something needs to be converted to a string, however I do not know what.
The header variables I assigned to a post are:
---
layout: "post"
title: "A Programmer stuck in a rut"
author: "Zanark"
tags : Tips
---
Can you please help me out with this, I am unable to find a solution for this.
The code in /_layouts/post.html is exactly the same as the one in the repository on master branch
Right now the dark theme is not default. Additionally, the toggle shows the wrong state initially.
This is the repository: https://github.com/SRA-VJTI/sra-vjti.github.io/
Whenever I push with the following file name: 2020-12-11-singularity-ros-melodic.md
(in /_posts), then the github actions build will generate this page, if I rename it to 2020-12-12-singularity-ros-melodic
, it fails to generate this page and commit to gh-pages.
Tested it locally using bundle exec jekyll serve
works fine
first of all, im pretty new to jekyll. i've played around with it the last couple of days. i tried to install this theme, but no posts are showing up. i did a made a new fresh site with the default theme just to make sure nothing was wrong from my side - and the (first original) post shows up, then i install the theme, and i see "no posts yet.". as this was a new install im sure i didnt change anything to make them disappear, but do i need to make any change for them to show? i also want to add that the post is in the _site-folder, which makes it even more strange in my eyes.
this is on my computer, but im gonna use it on my vps when i get it working. so its not on github pages, if that does matter
Based on this tutorial we can also support a light theme. By default, jekyll-dash
should stay dark but through a new configuration property the default can be changed:
dash:
toggle: false
If the user has forgotten to setup pagination, just show all posts at once.
@include font('Varela Round', '/assets/fonts/VarelaRound-Regular');
Seems here need a subpath
to config it
Currently, when sharing blogposts made with this theme on social media (such as Twitter) there is no preview available:
Describe the solution you'd like
Generate a preview for the page based on either the profile avatar or some other preview? To be discussed.
I can get the tags to show up, but when I click on them, it brings me to my 404 page.
Just running it locally for testing
I have problem when I run "bundle" command. Please help me!
Thanks
Your Gemfile lists the gem jekyll-dash (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once (per group).
While it's not a problem now, it could cause errors if you change the version of one of them later.
[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice coming from different sources.
You specified that jekyll-dash (>= 0) should come from an unspecified source and source at `.`
. Bundler cannot continue.
# from /../hqcthunders.github.io/Gemfile:8
# -------------------------------------------
#
> gemspec
# -------------------------------------------
The README currently does not really suggest what exact features this theme offers. Improve the wording and structure of the README.md
to highlight those.
Can you please help me with the tags? I am not able to figure out that how to make tags visible.
Hi,
I have problem when I push to master branch. Please help me!
Thanks
The page build completed successfully, but returned the following warning for the
master` branch:
You are attempting to use a Jekyll theme, "jekyll-dash", which is not supported by GitHub Pages. Please visit https://pages.github.com/themes/ for a list of supported themes. If you are using the "theme" configuration variable for something other than a Jekyll theme, we recommend you rename this variable throughout your site. For more information, see https://help.github.com/en/github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll.
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds`
@bitbrain I cannot embed the telegram comments for the website. Not shown in any way .. some ideas? 馃様
This is the code:
<script
async src="https://comments.app/js/widget.js?3"
data-comments-app-website="code-widget"
data-limit="40"
data-color="F95C54"
data-outlined="1"
data-colorful="1"
data-dark="1">
</script>
The theme doesnt work for github pages.
Both using version1 and version2
It just wont display anything
Right now we load all icons from the fontawesome website directly. Instead, use them as part of the theme and cache them.
Hi there !
why tags don't appere in my page ?
Right now the text has spaces on smaller screens.
Add quote icon like this next to quotes: https://fontawesome.com/icons/quote-right?style=solid
Hi, Its better to make images openable on click
If we have one image in our blog and we want it to be open in full screen when we click on it so it would be better for user to view image clearly.
Thank you
Hi
i don't have full features when i want to set the text direction for my blog posts to right to left(RTL) using:
<div dir="rtl">
i can set the text direction to RTL but the design of posts are bad not like when i write set the text direction to LTR
Describe the bug
When I compile with bundle exec jekyll serve everything just work fine, i have the issue when i push the repo, the tagging system doesn't work
I tried with jekyll 3 and 4 version, alse with 1 ans 2 version of the theme.
Hi, I'm newbie in the Jekyll. I forked the project (https://github.com/carlosgasa/jekyll-dash) and send to Github pages without make changes, so the problem is that the tags are not showing, you can see the page in the https://carlosgasa.github.io/jekyll-dash
Any response about this?
Describe the bug
When trying to serve the site locally, it runs into an error - C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.1/lib/jekyll/commands/serve/servlet.rb:3:in 'require': cannot load such file -- webrick (LoadError)
To Reproduce
Steps to reproduce the behavior:
bundle install
bundle exec jekyll serve
Expected behavior
The server should build the site and serve it.
Desktop:
Additional context
Seems to be fixed by bundle add webrick
Hi.
I have some issues with installing jekyll-dash
. I create new fresh blog using jekyll new something
. After that I try to add gem "jekyll-dash"
to my gemfile. Then I try to run this command bundle
. But gives me errors.
$ bundle
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "jekyll":
In snapshot (Gemfile.lock):
jekyll (= 4.1.1)
In Gemfile:
jekyll (~> 4.1.1)
jekyll-dash was resolved to 1.3.4, which depends on
jekyll (~> 3.5)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
I tried bundle update
and some google stuff but did not work. I can't continue installation. any help would be great.
My System:
If you use quotes by 1 line size the result is too much close to the next Paragraph or title
no problem with quotes more than 1 size big
https://imgur.com/a/OLYlWBM
Describe the bug
When using number bullets inside an indented block, it inserts an extra character that can't be viewed and shows a crossed box instead.
To Reproduce
Steps to reproduce the behavior:
Use the following content in a post -
> _References:_
>
> 1. _[https://book.hacktricks.xyz/pentesting-web/xss-cross-site-scripting/server-side-xss-dynamic-pdf](https://book.hacktricks.xyz/pentesting-web/xss-cross-site-scripting/server-side-xss-dynamic-pdf)_
> 2. _[https://www.noob.ninja/2017/11/local-file-read-via-xss-in-dynamically.html](https://www.noob.ninja/2017/11/local-file-read-via-xss-in-dynamically.html)_
The behavior can be observed at the bottom of this post - https://blog.dixitaditya.com/2020/10/09/leveraging-xss-to-read-internal-files.html
Expected behavior
There should not be extra character according to the markdown.
Desktop (please complete the following information):
Right now, clicking a link results flickering and the entire page re-rendering.
Introduce a new option in this theme:
dash:
async: true
The default value of this can be decided while implementing it.
Use something like Jekyll-AJAX to implement this.
We are currently using TravisCI to publish new versions of the theme. That process is flawed for various reasons:
Implement two actions:
This is the repository: https://github.com/SRA-VJTI/sra-vjti.github.io/
Whenever I push with the following file name: 2020-12-11-singularity-ros-melodic.md
(in /_posts), then the github actions build will generate this page, if I rename it to 2020-12-12-singularity-ros-melodic.md
, it fails to generate this page and commit to gh-pages.
Tested it locally using bundle exec jekyll serve
works fine
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.