tocttou / hacker-blog Goto Github PK
View Code? Open in Web Editor NEWHacker-Blog is a minimalistic, responsive jekyll theme built for hackers. https://ashishchaudhary.in/hacker-blog
License: Creative Commons Zero v1.0 Universal
Hacker-Blog is a minimalistic, responsive jekyll theme built for hackers. https://ashishchaudhary.in/hacker-blog
License: Creative Commons Zero v1.0 Universal
Generating...
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:432: warning: Passing the keyword argument as the last hash parameter is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:75: warning: The called method merge_data!' is defined here /home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:439: warning: Passing the keyword argument as the last hash parameter is deprecated /home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:75: warning: The called method
merge_data!' is defined here
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/tags/include.rb:179: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/tags/include.rb:179: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/tags/include.rb:179: warning: Using the last argument as keyword parameters is deprecated
/home/web/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/tags/include.rb:179: warning: Using the last argument as keyword parameters is deprecated
If the current year does not have any posts, the previous year's posts are shown as current year's post incorrectly.
How can I display blog posts according to month and not year?
Adding gems globally is sometimes done for gem install jekyll
. But should really be avoided for other gems. So I'm recommending a controlled local environment with Gemfile.
Your local install docs require multiple install commands with gem install
. This makes it hard to maintain and also the versions you install will not necessarily be the ones on GH Pages. e.g. GH Pages uses 1.2.3 of a gem and the latest you end up installing is 4.5.6
This is particularly important for Jekyll - GH Pages uses Jekyll 3 but you would install Jekyll 4.
Follow the pattern from this approach and you'll see Gemfile created.
jekyll new my-blog
Use approach like this file. Including two gems below Jekyll 3 which allow 3.9 support and Ruby 3 support.
https://github.com/MichaelCurrin/jekyll-blog-demo/blob/master/Gemfile#L3-L11
And then add to docs as:
bundle config set --local path vendor/bundle
bundle install
And ignore vendor
in .gitignore
i try to use this theme with jekyll(4.0.0).
but when build jekyll serve
, it's occured error.
1: from /Users/vikke/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:58:in `block in require_with_graceful_fail'
/Users/vikke/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:73:in `rescue in block in require_with_graceful_fail': jekyll-sitemap (Jekyll::Errors::MissingDependencyException)
i installed jekyll-sitemap.
[master]$ gem list | grep jekyll
jekyll (4.0.0)
jekyll-feed (0.13.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.0.1)
jekyll-seo-tag (2.6.1)
jekyll-sitemap (1.4.0)
jekyll-watch (2.2.1)
help me please.
I am using this theme for my blog. I am planning to add google analytics on it. I've added my google analytic id to my _config.yml
as mentioned in configuration-variables section.
Do I need to do anything else like making a new page called _include/analytic.html
as mentioned in google-analytics-ghpages.html or google-analytics-jekyll/ blog post?
Hey. I'm a bit new to this whole jekyll thing, but I noticed you didn't include what to write into the Gemfile and Config to apply this theme to your site. With other themes, such as Hacker, you can write "gem: jekyll-theme-hacker" into Gemfile and then run "bundle install" in the command prompt to add the theme to your site. How do I the same with the hacker blog theme?
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.