Hello Jekyll

  • Installation
  • bundler
  • Theme
  • Mathematics formula
  • Site map
  • Contents
  • REF

Today, Jekyll was finally successfully built on Github, although it is ugly, But because it is ugly customized by myself, I am still very happy.

In the future, I will beautify this blog slowly and output more knowledge.

Install

# in ubuntu you need install ruby ​​before you get gemsudo apt install rubygem install jekyll bundler# or in Ubuntu sudo apt install jekyll

bundler

bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.

theme

You can use bundle show View the folder where the theme is located. For example: bundle show minima.

math formula

Inline math:

site map

jekyll-sitemap The website address can be created automatically. The usage is as follows:

  1. Add gem'jekyll-sitemap' in Gemfile, and then run bundle
  2. Add the following content to the website _config.yml:
...plugins : - jekyll-sitemap

< /div>

directory

If Jekyll uses the kramdown engine, it will be easy. According to the blog of Sean Buscay, you only need to add the following code where you want to insert the directory:

< pre class="highlight">* TOC{:toc}

REF

  • jekyll homepage
  • Creating and Hosting a Personal Site on GitHub
  • KaTex in Jekyll

Original: Big Column Hello Jekyll

  • Installation
  • bundler
  • Theme
  • Mathematics formula
  • Site map
  • Contents
  • REF

I finally successfully built Jekyll on Github today. Although it is ugly, I am still very happy because it is ugly customized by myself.

In the future, I will beautify this blog slowly and output more knowledge.

Install

# in ubuntu you need install ruby ​​before you get gemsudo apt install rubygem install jekyll bundler# or in Ubuntu sudo apt install jekyll

bundler

bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.

theme

You can use bundle show View the folder where the theme is located. For example: bundle show minima.

math formula

Inline math:

site map

jekyll-sitemap The website address can be created automatically. The usage is as follows:

  1. Add gem'jekyll-sitemap' in Gemfile, and then run bundle
  2. Add the following content to the website _config.yml:
...plugins : - jekyll-sitemap

< /div>

directory

If Jekyll uses the kramdown engine, it will be easy. According to the blog of Sean Buscay, you only need to add the following code where you want to insert the directory:

< pre class="highlight">* TOC{:toc}

REF

  • jekyll homepage
  • Creating and Hosting a Personal Site on GitHub
  • KaTex in Jekyll
# in ubuntu you need install ruby ​​before you get gemsudo apt install rubygem install jekyll bundler# or in Ubuntusudo apt install jekyll

 # in ubuntu you need install ruby ​​before you get gemsudo apt install rubygem install jekyll bundler # or in Ubuntusudo apt install jekyll

...plugins: - jekyll-sitemap

< p>

...plugins: - jekyll-sitemap

* TOC{:toc}

* TOC{:toc}

< p>Reprint freely-non-commercial-non-derivative-keep the signature (Creative Commons 3.0 license)

Leave a Comment

Your email address will not be published.