Jekyll (first)
You don’t want a site that’s not really you. A site filled with social buttons and widgets and gadgets and analytics and tracking cookies and banner ads and pop-up ads and everything else that makes your visitors scream at you from afar. Generated anew every time someone visits your site. Every. Single. Time. - Building a blog with jekyll - [1]
Basics
- introduction
- Yes we Jekyll
- Mardown
- Jekyll: Markdown Basics
- quick-ref-jekyll-markdown.md
- How to force a linebreak? - two or more space at the end of the line.
Configuring Jekyll
Rouge higlightning
Youtube trick
embeded video
see Adding a Video to a GitHub
site images
external images
CSS properties can be added as html comments
excerp
Disable (default is first paragraph)
Custom
inline SVG
Advanced Formating
Link to post
- Controlling URLs and Links in Jekyll
- Jekyll heading links - javascript for generating MFragment URLs
favicon
Colored text
Strike throudh
There are several ways to do it:
<strike>strike</strike>
→strike<del>strike</del>
→strike<s>strike</s>
→strike~~strike~~
→strike~strike~-
→ ~strike~
Latex Formula
add use_math: true
Example:
- $h_\theta(x) = \Large\frac{1}{1 + \mathcal{e}^{(-\theta^\top x)}}$
- $a^2 + b^2 = c^2$
- $\sum_{i=1}^m y^{(i)}$
Folding content
Table
Theme
- Link Color Switcher - give user Theme control - not implemented yet
Other
- How to insert the last updated time-stamp in Jekyll page at build time? - using _data/mtimes.json (see Data Files)
- How do I customize Jekyll theme for a single page in GitHub pages?
The easiest way would be to just define a new layout for your help.md
- Create a copy of the layout currently used by help.md (say, page.html)
- Rename the new layout as help.html (path: _layouts/help.html)
- Remove markup that renders the large hero header
Use layout: help in the front matter of help.md:
Diagnosing on Github
Go to repository and look into Actions
Traffic ?
Rotten Link
Run locally and use Xenu’s Link Sleuth (through Wine).
Running Jekyll locally
- install
- Obsolete Not compatible with Ruby 3.0 - use ruby 2.7
- Liquid Exception comparison of Array with Array failed #406
And copy Gemfile* into Github blog Now you can run
Online Editor
see also:
- Github Jekyll help
- Jekyll Plugins on GitHub
- How do I configure GitHub to use non-supported Jekyll site plugins?
- List of plugin available on Github
- How to embed a video into GitHub README.md?
Liquid
Jekyll uses the Liquid templating language to process templates. All of the standard Liquid tags and filters are supported.
Escape Liquid tags in Jekyll using {{ “{{“ }} site.title }} trick or use raw.
inlined comment on doc side only
Alternatives
see also