/ynjxsjmh.github.io

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Table of Contents

Introduction

Fork from qiubaiying.github.io

---
layout:     post
title:      
subtitle:
date:       2020-02-29 13:26
updated:    last updated time
author:     
header-img: img/post-default-bg.jpg
category:   []
tags:       []
link:       转载连接
type:       markdown(default) | asciidoc | readtheorg | thought
toc:        Designed for asciidoc. If you use `toc:left` in asciidoc, fill it with `left`. Otherwise, you don't need to define this value.
pin:        true/false
---

Tips for customization

Some files have a minified version, which is used by default. If you modify something in non-minified file and find it is not working as you expect, please check if you modify the corresponding minified file.

https://jekyllrb.com/docs/ruby-101/

Liquid Introduction

├── _config.yml: Variables

├── _layouts: https://www.jekyll.com.cn/tutorials/convert-site-to-jekyll/#how-layouts-work

│ └── default.html

└── index.html: https://jekyllrb.com/docs/pagination/

Possible Error

Liquid Exception: Liquid syntax error (line **): Variable '{{1,2,3}' was not
 properly terminated with regexp: /\}\}/ in ...

imathis/octopress#466

Replace {{ with { { and }} with } }

Tips for myself

Under blog sourcecode folder, run jekyll serve or jekyll s in cmd then browse http://127.0.0.1:4000/ to preview the changes.

Further work


Plugins

Jekyll without plugins

Jekyll Plugins | Find Plugins for Jekyll Blogs

planetjekyll/awesome-jekyll-plugins - https://planetjekyll.github.io/plugins/top

More themes

Except Jekyll. there exist a bunch of blog frameworks for you to choose:

Want more?

Here list some blog themes I admire

Every theme from Mark Otto, the creator of Bootstrap, is worth reading. The most popular theme - lanyon developed by him is used by Emacs guru Oleh Krehel (AKA abo-abo).